diff options
author | millert <> | 2022-05-21 00:53:53 +0000 |
---|---|---|
committer | millert <> | 2022-05-21 00:53:53 +0000 |
commit | 64dc3ad49828db299a5c111c01c4d2163f01562c (patch) | |
tree | 70c0e24d4949a08de861fac0155fae30208c3b6c /src/regress/lib/libc/sys/t_chroot.c | |
parent | 67bb646896f08acaba8144b14de087416bb959ec (diff) | |
download | openbsd-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