Searched refs:PR_CAP_AMBIENT (Results 1 – 5 of 5) sorted by relevance
/linux/tools/testing/selftests/capabilities/ |
A D | test_execve.c | 23 #ifndef PR_CAP_AMBIENT 24 #define PR_CAP_AMBIENT 47 macro 285 …if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_NET_BIND_SERVICE, 0, 0, 0) != -1 || errno != E… in do_tests() 302 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_NET_RAW, 0, 0, 0) != -1 || errno != EPERM) { in do_tests() 313 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_NET_BIND_SERVICE, 0, 0, 0) != 0) { in do_tests() 320 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_NET_BIND_SERVICE, 0, 0, 0) != 1) { in do_tests() 325 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_CLEAR_ALL, 0, 0, 0, 0) != 0) 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() 335 if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, 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() [all …]
|
A D | validate_cap.c | 12 #ifndef PR_CAP_AMBIENT 13 #define PR_CAP_AMBIENT 47 macro 72 …if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_NET_BIND_SERVICE, 0, 0, 0) != bool_arg(argv, … in main()
|
/linux/tools/include/uapi/linux/ |
A D | prctl.h | 195 #define PR_CAP_AMBIENT 47 macro
|
/linux/include/uapi/linux/ |
A D | prctl.h | 195 #define PR_CAP_AMBIENT 47 macro
|
/linux/security/ |
A D | commoncap.c | 1349 case PR_CAP_AMBIENT: in cap_task_prctl()
|
Completed in 14 milliseconds