summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko2017-08-05 23:28:19 +0200
committerDenys Vlasenko2017-08-05 23:28:19 +0200
commit3239ab89c9b401096966f6af373b0aa18bce9284 (patch)
tree11132e8d2a70ff73f7ae06ceb18089bbe42c7843 /util-linux
parent83a6c8d58b3209a1238d24b50c6b717a7c67d1b4 (diff)
downloadbusybox-3239ab89c9b401096966f6af373b0aa18bce9284.zip
busybox-3239ab89c9b401096966f6af373b0aa18bce9284.tar.gz
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.c2
-rw-r--r--util-linux/lsusb.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/lspci.c b/util-linux/lspci.c
index 3877deb..0000fbf 100644
--- a/util-linux/lspci.c
+++ b/util-linux/lspci.c
@@ -16,7 +16,7 @@
//config:
//config: This version uses sysfs (/sys/bus/pci/devices) only.
-//applet:IF_LSPCI(APPLET(lspci, BB_DIR_USR_BIN, BB_SUID_DROP))
+//applet:IF_LSPCI(APPLET_NOEXEC(lspci, lspci, BB_DIR_USR_BIN, BB_SUID_DROP, lspci))
//kbuild:lib-$(CONFIG_LSPCI) += lspci.o
diff --git a/util-linux/lsusb.c b/util-linux/lsusb.c
index cabf047..3363941 100644
--- a/util-linux/lsusb.c
+++ b/util-linux/lsusb.c
@@ -16,7 +16,7 @@
//config:
//config: This version uses sysfs (/sys/bus/usb/devices) only.
-//applet:IF_LSUSB(APPLET(lsusb, BB_DIR_USR_BIN, BB_SUID_DROP))
+//applet:IF_LSUSB(APPLET_NOEXEC(lsusb, lsusb, BB_DIR_USR_BIN, BB_SUID_DROP, lsusb))
//kbuild:lib-$(CONFIG_LSUSB) += lsusb.o