Searched refs:PR_CAP_AMBIENT_RAISE (Results 1 - 4 of 4) sorted by path
/linux-master/include/uapi/linux/ |
H A D | prctl.h | 197 # define PR_CAP_AMBIENT_RAISE 2 macro
|
/linux-master/security/ |
H A D | commoncap.c | 1364 } else if (arg2 != PR_CAP_AMBIENT_RAISE && 1368 if (arg2 == PR_CAP_AMBIENT_RAISE && 1378 if (arg2 == PR_CAP_AMBIENT_RAISE)
|
/linux-master/tools/include/uapi/linux/ |
H A D | prctl.h | 197 # define PR_CAP_AMBIENT_RAISE 2 macro
|
/linux-master/tools/testing/selftests/capabilities/ |
H A D | test_execve.c | 279 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_NET_BIND_SERVICE, 0, 0, 0) != -1 || errno != EPERM) { 282 "PR_CAP_AMBIENT_RAISE isn't supported\n"); 285 "PR_CAP_AMBIENT_RAISE should have failed eith EPERM on a non-inheritable cap\n"); 289 "PR_CAP_AMBIENT_RAISE failed on non-inheritable cap\n"); 296 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_NET_RAW, 0, 0, 0) != -1 || errno != EPERM) { 298 "PR_CAP_AMBIENT_RAISE should have failed on a non-permitted cap\n"); 302 "PR_CAP_AMBIENT_RAISE failed on non-permitted cap\n"); 307 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_NET_BIND_SERVICE, 0, 0, 0) != 0) { 309 "PR_CAP_AMBIENT_RAISE should have succeeded\n"); 312 ksft_test_result_pass("PR_CAP_AMBIENT_RAISE worke [all...] |
Completed in 223 milliseconds