Simplify linux_exec_setregs() by not duplicating exec_setregs().
No functional changes intended.
Details
Details
- Reviewers
kib - Group Reviewers
Linux Emulation
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 33491 Build 30766: arc lint + arc unit
Event Timeline
Comment Actions
I do not like it. It makes changes to exec_setregs() to suddenly affect linuxolator.
In other review, you stop using native set_retval() in linux variant. So why move in reverse direction there ?
If so inclined extract the absolutely common code into some neutrally-named function and call it both from linux_exec_setregs() and exec_setregs().