summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys/t_chroot.c
diff options
context:
space:
mode:
authormillert <>2022-05-21 00:53:53 +0000
committermillert <>2022-05-21 00:53:53 +0000
commit64dc3ad49828db299a5c111c01c4d2163f01562c (patch)
tree70c0e24d4949a08de861fac0155fae30208c3b6c /src/regress/lib/libc/sys/t_chroot.c
parent67bb646896f08acaba8144b14de087416bb959ec (diff)
downloadopenbsd-64dc3ad49828db299a5c111c01c4d2163f01562c.tar.gz
openbsd-64dc3ad49828db299a5c111c01c4d2163f01562c.tar.bz2
openbsd-64dc3ad49828db299a5c111c01c4d2163f01562c.zip
system(3) should ignore SIGINT and SIGQUIT until the shell exits.
This got broken when system.c was converted from signal(3) to sigaction(2). Also add SIGINT and SIGQUIT to the set of blocked signals and unblock them in the parent after the signal handlers are installed. Based on a diff from Leon Fischer. OK deraadt@
Diffstat (limited to 'src/regress/lib/libc/sys/t_chroot.c')
0 files changed, 0 insertions, 0 deletions