HomeFreeBSD

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

Description

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

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.

Reviewed by: kib
MFC after: 1 month
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D2090

Details

Provenance
jhbAuthored on
Reviewer
kib
Differential Revision
D20905: Don't pass error from syscallenter() to syscallret().
Parents
rS350012: Always set td_errno to the error value of a system call.
Branches
Unknown
Tags
Unknown