diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-10-13 14:03:08 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-10-13 14:03:08 +0000 |
commit | b24bb74b9ee088f076e89f68095367a214f7cc1d (patch) | |
tree | 68bbbe0841389957ac23f63442ae3a128a904083 | |
parent | e17c9a0bf70419fbbe39b17da727dfb2f9ac86d0 (diff) | |
download | FreeBSD-src-b24bb74b9ee088f076e89f68095367a214f7cc1d.zip FreeBSD-src-b24bb74b9ee088f076e89f68095367a214f7cc1d.tar.gz |
Don't clear signal mask in execsig(). RELENG_4 does not clear it and POSIX
asks to inherit signal mask for execv.
-rw-r--r-- | sys/kern/kern_sig.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index 03697dc..e83ad6c 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -609,10 +609,6 @@ execsigs(p) ps->ps_sigact[_SIG_IDX(sig)] = SIG_DFL; } /* - * Clear out the td's sigmask. Normal processes use the proc sigmask. - */ - SIGEMPTYSET(FIRST_THREAD_IN_PROC(p)->td_sigmask); - /* * Reset stack state to the user stack. * Clear set of signals caught on the signal stack. */ |