Home
last modified time | relevance | path

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

/linux-4.4.14/tools/testing/selftests/capabilities/
Dvalidate_cap.c12 # define PR_CAP_AMBIENT_IS_SET 1 macro
66 …if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_NET_BIND_SERVICE, 0, 0, 0) != bool_arg(argv, … in main()
Dtest_execve.c23 # define PR_CAP_AMBIENT_IS_SET 1 macro
302 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_NET_BIND_SERVICE, 0, 0, 0) != 1) { in do_tests()
310 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_NET_BIND_SERVICE, 0, 0, 0) != 0) { in do_tests()
322 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_NET_BIND_SERVICE, 0, 0, 0) != 0) { in do_tests()
/linux-4.4.14/include/uapi/linux/
Dprctl.h195 # define PR_CAP_AMBIENT_IS_SET 1 macro
/linux-4.4.14/security/
Dcommoncap.c992 if (arg2 == PR_CAP_AMBIENT_IS_SET) { in cap_task_prctl()