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
F82800517: D20905.id.diff
Thu, May 2, 5:29 PM
F82785260: D20905.id59607.diff
Thu, May 2, 2:28 PM
F82780915: D20905.diff
Thu, May 2, 1:32 PM
Unknown Object (File)
Thu, Apr 25, 12:59 AM
Unknown Object (File)
Fri, Apr 19, 9:55 PM
Unknown Object (File)
Jan 20 2024, 11:54 AM
Unknown Object (File)
Jan 8 2024, 11:39 PM
Unknown Object (File)
Dec 15 2023, 12:43 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