start_stop_daemon: NOMMU fix; smaller fixes

This commit is contained in:
Denis Vlasenko
2007-07-31 17:09:44 +00:00
parent f1f1b69dc1
commit a1b16f4d5c
3 changed files with 52 additions and 39 deletions

View File

@ -573,7 +573,7 @@ int run_nofork_applet_prime(struct nofork_save_area *old, const struct bb_applet
*/
enum {
DAEMON_CHDIR_ROOT = 1,
DAEMON_DEVNULL_STDIO = /* 2 */ 0, /* no users so far */
DAEMON_DEVNULL_STDIO = 2,
DAEMON_CLOSE_EXTRA_FDS = 4,
DAEMON_ONLY_SANITIZE = 8, /* internal use */
};