Page MenuHomeFreeBSD

Inline userret() in syscallret()
AbandonedPublic

Authored by trasz on Oct 1 2020, 12:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 13, 6:44 PM
Unknown Object (File)
Sun, Nov 24, 2:20 AM
Unknown Object (File)
Fri, Nov 22, 11:26 PM
Unknown Object (File)
Nov 17 2024, 6:15 PM
Unknown Object (File)
Nov 17 2024, 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
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.