fusefs: commit missing files from r346387
PR: 346357 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
419e7ff674
commit
559966d64b
@ -929,6 +929,23 @@ osigreturn(struct thread *td, struct osigreturn_args *uap)
|
||||
#endif
|
||||
#endif /* COMPAT_43 */
|
||||
|
||||
/* Will this signal be fatal to the current process ? */
|
||||
bool
|
||||
sig_isfatal(struct proc *p, int sig)
|
||||
{
|
||||
intptr_t act;
|
||||
|
||||
act = (intptr_t)p->p_sigacts->ps_sigact[_SIG_IDX(sig)];
|
||||
if ((intptr_t)SIG_DFL == act) {
|
||||
int prop;
|
||||
|
||||
prop = sigprop(sig);
|
||||
return (0 != (prop & (SIGPROP_KILL | SIGPROP_CORE)));
|
||||
} else {
|
||||
return (false);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialize signal state for process 0;
|
||||
* set to ignore signals that are ignored by default.
|
||||
|
@ -384,6 +384,7 @@ int sigacts_shared(struct sigacts *ps);
|
||||
void sigexit(struct thread *td, int sig) __dead2;
|
||||
int sigev_findtd(struct proc *p, struct sigevent *sigev, struct thread **);
|
||||
int sig_ffs(sigset_t *set);
|
||||
bool sig_isfatal(struct proc *p, int sig);
|
||||
void siginit(struct proc *p);
|
||||
void signotify(struct thread *td);
|
||||
void sigqueue_delete(struct sigqueue *queue, int sig);
|
||||
|
Loading…
x
Reference in New Issue
Block a user