openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup code
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 19 Jan 2007 21:19:35 +0000 (21:19 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 19 Jan 2007 21:19:35 +0000 (21:19 -0000)
commit9af7c9d6b62ceb07a9ba24cee0cf4a08c689235e
tree69a650a8cd686f21087fc572a995420b6ac632cc
parentf8c11aa65df2af4ab20c0effc42997bbd7357cc3
openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup code
(will close all fd's > 2 on daemonization now)
getty: fix "getty -" support, and also do not try to chown/chmod "-"
telnetd: fix "lost ctty" bug
Yet another attempt on saner function names:
bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize();
15 files changed:
console-tools/openvt.c
debianutils/start_stop_daemon.c
include/libbb.h
libbb/vfork_daemon_rexec.c
libbb/xfuncs.c
loginutils/getty.c
miscutils/setsid.c
networking/fakeidentd.c
networking/inetd.c
networking/isrv_identd.c
networking/telnetd.c
networking/zcip.c
shell/hush.c
shell/lash.c
util-linux/mount.c