Deliver SIGSYS to the guilty thread, not to the process.

MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2012-08-18 18:17:10 +00:00
parent b918e60351
commit 888aefef89

View File

@ -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);
}