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

Add support for the VDSO #105

Open
GabrielRavier opened this issue Apr 16, 2023 · 0 comments
Open

Add support for the VDSO #105

GabrielRavier opened this issue Apr 16, 2023 · 0 comments
Labels
enhancement New feature or request syscalls Issues relating to Linux Kernel system call ABI emulation

Comments

@GabrielRavier
Copy link

Blink currently lacks support for the VDSO, which results in a lack of compatibility with many binaries.

In particular, binaries using dietlibc and any syscall implemented in the VDSO (such as clock_gettime) always segfault on dietlibc, as their strategy for dealing with getauxval(AT_SYSINFO_EHDR) == NULL is:

  if (!__vdso) __vdso=(char*)0xffffffffff600000;

(this appears to be for compatibility with ancient versions of Linux, and by that I mean versions from like 2002 from before even 2.6)

@jart jart added enhancement New feature or request syscalls Issues relating to Linux Kernel system call ABI emulation labels Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request syscalls Issues relating to Linux Kernel system call ABI emulation
Projects
None yet
Development

No branches or pull requests

2 participants