su: expand help; simplify passing of -c CMD to run_shell()
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 3 Nov 2016 21:13:08 +0000 (22:13 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 3 Nov 2016 21:13:08 +0000 (22:13 +0100)
commit79e2598c48ad7e41d523f62368454c7d74f48268
treeb061ea33e433dcd509a99dc9726251f2e0f785e5
parent2b288236e80938d29324072a823f46861bd07cd3
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>
include/libbb.h
libbb/executable.c
libbb/run_shell.c
loginutils/login.c
loginutils/su.c
loginutils/sulogin.c