partprobe: make it NOEXEC

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2017-08-05 01:46:39 +02:00
parent a453ca576f
commit 9c49d6e11b
2 changed files with 2 additions and 2 deletions

View File

@ -252,7 +252,7 @@ nproc - NOFORK
ntpd - daemon ntpd - daemon
od - runner od - runner
openvt - longterm: spawns a child and waits for it 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 passwd - suid
paste - noexec. runner paste - noexec. runner
patch - needs ^C patch - needs ^C

View File

@ -11,7 +11,7 @@
//config: help //config: help
//config: Ask kernel to rescan partition table. //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 //kbuild:lib-$(CONFIG_PARTPROBE) += partprobe.o