lspci,lsscsi,lsusb: make them NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
83a6c8d58b
commit
3239ab89c9
@ -207,9 +207,9 @@ ls - noexec. runner
|
||||
lsattr - noexec. runner
|
||||
lsmod - noexec
|
||||
lsof - complex
|
||||
lspci - noexec candidate, too rare to bother for nofork
|
||||
lsscsi - noexec candidate, too rare to bother for nofork
|
||||
lsusb - noexec candidate, too rare to bother for nofork
|
||||
lspci - noexec. too rare to bother for nofork
|
||||
lsscsi - noexec. too rare to bother for nofork
|
||||
lsusb - noexec. too rare to bother for nofork
|
||||
lzcat - runner
|
||||
lzma - runner
|
||||
lzop - runner
|
||||
|
@ -16,7 +16,7 @@
|
||||
//config:
|
||||
//config: This version uses sysfs (/sys/bus/scsi/devices) only.
|
||||
|
||||
//applet:IF_LSSCSI(APPLET(lsscsi, BB_DIR_USR_BIN, BB_SUID_DROP))
|
||||
//applet:IF_LSSCSI(APPLET_NOEXEC(lsscsi, lsscsi, BB_DIR_USR_BIN, BB_SUID_DROP, lsscsi))
|
||||
|
||||
//kbuild:lib-$(CONFIG_LSSCSI) += lsscsi.o
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user