Module vdso_wrappers

Source
Expand description

Implement syscalls using the vDSO.

https://man7.org/linux/man-pages/man7/vdso.7.html

Β§Safety

Similar to syscalls.rs, this file performs raw system calls, and sometimes passes them uninitialized memory buffers. This file also calls vDSO functions.

StructsΒ§

Function πŸ”’
AtomicPtr can’t hold a fn pointer, so we use a * pointer to this placeholder type, and cast it as needed.

StaticsΒ§

CLOCK_GETTIME πŸ”’

FunctionsΒ§

_clock_gettime_via_syscall πŸ”’ ⚠
clock_gettime πŸ”’
clock_gettime_dynamic πŸ”’
clock_gettime_via_syscall πŸ”’ ⚠
init πŸ”’
init_clock_gettime πŸ”’
Initialize CLOCK_GETTIME and return its value.
minimal_init πŸ”’

Type AliasesΒ§

ClockGettimeType πŸ”’