| PR_SET_SECUREBITS(2const) | PR_SET_SECUREBITS(2const) |
PR_SET_SECUREBITS - set the "securebits" flags of the calling thread
Standard C library (libc, -lc)
#include <linux/prctl.h> /* Definition of PR_* constants */ #include <sys/prctl.h>
int prctl(PR_SET_SECUREBITS, unsigned long flags);
Set the "securebits" flags of the calling thread to the value supplied in flags. See capabilities(7).
On success, 0 is returned. On error, -1 is returned, and errno is set to indicate the error.
Linux.
Linux 2.6.26.
| 2024-06-02 | Linux man-pages 6.9.1 |