Home
last modified time | relevance | path

Searched refs:PR_CAP_AMBIENT_IS_SET (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/tools/testing/selftests/capabilities/
Dvalidate_cap.c14 # 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()
Dtest_execve.c25 # 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/
Dprctl.h196 # define PR_CAP_AMBIENT_IS_SET 1 macro
/linux-6.6.21/tools/include/uapi/linux/
Dprctl.h196 # define PR_CAP_AMBIENT_IS_SET 1 macro
/linux-6.6.21/security/
Dcommoncap.c1361 if (arg2 == PR_CAP_AMBIENT_IS_SET) { in cap_task_prctl()