Home
last modified time | relevance | path

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

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