diff options
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r-- | sys/kern/kern_sig.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index 26ef0d7..8622b41 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -784,7 +784,7 @@ struct sigaction_args { }; #endif int -sigaction(td, uap) +sys_sigaction(td, uap) struct thread *td; register struct sigaction_args *uap; { @@ -1035,7 +1035,7 @@ struct sigprocmask_args { }; #endif int -sigprocmask(td, uap) +sys_sigprocmask(td, uap) register struct thread *td; struct sigprocmask_args *uap; { @@ -1080,7 +1080,7 @@ osigprocmask(td, uap) #endif /* COMPAT_43 */ int -sigwait(struct thread *td, struct sigwait_args *uap) +sys_sigwait(struct thread *td, struct sigwait_args *uap) { ksiginfo_t ksi; sigset_t set; @@ -1106,7 +1106,7 @@ sigwait(struct thread *td, struct sigwait_args *uap) } int -sigtimedwait(struct thread *td, struct sigtimedwait_args *uap) +sys_sigtimedwait(struct thread *td, struct sigtimedwait_args *uap) { struct timespec ts; struct timespec *timeout; @@ -1140,7 +1140,7 @@ sigtimedwait(struct thread *td, struct sigtimedwait_args *uap) } int -sigwaitinfo(struct thread *td, struct sigwaitinfo_args *uap) +sys_sigwaitinfo(struct thread *td, struct sigwaitinfo_args *uap) { ksiginfo_t ksi; sigset_t set; @@ -1282,7 +1282,7 @@ struct sigpending_args { }; #endif int -sigpending(td, uap) +sys_sigpending(td, uap) struct thread *td; struct sigpending_args *uap; { @@ -1414,7 +1414,7 @@ struct sigsuspend_args { #endif /* ARGSUSED */ int -sigsuspend(td, uap) +sys_sigsuspend(td, uap) struct thread *td; struct sigsuspend_args *uap; { @@ -1533,7 +1533,7 @@ struct sigaltstack_args { #endif /* ARGSUSED */ int -sigaltstack(td, uap) +sys_sigaltstack(td, uap) struct thread *td; register struct sigaltstack_args *uap; { @@ -1660,7 +1660,7 @@ struct kill_args { #endif /* ARGSUSED */ int -kill(struct thread *td, struct kill_args *uap) +sys_kill(struct thread *td, struct kill_args *uap) { ksiginfo_t ksi; struct proc *p; @@ -1702,7 +1702,7 @@ kill(struct thread *td, struct kill_args *uap) } int -pdkill(td, uap) +sys_pdkill(td, uap) struct thread *td; struct pdkill_args *uap; { @@ -1721,7 +1721,7 @@ pdkill(td, uap) AUDIT_ARG_PROCESS(p); error = p_cansignal(td, p, uap->signum); if (error == 0 && uap->signum) - psignal(p, uap->signum); + kern_psignal(p, uap->signum); PROC_UNLOCK(p); return (error); #else @@ -1764,7 +1764,7 @@ struct sigqueue_args { }; #endif int -sigqueue(struct thread *td, struct sigqueue_args *uap) +sys_sigqueue(struct thread *td, struct sigqueue_args *uap) { ksiginfo_t ksi; struct proc *p; @@ -1952,7 +1952,7 @@ sigtd(struct proc *p, int sig, int prop) * side effects of this unwise possibility. */ void -psignal(struct proc *p, int sig) +kern_psignal(struct proc *p, int sig) { ksiginfo_t ksi; @@ -2826,7 +2826,7 @@ killproc(p, why) log(LOG_ERR, "pid %d (%s), uid %d, was killed: %s\n", p->p_pid, p->p_comm, p->p_ucred ? p->p_ucred->cr_uid : -1, why); p->p_flag |= P_WKILLED; - psignal(p, SIGKILL); + kern_psignal(p, SIGKILL); } /* @@ -3309,7 +3309,7 @@ nosys(td, args) struct proc *p = td->td_proc; PROC_LOCK(p); - psignal(p, SIGSYS); + kern_psignal(p, SIGSYS); PROC_UNLOCK(p); return (ENOSYS); } @@ -3339,7 +3339,7 @@ pgsigio(sigiop, sig, checkctty) if (sigio->sio_pgid > 0) { PROC_LOCK(sigio->sio_proc); if (CANSIGIO(sigio->sio_ucred, sigio->sio_proc->p_ucred)) - psignal(sigio->sio_proc, sig); + kern_psignal(sigio->sio_proc, sig); PROC_UNLOCK(sigio->sio_proc); } else if (sigio->sio_pgid < 0) { struct proc *p; @@ -3350,7 +3350,7 @@ pgsigio(sigiop, sig, checkctty) if (p->p_state == PRS_NORMAL && CANSIGIO(sigio->sio_ucred, p->p_ucred) && (checkctty == 0 || (p->p_flag & P_CONTROLT))) - psignal(p, sig); + kern_psignal(p, sig); PROC_UNLOCK(p); } PGRP_UNLOCK(sigio->sio_pgrp); |