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
F152759285: D20905.id.diff
Thu, Apr 16, 10:54 PM
F152725665: D20905.id.diff
Thu, Apr 16, 5:47 PM
Unknown Object (File)
Mon, Apr 13, 9:59 PM
Unknown Object (File)
Sun, Apr 12, 8:55 AM
Unknown Object (File)
Thu, Apr 9, 2:32 AM
Unknown Object (File)
Thu, Apr 9, 1:58 AM
Unknown Object (File)
Wed, Apr 8, 8:09 AM
Unknown Object (File)
Wed, Apr 8, 5:29 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