HomeFreeBSD

kern: syscall_thread_enter() cannot fail

Description

kern: syscall_thread_enter() cannot fail

Attempting to handle the error gracefully can easily result in missing
SIGSYS, so this was made to always succeed in
39024a89146 ("syscalls: fix missing SIGSYS for several ENOSYS errors")
and returns the nosys entry on failure.

Drop the pretense of returning an error and clean up a few dead error
paths.

Reviewed by: kib, markj

(cherry picked from commit eca26803d880060555393ab89b44b967cd467a0e)

Details

Provenance
kevansAuthored on Jun 30 2026, 7:12 PM
Parents
rG240bd2eeb21f: evdev: use a prometheus-safe label for ev_sysctl_tree
Branches
Unknown
Tags
Unknown