bytecodealliance / bytecodealliance/rustix
Use `dlsym` to resolve `__vdso_clock_gettime` etc.?
Open
question
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 294
- Avg merge
- 4h 7m
- Merged PRs (30d)
- 2
Description
In dynamically linked executables, we should be able to `dlopen` the "linux-vdso.so" library and use `dlsym` to obtain symbols like "__vdso_clock_gettime" instead of parsing the vDSO ELF image manually.
An alternative would be to say that since a dynamically-linked executable has libc anyway, the time routines should just use the libc `clock_gettime` APIs.
Contributor guide
Assessment
This issue has not been assessed yet.