summaryrefslogtreecommitdiff
path: root/loginutils/deluser.c
diff options
context:
space:
mode:
authorDenys Vlasenko2017-08-07 00:28:15 +0200
committerDenys Vlasenko2017-08-07 00:28:15 +0200
commit7b8372b81926ef6aa8d91945a95261bbb93d0b9e (patch)
tree9a125f00f6dc2c324e24c7f1bb2952ae78a1165a /loginutils/deluser.c
parentbfc66d49806a4305014b12bbe078484b2da6f93f (diff)
downloadbusybox-7b8372b81926ef6aa8d91945a95261bbb93d0b9e.zip
busybox-7b8372b81926ef6aa8d91945a95261bbb93d0b9e.tar.gz
add/remove-shell,add/deluser,add/delgroup: make them NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils/deluser.c')
-rw-r--r--loginutils/deluser.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/loginutils/deluser.c b/loginutils/deluser.c
index 3b6bd95..f5bc3c2 100644
--- a/loginutils/deluser.c
+++ b/loginutils/deluser.c
@@ -28,8 +28,9 @@
//config: If called with two non-option arguments, deluser
//config: or delgroup will remove an user from a specified group.
-//applet:IF_DELUSER(APPLET(deluser, BB_DIR_USR_SBIN, BB_SUID_DROP))
-//applet:IF_DELGROUP(APPLET_ODDNAME(delgroup, deluser, BB_DIR_USR_SBIN, BB_SUID_DROP, delgroup))
+// APPLET_NOEXEC:name main location suid_type help
+//applet:IF_DELUSER( APPLET_NOEXEC(deluser, deluser, BB_DIR_USR_SBIN, BB_SUID_DROP, deluser))
+//applet:IF_DELGROUP(APPLET_NOEXEC(delgroup, deluser, BB_DIR_USR_SBIN, BB_SUID_DROP, delgroup))
//kbuild:lib-$(CONFIG_DELUSER) += deluser.o
//kbuild:lib-$(CONFIG_DELGROUP) += deluser.o