Searched refs:PR_CAP_AMBIENT (Results 1 – 2 of 2) sorted by relevance
/bionic/tests/ |
D | sys_prctl_test.cpp | 71 #if defined(__ANDROID__) || defined(PR_CAP_AMBIENT) in TEST() 83 auto err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_CLEAR_ALL, 0, 0, 0); in TEST() 92 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_SYS_ADMIN, 0, 0); in TEST() 96 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_SYS_ADMIN, 0, 0); in TEST() 99 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_LOWER, CAP_SYS_ADMIN, 0, 0); in TEST() 103 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, ULONG_MAX, 0, 0); in TEST() 107 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, ULONG_MAX, 0, 0); in TEST() 111 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_LOWER, ULONG_MAX, 0, 0); in TEST()
|
/bionic/libc/kernel/uapi/linux/ |
D | prctl.h | 127 #define PR_CAP_AMBIENT 47 macro
|