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)
Sat, Feb 7, 6:32 PM
Unknown Object (File)
Jan 13 2026, 4:02 PM
Unknown Object (File)
Dec 15 2025, 3:53 PM
Unknown Object (File)
Nov 22 2025, 2:28 AM
Unknown Object (File)
Nov 13 2025, 12:44 AM
Unknown Object (File)
Nov 10 2025, 5:00 AM
Unknown Object (File)
Nov 6 2025, 1:13 PM
Unknown Object (File)
Nov 5 2025, 3:59 AM
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.