mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 10:48:02 +00:00
Revert "kqueue: on process exit, force-clear its registered signal events"
This reverts commit 393ac29f0b
. A
different fix is following, which preserves semantic, required by the
sys.kqueue.proc3_test.proc3 test.
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
PR: 275286
Differential revision: https://reviews.freebsd.org/D42777
This commit is contained in:
parent
f97aab7986
commit
877ef68532
|
@ -983,7 +983,6 @@ proc_reap(struct thread *td, struct proc *p, int *status, int options)
|
|||
proc_id_clear(PROC_ID_PID, p->p_pid);
|
||||
|
||||
PROC_LOCK(p);
|
||||
knlist_delete(p->p_klist, td, 1);
|
||||
knlist_detach(p->p_klist);
|
||||
p->p_klist = NULL;
|
||||
PROC_UNLOCK(p);
|
||||
|
|
Loading…
Reference in a new issue