mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Rename thread_siginfo to cpu_thread_siginfo
This commit is contained in:
parent
29cc06cf27
commit
4b7d5d84ee
3 changed files with 3 additions and 3 deletions
|
|
@ -1492,7 +1492,7 @@ thread_signal_add(struct thread *td, int sig)
|
|||
ps = p->p_sigacts;
|
||||
mtx_assert(&ps->ps_mtx, MA_OWNED);
|
||||
|
||||
thread_siginfo(sig, 0, &siginfo);
|
||||
cpu_thread_siginfo(sig, 0, &siginfo);
|
||||
mtx_unlock(&ps->ps_mtx);
|
||||
PROC_UNLOCK(p);
|
||||
error = copyout(&siginfo, &td->td_mailbox->tm_syncsig, sizeof(siginfo));
|
||||
|
|
|
|||
|
|
@ -1509,7 +1509,7 @@ trapsignal(struct thread *td, int sig, u_long code)
|
|||
ps->ps_sigact[_SIG_IDX(sig)], sig,
|
||||
&td->td_sigmask, code);
|
||||
else {
|
||||
thread_siginfo(sig, code, &siginfo);
|
||||
cpu_thread_siginfo(sig, code, &siginfo);
|
||||
mtx_unlock(&ps->ps_mtx);
|
||||
PROC_UNLOCK(p);
|
||||
error = copyout(&siginfo, &td->td_mailbox->tm_syncsig,
|
||||
|
|
|
|||
|
|
@ -1492,7 +1492,7 @@ thread_signal_add(struct thread *td, int sig)
|
|||
ps = p->p_sigacts;
|
||||
mtx_assert(&ps->ps_mtx, MA_OWNED);
|
||||
|
||||
thread_siginfo(sig, 0, &siginfo);
|
||||
cpu_thread_siginfo(sig, 0, &siginfo);
|
||||
mtx_unlock(&ps->ps_mtx);
|
||||
PROC_UNLOCK(p);
|
||||
error = copyout(&siginfo, &td->td_mailbox->tm_syncsig, sizeof(siginfo));
|
||||
|
|
|
|||
Loading…
Reference in a new issue