mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
Use correct signal when calling sigexit.
This commit is contained in:
parent
ae9fcf4c66
commit
1fc434dc9a
1 changed files with 3 additions and 1 deletions
|
|
@ -1517,7 +1517,9 @@ trapsignal(struct thread *td, int sig, u_long code)
|
|||
mtx_unlock_spin(&sched_lock);
|
||||
} else {
|
||||
/* UTS caused a sync signal */
|
||||
sigexit(td, SIGILL);
|
||||
p->p_code = code; /* XXX for core dump/debugger */
|
||||
p->p_sig = sig; /* XXX to verify code */
|
||||
sigexit(td, sig);
|
||||
}
|
||||
} else {
|
||||
PROC_LOCK(p);
|
||||
|
|
|
|||
Loading…
Reference in a new issue