NetBSD/usr.sbin/syslogd
uwe b983a092c6 syslogd: make -d accept an optional argument
Make it possible to specify the debug message categories with an
optional numeric argument.  You'll have to read the fine source to
find out what they are.  The number can be specified as the usual
decimal, hex (0x), or octal (0) literal with an optional ~negation.

Since syslogd uses getopt(3), not getopt_long(3), do a bit of
gymnastics so that both -d42 and -d 42 are accepted (I'm not inventing
long names for all the existing options just to support an optional
argument to -d).

-d without an argument still uses the old D_DEFAULT selection just in
case someone really relies on that.  You can disable all debug
messages with -d0 but still get syslogd not daemonized.
2022-11-08 01:43:09 +00:00
..
Makefile Add blocklist support to libwrap which enables all programs using libwrap 2021-03-07 15:09:12 +00:00
extern.h
howto.html
index.html
pathnames.h
sign.c sign.c: mark a variable used only in asserts as __diagused 2022-11-08 01:03:27 +00:00
sign.h usr.sbin: remove unnecessary CONSTCOND, lint no longer needs it 2021-11-27 22:30:25 +00:00
sign.html
syslog.conf.5 s/optons/options/ 2021-09-01 13:44:02 +00:00
syslogd.8 syslogd: make -d accept an optional argument 2022-11-08 01:43:09 +00:00
syslogd.c syslogd: make -d accept an optional argument 2022-11-08 01:43:09 +00:00
syslogd.h usr.sbin: remove unnecessary CONSTCOND, lint no longer needs it 2021-11-27 22:30:25 +00:00
tls.c tls.c: wrap debug-only data in #ifndef NDEBUG 2022-11-08 01:05:10 +00:00
tls.h