summaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
authorDenys Vlasenko2017-08-05 01:42:08 +0200
committerDenys Vlasenko2017-08-05 01:42:08 +0200
commita453ca576fba45849784322681a4515bdab9ceab (patch)
treed13efb9b8319839b66d29e2609c18d5c8d476054 /runit
parent754e9f96defd7be48dfdc9ffe820c3fb7f35ff9e (diff)
downloadbusybox-a453ca576fba45849784322681a4515bdab9ceab.zip
busybox-a453ca576fba45849784322681a4515bdab9ceab.tar.gz
sv, svc: make them NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'runit')
-rw-r--r--runit/sv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runit/sv.c b/runit/sv.c
index 3267c7e..0817ab4 100644
--- a/runit/sv.c
+++ b/runit/sv.c
@@ -175,8 +175,8 @@ Exit Codes
//config: svc controls the state of services monitored by the runsv supervisor.
//config: It is comaptible with daemontools command with the same name.
-//applet:IF_SV(APPLET(sv, BB_DIR_USR_BIN, BB_SUID_DROP))
-//applet:IF_SVC(APPLET(svc, BB_DIR_USR_BIN, BB_SUID_DROP))
+//applet:IF_SV( APPLET_NOEXEC(sv, sv, BB_DIR_USR_BIN, BB_SUID_DROP, sv ))
+//applet:IF_SVC(APPLET_NOEXEC(svc, svc, BB_DIR_USR_BIN, BB_SUID_DROP, svc))
//kbuild:lib-$(CONFIG_SV) += sv.o
//kbuild:lib-$(CONFIG_SVC) += sv.o