diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-05 23:28:19 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-05 23:28:19 +0200 |
commit | 3239ab89c9b401096966f6af373b0aa18bce9284 (patch) | |
tree | 11132e8d2a70ff73f7ae06ceb18089bbe42c7843 /util-linux | |
parent | 83a6c8d58b3209a1238d24b50c6b717a7c67d1b4 (diff) | |
download | busybox-w32-3239ab89c9b401096966f6af373b0aa18bce9284.tar.gz busybox-w32-3239ab89c9b401096966f6af373b0aa18bce9284.tar.bz2 busybox-w32-3239ab89c9b401096966f6af373b0aa18bce9284.zip |
lspci,lsscsi,lsusb: make them NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r-- | util-linux/lspci.c | 2 | ||||
-rw-r--r-- | util-linux/lsusb.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/lspci.c b/util-linux/lspci.c index 3877deb67..0000fbfda 100644 --- a/util-linux/lspci.c +++ b/util-linux/lspci.c | |||
@@ -16,7 +16,7 @@ | |||
16 | //config: | 16 | //config: |
17 | //config: This version uses sysfs (/sys/bus/pci/devices) only. | 17 | //config: This version uses sysfs (/sys/bus/pci/devices) only. |
18 | 18 | ||
19 | //applet:IF_LSPCI(APPLET(lspci, BB_DIR_USR_BIN, BB_SUID_DROP)) | 19 | //applet:IF_LSPCI(APPLET_NOEXEC(lspci, lspci, BB_DIR_USR_BIN, BB_SUID_DROP, lspci)) |
20 | 20 | ||
21 | //kbuild:lib-$(CONFIG_LSPCI) += lspci.o | 21 | //kbuild:lib-$(CONFIG_LSPCI) += lspci.o |
22 | 22 | ||
diff --git a/util-linux/lsusb.c b/util-linux/lsusb.c index cabf047cf..33639413a 100644 --- a/util-linux/lsusb.c +++ b/util-linux/lsusb.c | |||
@@ -16,7 +16,7 @@ | |||
16 | //config: | 16 | //config: |
17 | //config: This version uses sysfs (/sys/bus/usb/devices) only. | 17 | //config: This version uses sysfs (/sys/bus/usb/devices) only. |
18 | 18 | ||
19 | //applet:IF_LSUSB(APPLET(lsusb, BB_DIR_USR_BIN, BB_SUID_DROP)) | 19 | //applet:IF_LSUSB(APPLET_NOEXEC(lsusb, lsusb, BB_DIR_USR_BIN, BB_SUID_DROP, lsusb)) |
20 | 20 | ||
21 | //kbuild:lib-$(CONFIG_LSUSB) += lsusb.o | 21 | //kbuild:lib-$(CONFIG_LSUSB) += lsusb.o |
22 | 22 | ||