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-w32-52816302299854ba1644fce98b5d19db526e6c29.tar.gz busybox-w32-52816302299854ba1644fce98b5d19db526e6c29.tar.bz2 busybox-w32-52816302299854ba1644fce98b5d19db526e6c29.zip |
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 { | |||
623 | #endif | 623 | #endif |
624 | void bb_daemonize_or_rexec(int flags, char **argv); | 624 | void bb_daemonize_or_rexec(int flags, char **argv); |
625 | void bb_sanitize_stdio(void); | 625 | void bb_sanitize_stdio(void); |
626 | /* Clear dangerous stuff, set PATH */ | ||
627 | void sanitize_env_for_suid(void); | ||
626 | 628 | ||
627 | 629 | ||
628 | extern const char *opt_complementary; | 630 | extern const char *opt_complementary; |