Home
last modified time | relevance | path

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

/bionic/tests/
Dsys_prctl_test.cpp71 #if defined(__ANDROID__) || defined(PR_CAP_AMBIENT) in TEST()
79 auto err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_CLEAR_ALL, 0, 0, 0); in TEST()
88 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_SYS_ADMIN, 0, 0); in TEST()
92 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_SYS_ADMIN, 0, 0); in TEST()
95 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_LOWER, CAP_SYS_ADMIN, 0, 0); in TEST()
99 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, ULONG_MAX, 0, 0); in TEST()
103 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, ULONG_MAX, 0, 0); in TEST()
107 err = prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_LOWER, ULONG_MAX, 0, 0); in TEST()
/bionic/libc/kernel/uapi/linux/
Dprctl.h154 #define PR_CAP_AMBIENT 47 macro