dumpleases: make NOEXEC

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2017-08-07 23:30:22 +02:00
parent af5d008669
commit dbbc3f2e64
2 changed files with 5 additions and 5 deletions

View File

@ -68,7 +68,7 @@ chattr - noexec. runner
chgrp - noexec. runner chgrp - noexec. runner
chmod - noexec. runner chmod - noexec. runner
chown - noexec. runner chown - noexec. runner
chpasswd - runner (list of "user:password"s from stdin) chpasswd - longterm (list of "user:password"s from stdin)
chpst - noexec. spawner chpst - noexec. spawner
chroot - noexec. spawner chroot - noexec. spawner
chrt - noexec. spawner chrt - noexec. spawner
@ -86,7 +86,7 @@ cryptpw - noexec. changes state: with --password-fd=N, moves N to stdin
cttyhack - noexec. spawner cttyhack - noexec. spawner
cut - noexec. runner cut - noexec. runner
date - noexec. nofork candidate(needs to stop messing up env, free xasprintf result, not use xfuncs after xasprintf) date - noexec. nofork candidate(needs to stop messing up env, free xasprintf result, not use xfuncs after xasprintf)
dc - runner (eats stdin if no params) dc - longterm (eats stdin if no params)
dd - noexec. runner dd - noexec. runner
deallocvt - noexec. leaks: get_console_fd_or_die() may open a new fd, or return one of stdio fds deallocvt - noexec. leaks: get_console_fd_or_die() may open a new fd, or return one of stdio fds
delgroup - noexec. leaks delgroup - noexec. leaks
@ -104,7 +104,7 @@ dos2unix - noexec. runner
dpkg - runner dpkg - runner
du - runner du - runner
dumpkmap - noexec. leaks: get_console_fd_or_die() may open a new fd, or return one of stdio fds dumpkmap - noexec. leaks: get_console_fd_or_die() may open a new fd, or return one of stdio fds
dumpleases - leaks: open+xread dumpleases - noexec. leaks: open+xread
echo - NOFORK echo - NOFORK
ed - interactive, longterm ed - interactive, longterm
egrep - longterm runner ("CMD | egrep ..." may run indefinitely, better to exec to conserve memory) egrep - longterm runner ("CMD | egrep ..." may run indefinitely, better to exec to conserve memory)
@ -114,7 +114,7 @@ envdir - noexec. spawner
envuidgid - noexec. spawner envuidgid - noexec. spawner
expand - runner expand - runner
expr - noexec. leaks: nested allocs expr - noexec. leaks: nested allocs
factor - runner (eats stdin if no params) factor - longterm (eats stdin if no params)
fakeidentd - daemon fakeidentd - daemon
false - NOFORK false - NOFORK
fatattr - noexec. leaks: open+xioctl, complex fatattr - noexec. leaks: open+xioctl, complex

View File

@ -2,7 +2,7 @@
/* /*
* Licensed under GPLv2 or later, see file LICENSE in this source tree. * Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/ */
//applet:IF_DUMPLEASES(APPLET(dumpleases, BB_DIR_USR_BIN, BB_SUID_DROP)) //applet:IF_DUMPLEASES(APPLET_NOEXEC(dumpleases, dumpleases, BB_DIR_USR_BIN, BB_SUID_DROP, dumpleases))
//kbuild:lib-$(CONFIG_DUMPLEASES) += dumpleases.o //kbuild:lib-$(CONFIG_DUMPLEASES) += dumpleases.o