HomeFreeBSD

Always report ENOSYS in init

Description

Always report ENOSYS in init

While rare, encountering an unimplemented system call early in init is
catastrophic and difficult to debug. Even after a SIGSYS handler is
registered, such configurations are problematic. As such, always report
such events for pid 1 (following kern.lognosys if non-zero).

Reviewed by: kevans, imp
Obtained from: CheriBSD (plus suggestions from kevans)
MFC after: 1 week
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D26288

Details

Provenance
brooksAuthored on Sep 2 2020, 11:17 PM
Parents
rG85b29fea3c26: Fix the variable name passed to OF_getprop().
Branches
Unknown
Tags
Unknown

Event Timeline