PR_CAP_AMBIENT(2const) PR_CAP_AMBIENT(2const) PR_CAP_AMBIENT - read or change the ambient capability set of the calling thread C (libc, -lc) #include /* PR_* */ #include int prctl(PR_CAP_AMBIENT, long op, ...); Reads or changes the ambient capability set of the calling thread, according to the value of op, which must be one of the following: PR_CAP_AMBIENT_RAISE PR_CAP_AMBIENT_LOWER PR_CAP_AMBIENT_IS_SET PR_CAP_AMBIENT_CLEAR_ALL . -1, errno . EINVAL op is not a valid value. , , libcap(3) cap_get_ambient(3), cap_set_ambient(3) cap_reset_ambient(3). Linux. Linux 4.3. prctl(2), PR_CAP_AMBIENT_RAISE(2const), PR_CAP_AMBIENT_LOWER(2const), PR_CAP_AMBIENT_IS_SET(2const), PR_CAP_AMBIENT_CLEAR_ALL(2const), libcap(3), cap_get_ambient(3), cap_set_ambient(3), cap_reset_ambient(3) () ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.15 17 2025 . PR_CAP_AMBIENT(2const)