PR_GET_SECUREBITS2const
Get the "securebits" flags of the calling thread
Usage
#include <linux/prctl.h> /* Definition of PR_* constants */ #include <sys/prctl.h>
int prctl(PR_GET_SECUREBITS);
Library
Standard C library (libc, -lc)
Overview
Return the "securebits" flags of the calling thread. See capabilities(7).
Return value
On success, PR_GET_SECUREBITS, returns the nonnegative value described above. On error, -1 is returned, and errno is set to indicate the error.
Releases
2 releases since Debian 13 (Trixie); the text changed 1 time.