Expand description
Interfaces to prctl() commands that don’t deal with capabilities.
Structs§
- MDWE
Flags - Flags controlling memory-deny-write-execute behavior.
- Secbits
- Represents the thread’s securebits flags.
- Spec
Flags - Flags indicating the state of the “speculation misfeature”. See
get_speculation_ctrl()andset_speculation_ctrl().
Enums§
- MceKill
- The possible memory corruption kill policies.
- Ptracer
- A value that can be passed to
set_ptracer(). - Spec
Variant - The different types of speculation misfeatures that can be passed to
get_speculation_ctrl()andset_speculation_ctrl().
Functions§
- disable_
perf_ events - Disable all performance counters attached to the current process.
- enable_
perf_ events - Enable all performance counters attached to the current process.
- get_
dumpable - Get the “dumpable” flag for the current process.
- get_
io_ flusher - Get the “I/O flusher” flag for the current process.
- get_
keepcaps - Get the “keep capabilities” flag of the current thread.
- get_
mce_ kill - Get the current thread’s memory corruption kill policy.
- get_
mdwe - Get the memory-deny-write execute flags.
- get_
name std - Get the name of the current thread.
- get_
no_ new_ privs - Get the no-new-privileges flag of the current thread.
- get_
pdeathsig - Get the parent-death signal of the current process.
- get_
seccomp - Get the secure computing mode of the current thread.
- get_
securebits - Get the “securebits” flags of the current thread.
- get_
speculation_ ctrl - Get the current state of the “speculation misfeature”.
- get_
subreaper - Get the “child subreaper” flag for the current process.
- get_
thp_ disable - Get the status of the “THP” disable flag.
- get_
tid_ address - Get this thread’s
clear_child_tidaddress. - get_
timerslack - Get the current timer slack value.
- set_
dumpable - Set the “dumpable” flag for the current process.
- set_
io_ flusher - Set the “I/O flusher” flag for the current process. (Linux 5.6+)
- set_
keepcaps - Set the “keep capabilities” flag of the current thread.
- set_
mce_ kill - Set the current thread’s memory corruption kill policy.
- set_
mdwe - Set the memory-deny-write execute flags.
- set_
name std - Set the name of the current thread.
- set_
no_ new_ privs - Enable the no-new-privileges flag on the current thread.
- set_
pdeathsig - Set the parent-death signal of the current process.
- set_
ptracer - Set the calling process’s “ptracer process ID”.
- set_
seccomp_ strict - Enable strict secure computing mode.
- set_
securebits - Set the “securebits” flags of the current thread.
- set_
speculation_ ctrl - Set the per-thread state of the “speculation misfeature”.
- set_
subreaper - Set the “child subreaper” flag for the current process.
- set_
thp_ disable - Set the status of the “THP” disable flag.
- set_
timerslack - Set the current timer slack value.