HomeFreeBSD

syscalls: fix missing SIGSYS for several ENOSYS errors

Description

syscalls: fix missing SIGSYS for several ENOSYS errors

In particular, when the syscall number is too large, or when syscall is
dynamic. For that, add nosys_sysent structure to pass fake sysent to
syscall top code.

Reviewed by: dchagin, markj
Discussed with: jhb
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D41976

Details

Provenance
kibAuthored on Sep 25 2023, 4:32 PM
Reviewer
dchagin
Differential Revision
D41976: Some fixes for nosys()/SIGSYS
Parents
rG6b3bb233cd0c: amd64 cpu_fetch_syscall_args_fallback(): fix whitespace
Branches
Unknown
Tags
Unknown