diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-18 14:08:33 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-18 14:08:33 +0300 |
commit | c9ca0a32745a43eaa6cb6b7b460718de8ccb84f2 (patch) | |
tree | 2b4bdf035b3a3c0436ce823e137d969af4d3a06f /include | |
parent | 56244736ec7d0a3c338f542204aae83fb0200346 (diff) |
mount: recognize "dirsync" (closes bug 835)
mount: sanitize environ if called by non-root
*: adjust for slightly different sanitize routine
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index 2af89df95..a91eac466 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -684,8 +684,8 @@ enum { #endif void bb_daemonize_or_rexec(int flags, char **argv); void bb_sanitize_stdio(void); -/* Clear dangerous stuff, set PATH */ -void sanitize_env_for_suid(void); +/* Clear dangerous stuff, set PATH. Return 1 if was run by different user. */ +int sanitize_env_if_suid(void); extern const char *opt_complementary; |