System calls of type NORETURN don't return and their stubs are declare
not to.
Details
Details
- Reviewers
kib imp kevans - Commits
- rG202ac0975edc: sysent: add a new NORETURN type flag
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
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.