Page MenuHomeFreeBSD

sysent: add a new NORETURN type flag
ClosedPublic

Authored by brooks on Aug 1 2025, 12:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 1, 4:49 AM
Unknown Object (File)
Tue, Sep 1, 3:27 AM
Unknown Object (File)
Mon, Aug 31, 10:14 PM
Unknown Object (File)
Mon, Aug 31, 11:56 AM
Unknown Object (File)
Sat, Aug 29, 1:32 AM
Unknown Object (File)
Thu, Aug 27, 10:05 PM
Unknown Object (File)
Thu, Aug 27, 5:04 AM
Unknown Object (File)
Tue, Aug 25, 3:37 PM
Subscribers

Details

Summary

System calls of type NORETURN don't return and their stubs are declare
not to.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 65887
Build 62770: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Aug 1 2025, 1:11 PM

I did briefly wonder if there are any other attributes we might consider in the future, and if it'd be worth slightly expanding the flag/type syntax to allow a parameterized type for arbitrary attributes CAPENABLED|ATTR(_Noreturn, _Attr), but I think not.

This revision was automatically updated to reflect the committed changes.