aboutsummaryrefslogtreecommitdiff
path: root/procps/kill.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-07-24 12:44:13 +0000
committerEric Andersen <andersen@codepoet.org>2004-07-24 12:44:13 +0000
commit5dcf15e02de10e648ac8e8d86500678f2043d2e6 (patch)
tree866073ca8827635be139b378fe30d17acc853165 /procps/kill.c
parent7991ad172041322ce49244ab53f2d323e71bf0c4 (diff)
downloadbusybox-5dcf15e02de10e648ac8e8d86500678f2043d2e6.tar.gz
Paul Whittaker writes:
With job control enabled, ash fails to tcsetpgrp back to initialpgrp upon exit. exitshell() should call setjobctl(0) to do this. Context: I am using a lightweight menu system (replimenu[.sf.net]) on my console, which invokes "/bin/sh -i -c /bin/login", where /bin/sh and /bin/login are busybox applets. /bin/sh is ash, with CONFIG_ASH_JOB_CONTROL=y as the sole suboption. The shell of the user concerned (nobody) is also /bin/sh (ash). When the user /bin/sh exits (and thereby login and its parent sh), replimenu receives EIO when it tries to read from the terminal.
Diffstat (limited to 'procps/kill.c')
0 files changed, 0 insertions, 0 deletions