aboutsummaryrefslogtreecommitdiff
path: root/NOFORK_NOEXEC.lst
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-08-04 14:28:16 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-08-04 14:28:16 +0200
commit49e6bf2db92d896a71d08eb364069ba50fa82781 (patch)
treeb0940fde4d99a73e1a27c7ad0b610fe7e3f1be0c /NOFORK_NOEXEC.lst
parent3346b4afc5c81d53eae4e7fc7e12ebd6fa573a4e (diff)
downloadbusybox-w32-49e6bf2db92d896a71d08eb364069ba50fa82781.tar.gz
busybox-w32-49e6bf2db92d896a71d08eb364069ba50fa82781.tar.bz2
busybox-w32-49e6bf2db92d896a71d08eb364069ba50fa82781.zip
sheel: improve comments on signal handling
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'NOFORK_NOEXEC.lst')
-rw-r--r--NOFORK_NOEXEC.lst4
1 files changed, 3 insertions, 1 deletions
diff --git a/NOFORK_NOEXEC.lst b/NOFORK_NOEXEC.lst
index 12ae1cd55..14019bf7d 100644
--- a/NOFORK_NOEXEC.lst
+++ b/NOFORK_NOEXEC.lst
@@ -4,10 +4,12 @@ Why can't be NOFORK:
4interactive: may wait for user input, ^C has to work 4interactive: may wait for user input, ^C has to work
5spawner: "tool PROG ARGS" which changes program's environment - must fork 5spawner: "tool PROG ARGS" which changes program's environment - must fork
6changes state: e.g. environment, signal handlers 6changes state: e.g. environment, signal handlers
7alloc+xfunc: xmalloc, then xfunc - leaks memory if xfunc dies
8open+xfunc: opens fd, then calls xfunc - fd is leaked if xfunc dies
7runner: sometimes may run for long(ish) time, and/or works with network: 9runner: sometimes may run for long(ish) time, and/or works with network:
8 ^C has to work (cat BIGFILE, chmod -R, ftpget, nc) 10 ^C has to work (cat BIGFILE, chmod -R, ftpget, nc)
9 11
10"runners" can become eligible after hush is taught ^C to interrupt NOFORKs! 12"runners" can become eligible after shell is taught ^C to interrupt NOFORKs!
11 13
12Why can't be NOEXEC: 14Why can't be NOEXEC:
13suid: runs under different uid - must fork+exec 15suid: runs under different uid - must fork+exec