Home
last modified time | relevance | path

Searched refs:PR_CAP_AMBIENT (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/tools/testing/selftests/capabilities/
H A Dtest_execve.c23 #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 …]
H A Dvalidate_cap.c12 #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()
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0011-avoid-redefinition-of-prctl_mm_map-structure.patch29 #ifndef PR_CAP_AMBIENT
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0011-avoid-redefinition-of-prctl_mm_map-structure.patch29 #ifndef PR_CAP_AMBIENT
/openbmc/linux/tools/include/uapi/linux/
H A Dprctl.h195 #define PR_CAP_AMBIENT 47 macro
/openbmc/linux/include/uapi/linux/
H A Dprctl.h195 #define PR_CAP_AMBIENT 47 macro
/openbmc/linux/security/
H A Dcommoncap.c1346 case PR_CAP_AMBIENT: in cap_task_prctl()
/openbmc/qemu/linux-user/
H A Dsyscall.c6419 case PR_CAP_AMBIENT: in do_prctl()