PR_CAP_AMBIENT_LOWER
(2const)lower the ambient capability set of the calling thread
#include <linux/prctl.h> /* Definition of PR_* constants */ #include <sys/prctl.h> int prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_LOWER, long cap, 0L, 0L);
LIBRARY
DESCRIPTION
RETURN VALUE
ERRORS
- EINVAL
- cap does not specify a valid capability.