summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/sys/t_truncate.c
diff options
context:
space:
mode:
authormillert <>2022-05-21 00:53:53 +0000
committermillert <>2022-05-21 00:53:53 +0000
commit8441124e76190c2ec4fcefa7dbcf7d58e9073703 (patch)
tree70c0e24d4949a08de861fac0155fae30208c3b6c /src/regress/lib/libc/sys/t_truncate.c
parentb5af5cafd4a1747b4045aad01cc9aad108dd4580 (diff)
downloadopenbsd-8441124e76190c2ec4fcefa7dbcf7d58e9073703.tar.gz
openbsd-8441124e76190c2ec4fcefa7dbcf7d58e9073703.tar.bz2
openbsd-8441124e76190c2ec4fcefa7dbcf7d58e9073703.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_truncate.c')
0 files changed, 0 insertions, 0 deletions