Module rustix::backend::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 afn
pointer, so we use a*
pointer to this placeholder type, and cast it as needed.
Statics§
- CLOCK_GETTIME π
- GETCPU π
Functions§
- clock_gettime π
- init π
- init_clock_gettime πInitialize
CLOCK_GETTIME
and return its value. - init_getcpu πInitialize
GETCPU
and return its value. - minimal_init π
- rustix_clock_gettime_via_syscall π β
- rustix_getcpu_via_syscall π β
- sched_getcpu π
Type Aliases§
- ClockGettimeType π
- GetcpuType π