Inline userret() in syscallret(). When built without debug, the quick patch through this function is about 10 instructions long.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Warnings Severity Location Code Message Warning sys/kern/subr_syscall.c:319 SPELL1 Possible Spelling Mistake - Unit
No Test Coverage - Build Status
Buildable 33919 Build 31119: arc lint + arc unit
Event Timeline
Comment Actions
I do not like that subr_trap.c starts including whole subr_syscall.c. Perhaps add subr_userret.c for your function.
P.S. Do not include subr_userret.c from subr_syscall.c, explicitly add needed include in all subr_syscall.c consumers.