aboutsummaryrefslogtreecommitdiff
path: root/tools/build/test-includes/badfiles.inc
Commit message (Collapse)AuthorAgeFilesLines
* netinet: Make in_systm.h self-containedMark Johnston2025-05-031-1/+0
| | | | | PR: 286539 MFC after: 3 days
* bpf: Make bpf.h self-containedMark Johnston2025-05-031-1/+0
| | | | | PR: 286539 MFC after: 3 days
* test-includes: Make sure we test against in-tree headersMark Johnston2025-04-101-17/+0
| | | | | | | Regenerate badfiles.inc as well. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D49736
* tcp: remove support for TCPPCAPMichael Tuexen2025-03-311-1/+0
| | | | | | | | | | | | | | | This feature could be used to store the last sent and received TCP packets for a TCP endpoint. There was no utility to get these packets from a live system or core. This functionality is now provided by TCP Black Box Logging, which also stores additional events. There are tools to get these traces from a live system or a core. Therefore remove TCPPCAP to avoid maintaining it, when it is not used anymore. Reviewed by: rrs, rscheff, Peter Lei, glebiu Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D49589
* MAC: mac.h: Separately test inclusion from userspaceOlivier Certner2024-12-161-1/+0
| | | | | | | | Reviewed by: jamie Approved by: markj (mentor) MFC after: 5 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D46897
* sys: Avoid relying on pollution from refcount.hMark Johnston2024-11-051-1/+0
| | | | | | | | | | Fix up headers which previously assumed that refcount.h includes systm.h, and make them more self-contained. Then, replace the systm.h include in refcount with kassert.h. Reviewed by: imp, kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D47450
* test-includes: temporarily add back net/pfvar.hWarner Losh2022-02-241-0/+1
| | | | | | | | net/pfvar.h is installed unconditionally, but depends on files that are installed conditionally. Until that can be sorted out, temporarily add this back to badfiles.inc to cope with MK_PF=no failing. Sponsored by: Netflix
* net/if_pfsync.h: Add back to bad filesWarner Losh2022-01-071-0/+1
| | | | | | | | This file does not build for WITHOUT_PF sometimes. Looking at various ways to cope (it exposes other issues too), but in the mean time just add it back here to unbreak WITHOUT_PF in some scenarios. Sponsored by: Netflix
* headers: make a few more headers self-containedKristof Provost2022-01-031-4/+0
| | | | Sponsored by: Rubicon Communications, LLC ("Netgate")
* test-includes: update badfiles.incKristof Provost2021-12-171-15/+0
| | | | | | | Rebuild badfiles.inc after recent fixes. Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D33506
* Test various header files to ensure they can be included by themselves.Warner Losh2021-12-151-0/+343
A number of header files in sys/* have, going back to 7th Edition Unix in 1979, reqiured other files (like sys/types.h) to compile. Likewise the 4BSD networking code has had prerequisites. However, going back to around the turn of the 21st century, other systems have made them be independently include-able (wide-spread header include protection post-dates 7th edition Unix by maybe 3 or so years judging from USENET source postings). Start down the path of making them all independently include-able by creating this test that fails buildworld when they are not. The file 'badfiles.inc' contains a list of the currently broken files that cannot be included w/o any prerequisites. As files are fixed, 'make badfiles.inc' should be re-run to remove them from the list. Note: All files that start with an underscore are considered internal and not tested. Please note: once a file is removed from badfiles.inc, it must pass on all architectures. Buildworld through at least the _includes target is needed to ensure its working (though a buildkernel should also be done on all architectures as well). Sponsored by: Netflix Reviewed by: brooks, markj Differential Revision: https://reviews.freebsd.org/D32498