aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/vfs_export.c
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2015-08-12 11:30:31 +0000
committerEd Schouten <ed@FreeBSD.org>2015-08-12 11:30:31 +0000
commitf3fe76ecd8c1de89da516f2f13205887f1ada222 (patch)
tree4b9daaf7b779e473e058d7c4445039498c34151e /sys/kern/vfs_export.c
parent2c20fbe43a8d3b34b616a7c2c430c8164e8856bc (diff)
downloadsrc-f3fe76ecd8c1de89da516f2f13205887f1ada222.tar.gz
src-f3fe76ecd8c1de89da516f2f13205887f1ada222.zip
Unignore signals when starting CloudABI processes.
As CloudABI processes cannot adjust their signal handlers, we need to make sure that we start up CloudABI processes with consistent signal masks. Though the POSIx standard signal behavior is all right, we do need to make sure that we ignore SIGPIPE, as it would otherwise be hard to interact with pipes and sockets. Extend execsigs() to iterate over ps_sigignore and call sigdflt() for each of the ignored signals. Reviewed by: kib Obtained from: https://github.com/NuxiNL/freebsd Differential Revision: https://reviews.freebsd.org/D3365
Notes
Notes: svn path=/head/; revision=286662
Diffstat (limited to 'sys/kern/vfs_export.c')
0 files changed, 0 insertions, 0 deletions