Page MenuHomeFreeBSD

Questionable optimization for riscv cpu_fetch_syscall_args()
AbandonedPublic

Authored by trasz on Nov 7 2020, 6:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 10, 12:31 AM
Unknown Object (File)
Wed, Jan 1, 7:34 PM
Unknown Object (File)
Dec 9 2024, 6:42 AM
Unknown Object (File)
Oct 12 2024, 8:32 PM
Unknown Object (File)
Oct 3 2024, 7:06 PM
Unknown Object (File)
Oct 3 2024, 4:40 PM
Unknown Object (File)
Oct 2 2024, 4:24 PM
Unknown Object (File)
Oct 1 2024, 2:04 PM
Subscribers

Details

Reviewers
None
Group Reviewers
riscv
Summary

XXX: stashed for later

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 34686
Build 31753: arc lint + arc unit

Event Timeline

trasz requested review of this revision.Nov 7 2020, 6:16 PM
trasz planned changes to this revision.Nov 7 2020, 6:17 PM
trasz planned changes to this revision.Nov 8 2020, 6:31 PM
jhb added inline comments.
sys/riscv/riscv/trap.c
118–124

Why add this check for nosys? Checking sa_code should be sufficient?

120

This is now missing validation of sa->code and also doesn't update callp. Presumably this has broken any uses of syscall(2)?