Page MenuHomeFreeBSD

Don't pass error from syscallenter() to syscallret().
ClosedPublic

Authored by jhb on Jul 10 2019, 6:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 6, 3:56 AM
Unknown Object (File)
Sun, Apr 5, 6:49 AM
Unknown Object (File)
Sat, Apr 4, 9:10 AM
Unknown Object (File)
Thu, Apr 2, 2:59 PM
Unknown Object (File)
Thu, Mar 19, 8:40 AM
Unknown Object (File)
Feb 7 2026, 7:08 PM
Unknown Object (File)
Jan 31 2026, 4:06 AM
Unknown Object (File)
Dec 20 2025, 4:49 AM

Details

Summary

syscallret() doesn't use error anymore. Fix a few other places to permit
removing the return value from syscallenter() entirely.

  • Remove a duplicated assertion from arm's syscall().
  • Use td_errno for amd64_syscall_ret_flush_l1d.
Test Plan
  • compiled amd64 and i386, still need to do a full tinderbox

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25283
Build 23948: arc lint + arc unit