getopt: make it NOEXEC

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2017-08-03 19:30:21 +02:00
parent 39194f0309
commit 72d725d7cc
2 changed files with 14 additions and 14 deletions

View File

@ -129,7 +129,7 @@ ftpd - daemon
ftpget - runner ftpget - runner
ftpput - runner ftpput - runner
fuser - complex fuser - complex
getopt getopt - noexec. complex (many allocs)
getty - interactive getty - interactive
grep - runner grep - runner
groups - noexec groups - noexec
@ -160,16 +160,16 @@ insmod
install - runner install - runner
ionice - spawner ionice - spawner
iostat - runner iostat - runner
ip ip - noexec candidate
ipaddr ipaddr - noexec candidate
ipcalc ipcalc - noexec candidate
ipcrm ipcrm - noexec candidate
ipcs ipcs - noexec candidate
iplink iplink - noexec candidate
ipneigh ipneigh - noexec candidate
iproute iproute - noexec candidate
iprule iprule - noexec candidate
iptunnel iptunnel - noexec candidate
kbd_mode kbd_mode
kill - NOFORK kill - NOFORK
killall - NOFORK killall - NOFORK
@ -257,8 +257,8 @@ poweroff - rare
powertop - interactive, longterm powertop - interactive, longterm
printenv - NOFORK printenv - NOFORK
printf - NOFORK printf - NOFORK
ps ps - noexec candidate
pscan pscan - longterm
pstree pstree
pwd - NOFORK pwd - NOFORK
pwdx - NOFORK pwdx - NOFORK

View File

@ -47,7 +47,7 @@
//config: help //config: help
//config: Enable support for long options (option -l). //config: Enable support for long options (option -l).
//applet:IF_GETOPT(APPLET(getopt, BB_DIR_BIN, BB_SUID_DROP)) //applet:IF_GETOPT(APPLET_NOEXEC(getopt, getopt, BB_DIR_BIN, BB_SUID_DROP, getopt))
//kbuild:lib-$(CONFIG_GETOPT) += getopt.o //kbuild:lib-$(CONFIG_GETOPT) += getopt.o