| /OK3568_Linux_fs/kernel/tools/testing/selftests/capabilities/ |
| H A D | test_execve.c | 297 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()
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-extended/iputils/iputils/ |
| H A D | 0001-rarpd-rdisc-Drop-PrivateUsers.patch | 20 @@ -12,7 +12,6 @@ AmbientCapabilities=CAP_NET_RAW
|
| /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 D | capability.h | 207 #define CAP_NET_RAW 13 macro
|
| /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 D | capability.h | 207 #define CAP_NET_RAW 13 macro
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | capability.h | 209 #define CAP_NET_RAW 13 macro
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | ip_options.c | 409 if (!skb && !ns_capable(net->user_ns, CAP_NET_RAW)) { in __ip_options_compile() 444 if ((!skb && !ns_capable(net->user_ns, CAP_NET_RAW)) || opt->cipso) { in __ip_options_compile() 457 if (!skb && !ns_capable(net->user_ns, CAP_NET_RAW)) { in __ip_options_compile()
|
| H A D | ip_sockglue.c | 1340 if (!!val && !ns_capable(sock_net(sk)->user_ns, CAP_NET_RAW) && in do_ip_setsockopt()
|
| H A D | af_inet.c | 311 !ns_capable(net->user_ns, CAP_NET_RAW)) in inet_create()
|
| /OK3568_Linux_fs/kernel/net/ieee802154/ |
| H A D | socket.c | 909 !ns_capable(net->user_ns, CAP_NET_RAW)) { in dgram_setsockopt() 933 !ns_capable(net->user_ns, CAP_NET_RAW)) { in dgram_setsockopt() 1019 if (!capable(CAP_NET_RAW)) in ieee802154_create()
|
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | datagram.c | 870 if (!ns_capable(net->user_ns, CAP_NET_RAW)) { in ip6_datagram_send_ctl() 890 if (!ns_capable(net->user_ns, CAP_NET_RAW)) { in ip6_datagram_send_ctl() 915 if (!ns_capable(net->user_ns, CAP_NET_RAW)) { in ip6_datagram_send_ctl()
|
| H A D | ipv6_sockglue.c | 328 if (optname != IPV6_RTHDR && !ns_capable(net->user_ns, CAP_NET_RAW)) in ipv6_set_opt_hdr() 632 if (valbool && !ns_capable(net->user_ns, CAP_NET_RAW) && in do_ipv6_setsockopt()
|
| H A D | af_inet6.c | 172 !ns_capable(net->user_ns, CAP_NET_RAW)) in inet6_create()
|
| /OK3568_Linux_fs/kernel/net/bluetooth/ |
| H A D | hci_sock.c | 1275 if (!capable(CAP_NET_RAW)) { in hci_sock_bind() 1810 !capable(CAP_NET_RAW)) { in hci_sock_sendmsg() 1833 if (!capable(CAP_NET_RAW)) { in hci_sock_sendmsg() 1920 if (!capable(CAP_NET_RAW)) { in hci_sock_setsockopt()
|
| H A D | l2cap_sock.c | 1891 if (sock->type == SOCK_RAW && !kern && !capable(CAP_NET_RAW)) in l2cap_sock_create()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/core/ |
| H A D | uverbs_std_types_qp.c | 136 if (!capable(CAP_NET_RAW)) in UVERBS_HANDLER()
|
| H A D | counters.c | 412 if (qp->qp_type == IB_QPT_RAW_PACKET && !capable(CAP_NET_RAW)) in rdma_counter_get_qp()
|
| H A D | uverbs_cmd.c | 1264 if (!capable(CAP_NET_RAW)) in create_qp() 1396 if (!capable(CAP_NET_RAW)) { in create_qp() 3190 if (!capable(CAP_NET_RAW)) in ib_uverbs_ex_create_flow()
|
| /OK3568_Linux_fs/kernel/net/nfc/ |
| H A D | rawsock.c | 332 if (!ns_capable(net->user_ns, CAP_NET_RAW)) in rawsock_create()
|
| H A D | llcp_sock.c | 1032 if (!capable(CAP_NET_RAW)) in llcp_sock_create()
|
| /OK3568_Linux_fs/kernel/Documentation/virt/uml/ |
| H A D | user_mode_linux_howto_v2.rst | 258 capability ``CAP_NET_ADMIN`` or ``CAP_NET_RAW``, to the uml binary. 363 Privileges required: hybrid requires ``CAP_NET_RAW`` capability by 413 Privileges required: raw socket transport requires `CAP_NET_RAW` 472 Privileges required: GRE requires ``CAP_NET_RAW`` 546 Privileges required: L2TPv3 requires ``CAP_NET_RAW`` for raw IP mode and
|
| /OK3568_Linux_fs/kernel/drivers/isdn/mISDN/ |
| H A D | socket.c | 755 if (!capable(CAP_NET_RAW)) in base_sock_create()
|
| /OK3568_Linux_fs/kernel/net/llc/ |
| H A D | af_llc.c | 177 if (!ns_capable(net->user_ns, CAP_NET_RAW)) in llc_ui_create()
|
| /OK3568_Linux_fs/kernel/net/xdp/ |
| H A D | xsk.c | 1184 if (!ns_capable(net->user_ns, CAP_NET_RAW)) in xsk_create()
|
| /OK3568_Linux_fs/u-boot/board/sandbox/ |
| H A D | README.sandbox | 214 sudo /sbin/setcap "CAP_NET_RAW+ep" /path/to/u-boot
|
| /OK3568_Linux_fs/kernel/net/appletalk/ |
| H A D | ddp.c | 1036 if (sock->type == SOCK_RAW && !kern && !capable(CAP_NET_RAW)) in atalk_create()
|