diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-06 05:26:51 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-11-06 05:26:51 +0000 |
commit | 52816302299854ba1644fce98b5d19db526e6c29 (patch) | |
tree | 7ddd6080d6a9fca759227b184dcc445d5376a075 /include | |
parent | 6bef3d1d2216234454875052220ca0f477a820b4 (diff) | |
download | busybox-52816302299854ba1644fce98b5d19db526e6c29.tar.gz |
login: clear dangerous environment variables if started by non-root
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 77c678cee..f79d80d7f 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -623,6 +623,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); extern const char *opt_complementary; |