Page MenuHomeFreeBSD

Inline userret() in syscallret()
AbandonedPublic

Authored by trasz on Oct 1 2020, 12:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 17, 6:15 PM
Unknown Object (File)
Sun, Nov 17, 12:36 PM
Unknown Object (File)
Oct 2 2024, 4:38 AM
Unknown Object (File)
Sep 29 2024, 12:23 AM
Unknown Object (File)
Sep 28 2024, 11:02 PM
Unknown Object (File)
Sep 27 2024, 9:37 AM
Unknown Object (File)
Sep 24 2024, 12:29 AM
Unknown Object (File)
Sep 21 2024, 5:03 AM
Subscribers

Details

Reviewers
kib
Summary

Inline userret() in syscallret(). When built without debug, the quick patch through this function is about 10 instructions long.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Warnings
SeverityLocationCodeMessage
Warningsys/kern/subr_syscall.c:319SPELL1Possible Spelling Mistake
Unit
No Test Coverage
Build Status
Buildable 33919
Build 31119: arc lint + arc unit

Event Timeline

trasz requested review of this revision.Oct 1 2020, 12:24 PM
trasz added a reviewer: kib.

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.