[git commit] sulogin: Dorp incorrect comment about suid-ness
Denys Vlasenko
vda.linux at googlemail.com
Wed Mar 30 14:50:19 UTC 2016
commit: https://git.busybox.net/busybox/commit/?id=8ac6effb029f1fe4f620e061c1b62c4721f41491
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Sulogin is not a suid app, should fail if run by non-root.
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
loginutils/sulogin.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/loginutils/sulogin.c b/loginutils/sulogin.c
index 19b1e30..d2ac1f6 100644
--- 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
More information about the busybox-cvs
mailing list