diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-03 22:13:08 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-03 22:13:08 +0100 |
commit | 79e2598c48ad7e41d523f62368454c7d74f48268 (patch) | |
tree | b061ea33e433dcd509a99dc9726251f2e0f785e5 /loginutils/login.c | |
parent | 2b288236e80938d29324072a823f46861bd07cd3 (diff) |
su: expand help; simplify passing of -c CMD to run_shell()
Also, added a comment about bug 9401 (TIOCSTI input injection).
function old new delta
packed_usage 30909 30932 +23
su_main 470 487 +17
sulogin_main 260 258 -2
run_applet_and_exit 681 678 -3
run_shell 166 126 -40
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils/login.c')
-rw-r--r-- | loginutils/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/login.c b/loginutils/login.c index 94b6c45db..52abc1886 100644 --- a/loginutils/login.c +++ b/loginutils/login.c @@ -618,7 +618,7 @@ int login_main(int argc UNUSED_PARAM, char **argv) signal(SIGINT, SIG_DFL); /* Exec login shell with no additional parameters */ - run_shell(pw->pw_shell, 1, NULL, NULL); + run_shell(pw->pw_shell, 1, NULL); /* return EXIT_FAILURE; - not reached */ } |