Return the correct error code (ENOSYS, not EINVAL) from nosys(). Getting
killed by SIGSYS for unimlemented syscalls is bad enough. Obtained from: Lite2 branch The Lite2 branch has some other interesting unmerged (?) bits in this file. They are well hidden among cosmetic regressions.
This commit is contained in:
parent
634d96e194
commit
f5216b9a19
@ -2078,7 +2078,7 @@ nosys(td, args)
|
||||
psignal(p, SIGSYS);
|
||||
PROC_UNLOCK(p);
|
||||
mtx_unlock(&Giant);
|
||||
return (EINVAL);
|
||||
return (ENOSYS);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user