aboutsummaryrefslogtreecommitdiff
path: root/loginutils/su.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-07-03 10:07:04 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-07-03 10:07:04 +0000
commit058ac4543d7d9b3acec3dd992df07d460484742e (patch)
treee8f993dffc34380fbcc54cc858c81da594bdb95b /loginutils/su.c
parent6b9670aadfe6d16099d630f89862239bb0c59e7c (diff)
downloadbusybox-w32-058ac4543d7d9b3acec3dd992df07d460484742e.tar.gz
busybox-w32-058ac4543d7d9b3acec3dd992df07d460484742e.tar.bz2
busybox-w32-058ac4543d7d9b3acec3dd992df07d460484742e.zip
Patch from Russell Coker:
I've attached my latest SE Linux patch for busybox against the latest CVS version of busybox. git-svn-id: svn://busybox.net/trunk/busybox@7031 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'loginutils/su.c')
-rw-r--r--loginutils/su.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/loginutils/su.c b/loginutils/su.c
index 5e40cf2e4..85f5cbe7b 100644
--- a/loginutils/su.c
+++ b/loginutils/su.c
@@ -156,7 +156,11 @@ int su_main ( int argc, char **argv )
156 156
157 change_identity ( pw ); 157 change_identity ( pw );
158 setup_environment ( opt_shell, opt_loginshell, !opt_preserve, pw ); 158 setup_environment ( opt_shell, opt_loginshell, !opt_preserve, pw );
159 run_shell ( opt_shell, opt_loginshell, opt_command, (const char**)opt_args ); 159 run_shell ( opt_shell, opt_loginshell, opt_command, (const char**)opt_args
160#ifdef CONFIG_SELINUX
161 , 0
162#endif
163 );
160 164
161 return EXIT_FAILURE; 165 return EXIT_FAILURE;
162} 166}