aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-09-21 12:52:24 +0100
committerRon Yorston <rmy@pobox.com>2021-09-21 13:24:00 +0100
commitdf34f5e92b1d10f0bb858d2ea6e8c249e87ac593 (patch)
treef90208eb2d6f3710833958f67e6101fc2fa85806 /arch
parent48ddce5e9a063d89689ffe4be1680767186e13ee (diff)
downloadbusybox-w32-df34f5e92b1d10f0bb858d2ea6e8c249e87ac593.tar.gz
busybox-w32-df34f5e92b1d10f0bb858d2ea6e8c249e87ac593.tar.bz2
busybox-w32-df34f5e92b1d10f0bb858d2ea6e8c249e87ac593.zip
ash: improve signal handling
Allow waitpid() to detect SIGTERM/SIGKILL by checking the (Windows) status returned by GetExitCodeProcess() and updating the Unix status to suit. This allows ash to detect when a process has been 'signalled'. Provide our own implementation of strsignal(3) which returns expanded text for SIGTERM/SIGKILL. Costs 192 bytes.
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions