Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/systemd/systemd/
H A D0018-avoid-redefinition-of-prctl_mm_map-structure.patch30 #ifndef PR_CAP_AMBIENT
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0018-avoid-redefinition-of-prctl_mm_map-structure.patch30 #ifndef PR_CAP_AMBIENT
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dprctl.h195 #define PR_CAP_AMBIENT 47 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dprctl.h195 #define PR_CAP_AMBIENT 47 macro
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dprctl.h195 #define PR_CAP_AMBIENT 47 macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dprctl.h195 #define PR_CAP_AMBIENT 47 macro
/OK3568_Linux_fs/kernel/security/
H A Dcommoncap.c1273 case PR_CAP_AMBIENT: in cap_task_prctl()