Home
last modified time | relevance | path

Searched refs:PR_CAP_AMBIENT (Results 1 – 2 of 2) sorted by relevance

/bionic/tests/
Dsys_prctl_test.cpp78 auto err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_CLEAR_ALL, 0, 0, 0); in TEST()
87 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_SYS_ADMIN, 0, 0); in TEST()
91 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_SYS_ADMIN, 0, 0); in TEST()
94 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_LOWER, CAP_SYS_ADMIN, 0, 0); in TEST()
98 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, ULONG_MAX, 0, 0); in TEST()
102 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, ULONG_MAX, 0, 0); in TEST()
106 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_LOWER, ULONG_MAX, 0, 0); in TEST()
/bionic/libc/kernel/uapi/linux/
Dprctl.h115 #define PR_CAP_AMBIENT 47 macro