Remove residual blank line at start of MakefileThis is a residual of the $FreeBSD$ removal.MFC After: 3 days (though I'll just run the command on the branches)Sponsored by: Netflix
usr.sbin: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.
usr.sbin: Automated cleanup of cdefs and other formattingApply the following automated changes to try to eliminateno-longer-needed sys/cdefs.h includes as well as now-emptyblank lines in a row.Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/Remove /\n+#if.*\n#endif.*\n+/Remove /^#if.*\n#endif.*\n/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/Sponsored by: Netflix
show more ...
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
Remove "extern" from function prototypes, and fix some (but not all)style(9) violations.MFC after: 1 week
Remove casts from {c,m,re}alloc() and simplify sizeof().MFC after: 1 week
#include the right header so we get prototypes for our own functions.MFC after: 1 week
Further #include cleanup.MFC after: 1 week
Provide correct prototypes for functions with no arguments.MFC after: 1 week
Replace malloc() + memset() with calloc. This corrects a misuse ofmemset() as a side effect.
If perform-actual-lookups is enabled, getservbyname() matches an entryeven when proto is not valid.Submitted by: Michael Bushkov <bushman__at__rsu.ru>
- Extend the nsswitch to support Services, Protocols and Rpc databases.- Make nsswitch support caching.Submitted by: Michael Bushkov <bushman__at__rsu.ru>Sponsored by: Google Summer of Code 2005