/openbmc/linux/tools/testing/selftests/capabilities/ |
H A D | test_execve.c | 268 capng_update(CAPNG_DROP, CAPNG_INHERITABLE, CAP_NET_BIND_SERVICE); in do_tests() 285 …if (prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_NET_BIND_SERVICE, 0, 0, 0) != -1 || errno != E… in do_tests() 310 capng_update(CAPNG_ADD, CAPNG_INHERITABLE, CAP_NET_BIND_SERVICE); 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() 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() 339 capng_update(CAPNG_DROP, CAPNG_INHERITABLE, CAP_NET_BIND_SERVICE); 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() 350 capng_update(CAPNG_ADD, CAPNG_INHERITABLE, CAP_NET_BIND_SERVICE); in do_tests() [all …]
|
H A D | validate_cap.c | 57 if (capng_have_capability(CAPNG_EFFECTIVE, CAP_NET_BIND_SERVICE) != bool_arg(argv, 1)) { in main() 62 if (capng_have_capability(CAPNG_PERMITTED, CAP_NET_BIND_SERVICE) != bool_arg(argv, 2)) { in main() 67 if (capng_have_capability(CAPNG_INHERITABLE, CAP_NET_BIND_SERVICE) != bool_arg(argv, 3)) { in main() 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/meta-openembedded/meta-webserver/recipes-httpd/hiawatha/files/ |
H A D | hiawatha.service | 13 CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FSETID CAP_SET…
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/colord/colord/ |
H A D | 08a32b2379fb5582f4312e59bf51a2823df56276.patch | 27 …P_AUDIT_CONTROL CAP_AUDIT_READ CAP_AUDIT_WRITE CAP_KILL CAP_MKNOD CAP_NET_BIND_SERVICE CAP_NET_BRO…
|
/openbmc/linux/include/uapi/linux/ |
H A D | capability.h | 184 #define CAP_NET_BIND_SERVICE 10 macro
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | bind_perm.c | 54 const __u64 net_bind_svc_cap = 1ULL << CAP_NET_BIND_SERVICE; in test_bind_perm()
|
/openbmc/linux/net/ax25/ |
H A D | ax25_route.c | 419 if (ax25_uid_policy && !capable(CAP_NET_BIND_SERVICE)) { in ax25_rt_autobind()
|
/openbmc/linux/net/netrom/ |
H A D | af_netrom.c | 599 if (!capable(CAP_NET_BIND_SERVICE)) { in nr_bind() 614 if (ax25_uid_policy && !capable(CAP_NET_BIND_SERVICE)) { in nr_bind()
|
/openbmc/linux/net/mctp/ |
H A D | af_mctp.c | 65 if (!capable(CAP_NET_BIND_SERVICE)) in mctp_bind()
|
/openbmc/linux/net/bluetooth/ |
H A D | l2cap_sock.c | 64 if (psm < L2CAP_PSM_DYN_START && !capable(CAP_NET_BIND_SERVICE)) in l2cap_validate_bredr_psm() 77 if (psm < L2CAP_PSM_LE_DYN_START && !capable(CAP_NET_BIND_SERVICE)) in l2cap_validate_le_psm()
|
/openbmc/linux/net/atm/ |
H A D | common.c | 392 if (vci > 0 && vci < ATM_NOT_RSV_VCI && !capable(CAP_NET_BIND_SERVICE)) in __vcc_connect()
|
/openbmc/linux/net/ipv6/ |
H A D | af_inet6.c | 301 !ns_capable(net->user_ns, CAP_NET_BIND_SERVICE)) in __inet6_bind()
|
/openbmc/linux/net/rose/ |
H A D | af_rose.c | 731 if (ax25_uid_policy && !capable(CAP_NET_BIND_SERVICE)) { in rose_bind()
|
/openbmc/linux/net/vmw_vsock/ |
H A D | vmci_transport.c | 1676 if (port <= LAST_RESERVED_PORT && !capable(CAP_NET_BIND_SERVICE)) in vmci_transport_dgram_bind()
|
H A D | af_vsock.c | 672 !capable(CAP_NET_BIND_SERVICE)) { in __vsock_bind_connectible()
|
/openbmc/linux/net/ipv4/ |
H A D | af_inet.c | 510 !ns_capable(net->user_ns, CAP_NET_BIND_SERVICE)) in __inet_bind()
|
/openbmc/linux/net/sctp/ |
H A D | socket.c | 417 !ns_capable(net->user_ns, CAP_NET_BIND_SERVICE)) in sctp_do_bind() 1085 !ns_capable(net->user_ns, CAP_NET_BIND_SERVICE)) in sctp_connect_new_asoc()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | cma.c | 3806 if (snum < PROT_SOCK && !capable(CAP_NET_BIND_SERVICE)) in cma_use_port()
|
/openbmc/linux/Documentation/networking/ |
H A D | ip-sysctl.rst | 1339 require root or CAP_NET_BIND_SERVICE in order to bind to them.
|