Deliver SIGSYS to the guilty thread, not to the process.
MFC after: 1 week
This commit is contained in:
parent
b918e60351
commit
888aefef89
@ -3314,7 +3314,7 @@ nosys(td, args)
|
||||
struct proc *p = td->td_proc;
|
||||
|
||||
PROC_LOCK(p);
|
||||
kern_psignal(p, SIGSYS);
|
||||
tdsignal(td, SIGSYS);
|
||||
PROC_UNLOCK(p);
|
||||
return (ENOSYS);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user