mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-11 14:10:34 +00:00
*** empty log message ***
This commit is contained in:
parent
eb84be870e
commit
99ab2d5dca
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81332
@ -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);
|
||||
}
|
||||
|
||||
|
@ -197,7 +197,6 @@ extern int sugid_coredump; /* Sysctl variable kern.sugid_coredump */
|
||||
* Machine-independent functions:
|
||||
*/
|
||||
int CURSIG(struct proc *p);
|
||||
void check_sigacts __P((void));
|
||||
void execsigs __P((struct proc *p));
|
||||
void gsignal __P((int pgid, int sig));
|
||||
int issignal __P((struct proc *p));
|
||||
|
Loading…
Reference in New Issue
Block a user