diff options
author | Denis Vlasenko | 2008-02-18 11:08:33 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-02-18 11:08:33 +0000 |
commit | c9ca0a32745a43eaa6cb6b7b460718de8ccb84f2 (patch) | |
tree | 2b4bdf035b3a3c0436ce823e137d969af4d3a06f /loginutils/sulogin.c | |
parent | 56244736ec7d0a3c338f542204aae83fb0200346 (diff) | |
download | busybox-c9ca0a32745a43eaa6cb6b7b460718de8ccb84f2.zip busybox-c9ca0a32745a43eaa6cb6b7b460718de8ccb84f2.tar.gz |
mount: recognize "dirsync" (closes bug 835)
mount: sanitize environ if called by non-root
*: adjust for slightly different sanitize routine
Diffstat (limited to 'loginutils/sulogin.c')
-rw-r--r-- | loginutils/sulogin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/sulogin.c b/loginutils/sulogin.c index faa93ea..3a1a8e9 100644 --- a/loginutils/sulogin.c +++ b/loginutils/sulogin.c @@ -49,7 +49,7 @@ int sulogin_main(int argc, char **argv) } /* Clear dangerous stuff, set PATH */ - sanitize_env_for_suid(); + sanitize_env_if_suid(); // bb_askpass() already handles this // signal(SIGALRM, catchalarm); |