diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-03-22 06:05:46 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-03-22 06:05:46 +0000 |
commit | 58e167147475b8367a25672642fd1841a7c4c1e6 (patch) | |
tree | 39517e7dd439b7734c981f57eb67360f7c017e46 /sys/kern/kern_synch.c | |
parent | 187690a3e0724e51c20a94a626cc80a07134107c (diff) |
Move p_sigacts from struct proc to struct process.
testing help mpi@
Diffstat (limited to 'sys/kern/kern_synch.c')
-rw-r--r-- | sys/kern/kern_synch.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c index 50b3a851deb..d461fe2ec96 100644 --- a/sys/kern/kern_synch.c +++ b/sys/kern/kern_synch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_synch.c,v 1.114 2014/01/23 01:48:44 guenther Exp $ */ +/* $OpenBSD: kern_synch.c,v 1.115 2014/03/22 06:05:45 guenther Exp $ */ /* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */ /* @@ -310,7 +310,8 @@ sleep_finish_signal(struct sleep_state *sls) if ((error = single_thread_check(p, 1))) return (error); if (sls->sls_sig != 0 || (sls->sls_sig = CURSIG(p)) != 0) { - if (p->p_sigacts->ps_sigintr & sigmask(sls->sls_sig)) + if (p->p_p->ps_sigacts->ps_sigintr & + sigmask(sls->sls_sig)) return (EINTR); return (ERESTART); } |