aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2018-12-13 15:18:20 +0000
committerRon Yorston <rmy@pobox.com>2018-12-13 15:35:12 +0000
commit858091c25687727c335880dca459fe5b24259009 (patch)
treec07a68285bc3a2bcc700df251b43058bb24dbdb3 /libbb
parentc17f7130a77698ba440525919a20d08b26333dd3 (diff)
downloadbusybox-w32-858091c25687727c335880dca459fe5b24259009.tar.gz
busybox-w32-858091c25687727c335880dca459fe5b24259009.tar.bz2
busybox-w32-858091c25687727c335880dca459fe5b24259009.zip
ash: prevent ctrl-c from killing background processes
spawn_forkshell() was missing some code that would normally have been run from forkchild when a background process was started: - the ctrl-c handler wasn't disabled; - standard input wasn't connected to /dev/null. Using ctrl-c to kill a foreground process also killed background processes. Fixing this requires passing the forkshell mode and the number of processes associated with the forkshell job to the child process.
Diffstat (limited to 'libbb')
0 files changed, 0 insertions, 0 deletions