Crate prctl [−] [src]
Module provides safe abstraction over the prctl interface.
Provided functions map to a single prctl()
call, although some of them
may be usable only on a specific architecture or only with root
privileges. All known enums that may be used as parameters are
provided in this crate.
Each function provides result which will be Err(errno)
in case the
prctl() call fails.
To run tests requiring root privileges, enable feature "root_test".
Enums
PrctlCap | |
PrctlEndian | |
PrctlFpemu | |
PrctlMM | |
PrctlMceKill | |
PrctlSeccomp | |
PrctlSecurebits | |
PrctlTiming | |
PrctlTsc | |
PrctlUnalign |