aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-11-06 05:26:51 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-11-06 05:26:51 +0000
commit52816302299854ba1644fce98b5d19db526e6c29 (patch)
tree7ddd6080d6a9fca759227b184dcc445d5376a075 /include
parent6bef3d1d2216234454875052220ca0f477a820b4 (diff)
downloadbusybox-52816302299854ba1644fce98b5d19db526e6c29.tar.gz
busybox-52816302299854ba1644fce98b5d19db526e6c29.tar.bz2
login: clear dangerous environment variables if started by non-root
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
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;