Home
last modified time | relevance | path

Searched refs:CAP_NET_RAW (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/capabilities/
H A Dtest_execve.c297 capng_update(CAPNG_ADD, CAPNG_INHERITABLE, CAP_NET_RAW); in do_tests()
298 capng_update(CAPNG_DROP, CAPNG_PERMITTED, CAP_NET_RAW); in do_tests()
299 capng_update(CAPNG_DROP, CAPNG_EFFECTIVE, CAP_NET_RAW); 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()
/openbmc/openbmc/meta-security/recipes-ids/suricata/files/
H A Dsuricata.service10 CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/colord/colord/
H A D08a32b2379fb5582f4312e59bf51a2823df56276.patch27 …_AUDIT_WRITE CAP_KILL CAP_MKNOD CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SYS_NICE CA…
/openbmc/linux/include/uapi/linux/
H A Dcapability.h210 #define CAP_NET_RAW 13 macro
/openbmc/linux/net/ipv4/
H A Dip_options.c396 if (!skb && !ns_capable(net->user_ns, CAP_NET_RAW)) { in __ip_options_compile()
431 if ((!skb && !ns_capable(net->user_ns, CAP_NET_RAW)) || opt->cipso) { in __ip_options_compile()
444 if (!skb && !ns_capable(net->user_ns, CAP_NET_RAW)) { in __ip_options_compile()
H A Dip_sockglue.c1009 if (!!val && !sockopt_ns_capable(sock_net(sk)->user_ns, CAP_NET_RAW) && in do_ip_setsockopt()
/openbmc/linux/net/ieee802154/
H A Dsocket.c906 !ns_capable(net->user_ns, CAP_NET_RAW)) { in dgram_setsockopt()
930 !ns_capable(net->user_ns, CAP_NET_RAW)) { in dgram_setsockopt()
1015 if (!capable(CAP_NET_RAW)) in ieee802154_create()
/openbmc/linux/net/ipv6/
H A Ddatagram.c877 if (!ns_capable(net->user_ns, CAP_NET_RAW)) { in ip6_datagram_send_ctl()
897 if (!ns_capable(net->user_ns, CAP_NET_RAW)) { in ip6_datagram_send_ctl()
922 if (!ns_capable(net->user_ns, CAP_NET_RAW)) { in ip6_datagram_send_ctl()
H A Dipv6_sockglue.c329 if (optname != IPV6_RTHDR && !sockopt_ns_capable(net->user_ns, CAP_NET_RAW)) in ipv6_set_opt_hdr()
627 if (valbool && !sockopt_ns_capable(net->user_ns, CAP_NET_RAW) && in do_ipv6_setsockopt()
H A Daf_inet6.c181 !ns_capable(net->user_ns, CAP_NET_RAW)) in inet6_create()
/openbmc/linux/net/bluetooth/
H A Dhci_sock.c1368 if (!capable(CAP_NET_RAW)) { in hci_sock_bind()
1878 !capable(CAP_NET_RAW)) { in hci_sock_sendmsg()
1901 if (!capable(CAP_NET_RAW)) { in hci_sock_sendmsg()
1981 if (!capable(CAP_NET_RAW)) { in hci_sock_setsockopt_old()
/openbmc/linux/drivers/infiniband/core/
H A Duverbs_std_types_qp.c136 if (!capable(CAP_NET_RAW)) in UVERBS_HANDLER()
H A Dcounters.c454 if (qp->qp_type == IB_QPT_RAW_PACKET && !capable(CAP_NET_RAW)) in rdma_counter_get_qp()
H A Duverbs_cmd.c1298 if (!capable(CAP_NET_RAW)) in create_qp()
1429 if (!capable(CAP_NET_RAW)) { in create_qp()
1854 if (cmd->base.qkey & IB_QP_SET_QKEY && !capable(CAP_NET_RAW)) { in modify_qp()
3202 if (!capable(CAP_NET_RAW)) in ib_uverbs_ex_create_flow()
/openbmc/linux/net/nfc/
H A Drawsock.c334 if (!ns_capable(net->user_ns, CAP_NET_RAW)) in rawsock_create()
H A Dllcp_sock.c1037 if (!capable(CAP_NET_RAW)) in llcp_sock_create()
/openbmc/linux/net/mctp/
H A Daf_mctp.c126 if (!capable(CAP_NET_RAW)) in mctp_sendmsg()
/openbmc/linux/Documentation/virt/uml/
H A Duser_mode_linux_howto_v2.rst263 capability ``CAP_NET_ADMIN`` or ``CAP_NET_RAW`` to the uml binary.
368 Privileges required: hybrid requires ``CAP_NET_RAW`` capability by
418 Privileges required: raw socket transport requires `CAP_NET_RAW`
477 Privileges required: GRE requires ``CAP_NET_RAW``
551 Privileges required: L2TPv3 requires ``CAP_NET_RAW`` for raw IP mode and
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Ddm.c361 if (!capable(CAP_SYS_RAWIO) || !capable(CAP_NET_RAW)) in handle_alloc_dm_sw_icm()
H A Dfs.c1920 if (!capable(CAP_NET_RAW)) in UVERBS_HANDLER()
2413 if (!capable(CAP_NET_RAW)) in UVERBS_HANDLER()
/openbmc/linux/net/core/
H A Dsock.c639 if (sk->sk_bound_dev_if && !ns_capable(net->user_ns, CAP_NET_RAW)) in sock_bindtoindex_locked()
1223 sockopt_ns_capable(sock_net(sk)->user_ns, CAP_NET_RAW) || in sk_setsockopt()
1372 if (!sockopt_ns_capable(sock_net(sk)->user_ns, CAP_NET_RAW) && in sk_setsockopt()
2820 if (!ns_capable(sock_net(sk)->user_ns, CAP_NET_RAW) && in __sock_cmsg_send()
/openbmc/linux/drivers/isdn/mISDN/
H A Dsocket.c755 if (!capable(CAP_NET_RAW)) in base_sock_create()
/openbmc/linux/net/llc/
H A Daf_llc.c177 if (!ns_capable(net->user_ns, CAP_NET_RAW)) in llc_ui_create()
/openbmc/u-boot/board/sandbox/
H A DREADME.sandbox239 sudo /sbin/setcap "CAP_NET_RAW+ep" /path/to/u-boot
/openbmc/linux/net/appletalk/
H A Dddp.c1036 if (sock->type == SOCK_RAW && !kern && !capable(CAP_NET_RAW)) in atalk_create()

12