mktemp: make it NOEXEC

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2017-08-04 17:39:05 +02:00
parent 74c05f5b2c
commit 6bec24c4f5
2 changed files with 2 additions and 2 deletions

View File

@ -231,7 +231,7 @@ mkfs.vfat
mknod - noexec
mkpasswd
mkswap
mktemp - leaks: xstrdup+concat_path_file
mktemp - noexec. leaks: xstrdup+concat_path_file
modinfo - noexec
modprobe - noexec
more - interactive, longterm

View File

@ -36,7 +36,7 @@
//config: help
//config: mktemp is used to create unique temporary files
//applet:IF_MKTEMP(APPLET(mktemp, BB_DIR_BIN, BB_SUID_DROP))
//applet:IF_MKTEMP(APPLET_NOEXEC(mktemp, mktemp, BB_DIR_BIN, BB_SUID_DROP, mktemp))
//kbuild:lib-$(CONFIG_MKTEMP) += mktemp.o