aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_exit.c
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2003-03-31 22:49:17 +0000
committerJeff Roberson <jeff@FreeBSD.org>2003-03-31 22:49:17 +0000
commit4093529dee0f4cb9b9e199e4221d9d95f0cd347a (patch)
treeda7bdaf8a9eef1885d86203074ba0ad8ae222e7c /sys/kern/kern_exit.c
parent0d49bb4b30e7ecf70acdbfc41bb709ca681ae4d2 (diff)
downloadsrc-4093529dee0f4cb9b9e199e4221d9d95f0cd347a.tar.gz
src-4093529dee0f4cb9b9e199e4221d9d95f0cd347a.zip
- Move p->p_sigmask to td->td_sigmask. Signal masks will be per thread with
a follow on commit to kern_sig.c - signotify() now operates on a thread since unmasked pending signals are stored in the thread. - PS_NEEDSIGCHK moves to TDF_NEEDSIGCHK.
Notes
Notes: svn path=/head/; revision=112888
Diffstat (limited to 'sys/kern/kern_exit.c')
-rw-r--r--sys/kern/kern_exit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index c6cb8581cc4b..dd537b25592a 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -217,6 +217,7 @@ exit1(struct thread *td, int rv)
stopprofclock(p);
p->p_flag &= ~(P_TRACED | P_PPWAIT);
SIGEMPTYSET(p->p_siglist);
+ SIGEMPTYSET(td->td_siglist);
if (timevalisset(&p->p_realtimer.it_value))
callout_stop(&p->p_itcallout);
PROC_UNLOCK(p);