summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_exit.c')
-rw-r--r--sys/kern/kern_exit.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index d73c70b..e725eb0 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -670,23 +670,3 @@ rm_at_exit(function)
}
return (0);
}
-
-void check_sigacts (void)
-{
- struct proc *p = curproc;
- struct sigacts *pss;
- int s;
-
- PROC_LOCK(p);
- if (p->p_procsig->ps_refcnt == 1 &&
- p->p_sigacts != &p->p_addr->u_sigacts) {
- pss = p->p_sigacts;
- s = splhigh();
- p->p_addr->u_sigacts = *pss;
- p->p_sigacts = &p->p_addr->u_sigacts;
- splx(s);
- FREE(pss, M_SUBPROC);
- }
- PROC_UNLOCK(p);
-}
-
OpenPOWER on IntegriCloud