Module rustix::backend::vdso

source ·
Expand description

Parse the Linux vDSO.

The following code is transliterated from tools/testing/selftests/vDSO/parse_vdso.c in Linux 5.11, which is licensed with Creative Commons Zero License, version 1.0, available at https://creativecommons.org/publicdomain/zero/1.0/legalcode

§Safety

Parsing the vDSO involves a lot of raw pointer manipulation. This implementation follows Linux’s reference implementation, and adds several additional safety checks.

Structs§

Functions§