diff options
author | bors <bors@rust-lang.org> | 2022-12-11 02:31:05 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-12-11 02:31:05 +0000 |
commit | 6a5c07f70603c7d28464a92964fc02c81d0c1e31 (patch) | |
tree | ce02d1c6d9b6a50555e582be34bbedec694ef76a /src/unix/nto/aarch64.rs | |
parent | 8ccb82892fa6d2ea6630ae19de419e61cebf7974 (diff) | |
parent | ce9ab41088a38ce82c7eddd69f39aa69fe745674 (diff) | |
download | rust-libc-6a5c07f70603c7d28464a92964fc02c81d0c1e31.tar.gz |
Auto merge of #3027 - Phantomical:auxval, r=JohnTitor
linux: Add AT_SYSINFO_EHDR constant
When passed to [`getauxval(3)`][2] this is used to retrieve the base address of the vdso mapped into the current process. It is defined the architecture specific `auxvec.h` headers but [it is defined to the same value in all of them][1] so I've put it in `src/unix/linux_like/linux/mod.rs` instead of in the arch submodule.
[1]: https://sourcegraph.com/search?q=context:global+repo:%5Egithub%5C.com/torvalds/linux%24+%23define+AT_SYSINFO_EHDR&patternType=standard&sm=1
[2]: https://man7.org/linux/man-pages/man3/getauxval.3.html
Diffstat (limited to 'src/unix/nto/aarch64.rs')
0 files changed, 0 insertions, 0 deletions