CVSROOT: /cvs Module name: src Changes by: [email protected] 2016/04/02 13:55:10
Modified files:
usr.sbin/syslogd: privsep.c syslogd.c ttymsg.c
Log message:
Eliminate superfluous 3rd params in fcntl(F_GETFL) calls.
ttymsg.c doesn't need to include fcntl.h.
Tweak standard fd sanitising to be more like the sanitise_stdfd()
used elsewhere, though other uses of 'nullfd' make importing
sanitise_stdfd() itself unappetizing.
Add a die(0) if dup2() fails.
suggestions & ok bluhm@
