Page MenuHomeFreeBSD

Rework the arm64 sigtramp code to be a trampoline
ClosedPublic

Authored by andrew on Dec 29 2021, 6:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 8 2024, 12:02 AM
Unknown Object (File)
Feb 5 2024, 12:48 PM
Unknown Object (File)
Jan 19 2024, 12:06 PM
Unknown Object (File)
Dec 20 2023, 8:09 AM
Unknown Object (File)
Dec 12 2023, 8:21 AM
Unknown Object (File)
Dec 10 2023, 1:03 AM
Unknown Object (File)
Nov 26 2023, 1:03 AM
Unknown Object (File)
Nov 23 2023, 12:27 AM
Subscribers

Details

Summary

To help with switching to a vdso sigtramp switch to passing through the
sigcode function when entering a signal. This ensures the return address
is within the function.

Diff Detail

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

Event Timeline

sys/arm64/arm64/exec_machdep.c
608

When does this case needed at all?

sys/arm64/arm64/exec_machdep.c
608

It's used in Linux emulation.

sys/arm64/arm64/exec_machdep.c
608

Don't Linux emulation need its own sendsig() implementation?

I doubt that our sigframe format is identical to the Linux one. Even, if unlikely it is, there is high probability that we diverge in future.

Rebase past removing the sv_sigcode_base check

This revision was not accepted when it landed; it landed in state Needs Review.Mar 7 2022, 11:20 AM
This revision was automatically updated to reflect the committed changes.