partprobe: make it NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
a453ca576f
commit
9c49d6e11b
@ -252,7 +252,7 @@ nproc - NOFORK
|
||||
ntpd - daemon
|
||||
od - runner
|
||||
openvt - longterm: spawns a child and waits for it
|
||||
partprobe - noexec candidate (simple), leaks: open+ioctl_or_perror_and_die(BLKRRPART)
|
||||
partprobe - noexec. leaks: open+ioctl_or_perror_and_die(BLKRRPART)
|
||||
passwd - suid
|
||||
paste - noexec. runner
|
||||
patch - needs ^C
|
||||
|
@ -11,7 +11,7 @@
|
||||
//config: help
|
||||
//config: Ask kernel to rescan partition table.
|
||||
|
||||
//applet:IF_PARTPROBE(APPLET(partprobe, BB_DIR_USR_SBIN, BB_SUID_DROP))
|
||||
//applet:IF_PARTPROBE(APPLET_NOEXEC(partprobe, partprobe, BB_DIR_USR_SBIN, BB_SUID_DROP, partprobe))
|
||||
|
||||
//kbuild:lib-$(CONFIG_PARTPROBE) += partprobe.o
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user