Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On 32-bit x86, get the vsyscall address from the AUX vector #963

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sunfishcode
Copy link
Member

On 32-bit x86, get the vsyscall address from the AT_SYSINFO AUX vector entry, rather than looking it up in the vDSO. This avoids the need to link in all the vDSO code if it isn't otherwise needed. And, it's simpler, avoiding the need for the rustix_int_0x80 function.

@sunfishcode sunfishcode marked this pull request as draft December 6, 2023 21:59
@sunfishcode sunfishcode force-pushed the sunfishcode/prepare branch 2 times, most recently from 79953c7 to 0892b09 Compare December 6, 2023 22:27
On 32-bit x86, get the vsyscall address from the AT_SYSINFO AUX vector
entry, rather than looking it up in the vDSO. This avoids the need to
link in all the vDSO code if it isn't otherwise needed. And, it's
simpler, avoiding the need for the `rustix_int_0x80` function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant