Page MenuHomeFreeBSD

sysent: add a new NORETURN type flag
ClosedPublic

Authored by brooks on Aug 1 2025, 12:45 PM.
Tags
None
Referenced Files
F167896666: D51673.id160034.diff
Tue, Aug 25, 7:54 AM
F167882961: D51673.id.diff
Tue, Aug 25, 5:55 AM
F167881786: D51673.diff
Tue, Aug 25, 5:43 AM
Unknown Object (File)
Wed, Aug 12, 5:35 PM
Unknown Object (File)
Mon, Aug 10, 12:29 PM
Unknown Object (File)
Sat, Aug 8, 7:54 PM
Unknown Object (File)
Sat, Aug 8, 2:39 AM
Unknown Object (File)
Jul 25 2026, 10:43 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 Not Applicable
Unit
Tests Not Applicable

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.