summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko2017-08-07 23:14:49 +0200
committerDenys Vlasenko2017-08-07 23:14:49 +0200
commitae84418d269ea44a710b9effa6d64b6334208973 (patch)
tree31112b326bd65469884bf3059478f679fdc31ccf /util-linux
parenta907b828d6e9f1357fc2e1db09d3eb1d3fb9b826 (diff)
downloadbusybox-ae84418d269ea44a710b9effa6d64b6334208973.zip
busybox-ae84418d269ea44a710b9effa6d64b6334208973.tar.gz
losetup: make NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/losetup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/losetup.c b/util-linux/losetup.c
index c608de6..2f7dc10 100644
--- a/util-linux/losetup.c
+++ b/util-linux/losetup.c
@@ -15,9 +15,9 @@
//config: file or block device, and to query the status of a loop device. This
//config: version does not currently support enabling data encryption.
-//kbuild:lib-$(CONFIG_LOSETUP) += losetup.o
+//applet:IF_LOSETUP(APPLET_NOEXEC(losetup, losetup, BB_DIR_SBIN, BB_SUID_DROP, losetup))
-//applet:IF_LOSETUP(APPLET(losetup, BB_DIR_SBIN, BB_SUID_DROP))
+//kbuild:lib-$(CONFIG_LOSETUP) += losetup.o
//usage:#define losetup_trivial_usage
//usage: "[-r] [-o OFS] {-f|LOOPDEV} FILE - associate loop devices\n"