diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-07 23:14:49 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-07 23:14:49 +0200 |
commit | ae84418d269ea44a710b9effa6d64b6334208973 (patch) | |
tree | 31112b326bd65469884bf3059478f679fdc31ccf /util-linux | |
parent | a907b828d6e9f1357fc2e1db09d3eb1d3fb9b826 (diff) | |
download | 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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/losetup.c b/util-linux/losetup.c index c608de6cc..2f7dc10f5 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" |