From 52816302299854ba1644fce98b5d19db526e6c29 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 6 Nov 2007 05:26:51 +0000 Subject: login: clear dangerous environment variables if started by non-root --- include/libbb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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; -- cgit v1.2.3