projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c418f48
)
sulogin: Dorp incorrect comment about suid-ness
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 30 Mar 2016 14:49:13 +0000
(16:49 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 30 Mar 2016 14:50:19 +0000
(16:50 +0200)
Sulogin is not a suid app, should fail if run by non-root.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
loginutils/sulogin.c
patch
|
blob
|
history
diff --git
a/loginutils/sulogin.c
b/loginutils/sulogin.c
index 19b1e304cb4d3f4ad5d05294f61d5d9c089613ab..d2ac1f65d38dfb5c61342c2140537ddf19553c1d 100644
(file)
--- a/
loginutils/sulogin.c
+++ b/
loginutils/sulogin.c
@@
-12,7
+12,6
@@
//config: sulogin is invoked when the system goes into single user
//config: mode (this is done through an entry in inittab).
-//applet:/* Needs to be run by root or be suid root - needs to change uid and gid: */
//applet:IF_SULOGIN(APPLET(sulogin, BB_DIR_SBIN, BB_SUID_DROP))
//kbuild:lib-$(CONFIG_SULOGIN) += sulogin.o