Searched refs:PR_CAP_AMBIENT_IS_SET (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/tools/testing/selftests/capabilities/ |
D | validate_cap.c | 14 # define PR_CAP_AMBIENT_IS_SET 1 macro 72 …if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_NET_BIND_SERVICE, 0, 0, 0) != bool_arg(argv, … in main()
|
D | test_execve.c | 25 # define PR_CAP_AMBIENT_IS_SET 1 macro 320 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_NET_BIND_SERVICE, 0, 0, 0) != 1) { in do_tests() 329 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_NET_BIND_SERVICE, 0, 0, 0) != 0) { in do_tests() 343 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_NET_BIND_SERVICE, 0, 0, 0) != 0) { in do_tests()
|
/linux-6.6.21/include/uapi/linux/ |
D | prctl.h | 196 # define PR_CAP_AMBIENT_IS_SET 1 macro
|
/linux-6.6.21/tools/include/uapi/linux/ |
D | prctl.h | 196 # define PR_CAP_AMBIENT_IS_SET 1 macro
|
/linux-6.6.21/security/ |
D | commoncap.c | 1361 if (arg2 == PR_CAP_AMBIENT_IS_SET) { in cap_task_prctl()
|