Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
Do a sweep and remove most WARNS=6 settingsRepeating the default WARNS here makes it slightly more difficult toexperiment with default WARNS changes, e.g. if we did something absolutelybananas an
Do a sweep and remove most WARNS=6 settingsRepeating the default WARNS here makes it slightly more difficult toexperiment with default WARNS changes, e.g. if we did something absolutelybananas and introduced a WARNS=7 and wanted to try lifting the default tothat.Drop most of them; there is one in the blake2 kernel module, but I suspectit should be dropped -- the default WARNS in the rest of the build doesn'tcurrently apply to kernel modules, and I haven't put too much thought intowhether it makes sense to make it so.
show more ...
Test for EPROTOTYPE not EPROTONOSUPPORT- `SOCK_RAW` is the implied supported type parameter for socket(2) per route(4)- localsw in `sys/kern/uipc_usrreq.c` doesn't have an entry for `SOCK_RAW`, so
Test for EPROTOTYPE not EPROTONOSUPPORT- `SOCK_RAW` is the implied supported type parameter for socket(2) per route(4)- localsw in `sys/kern/uipc_usrreq.c` doesn't have an entry for `SOCK_RAW`, so the prototype is invalid (this isn't explicitly documented anywhere I could find)MFC after: 1 weekSponsored by: EMC / Isilon Storage Division
- Garbage collect argc/argv (-Wunused)- Bump WARNS to 6MFC after: 1 weekSponsored by: EMC / Isilon Storage Division
NO_MAN= has been deprecated in favor of MAN= for some time, go aheadand finish the job. ncurses is now the only Makefile in the tree thatuses it since it wasn't a simple mechanical change, and will
NO_MAN= has been deprecated in favor of MAN= for some time, go aheadand finish the job. ncurses is now the only Makefile in the tree thatuses it since it wasn't a simple mechanical change, and will beaddressed in a future commit.
o style.Makefile(5): WARNS= -> WARNS?=.
Add a simple regression test that creates and tears down route sockets,and confirms that only SOCK_RAW works with socket(), and nothing workswith socketpair().