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
show more ...
- 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().