| /kernel/linux/linux-5.10/net/bridge/ |
| D | br_ioctl.c | 89 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in add_del_if() 181 if (!ns_capable(dev_net(dev)->user_ns, CAP_NET_ADMIN)) in old_dev_ioctl() 188 if (!ns_capable(dev_net(dev)->user_ns, CAP_NET_ADMIN)) in old_dev_ioctl() 195 if (!ns_capable(dev_net(dev)->user_ns, CAP_NET_ADMIN)) in old_dev_ioctl() 202 if (!ns_capable(dev_net(dev)->user_ns, CAP_NET_ADMIN)) in old_dev_ioctl() 242 if (!ns_capable(dev_net(dev)->user_ns, CAP_NET_ADMIN)) in old_dev_ioctl() 249 if (!ns_capable(dev_net(dev)->user_ns, CAP_NET_ADMIN)) in old_dev_ioctl() 258 if (!ns_capable(dev_net(dev)->user_ns, CAP_NET_ADMIN)) in old_dev_ioctl() 272 if (!ns_capable(dev_net(dev)->user_ns, CAP_NET_ADMIN)) in old_dev_ioctl() 335 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in old_deviceless() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/ |
| D | sysfs.c | 71 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_interfmode_show() 107 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_interfmode_store() 152 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_preamble_show() 177 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_preamble_store()
|
| /kernel/linux/linux-5.10/net/atm/ |
| D | resources.c | 274 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl() 287 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl() 313 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl() 326 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl() 370 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl()
|
| D | raw.c | 50 if (!capable(CAP_NET_ADMIN) && in atm_send_aal0()
|
| /kernel/linux/linux-5.10/net/core/ |
| D | dev_ioctl.c | 340 if (no_module && capable(CAP_NET_ADMIN)) in dev_load() 432 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in dev_ioctl() 449 if (!capable(CAP_NET_ADMIN)) in dev_ioctl() 474 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in dev_ioctl()
|
| D | net-sysfs.c | 86 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in netdev_store() 382 if (!capable(CAP_NET_ADMIN)) in tx_queue_len_store() 399 if (!capable(CAP_NET_ADMIN)) in gro_flush_timeout_store() 416 if (!capable(CAP_NET_ADMIN)) in napi_defer_hard_irqs_store() 431 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in ifalias_store() 797 if (!capable(CAP_NET_ADMIN)) in store_rps_map() 886 if (!capable(CAP_NET_ADMIN)) in store_rps_dev_flow_table_cnt() 1228 if (!capable(CAP_NET_ADMIN)) in tx_maxrate_store() 1455 if (!capable(CAP_NET_ADMIN)) in xps_cpus_store() 1555 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in xps_rxqs_store()
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
| D | sysfs.c | 44 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_show() 87 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_store()
|
| /kernel/linux/linux-5.10/net/8021q/ |
| D | vlan.c | 574 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in vlan_ioctl_handler() 584 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in vlan_ioctl_handler() 593 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in vlan_ioctl_handler() 602 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in vlan_ioctl_handler() 617 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in vlan_ioctl_handler() 624 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in vlan_ioctl_handler()
|
| /kernel/liteos_a/net/lwip-2.1/porting/src/ |
| D | sockets.c | 158 if (!IsCapPermit(CAP_NET_ADMIN)) { in lwip_setsockopt_wrap() 418 if (!IsCapPermit(CAP_NET_ADMIN)) { 592 if (!IsCapPermit(CAP_NET_ADMIN)) { 688 if (!IsCapPermit(CAP_NET_ADMIN)) { 768 if (!IsCapPermit(CAP_NET_ADMIN)) { 850 if (!IsCapPermit(CAP_NET_ADMIN)) { 912 if (!IsCapPermit(CAP_NET_ADMIN)) { 1151 if (!IsCapPermit(CAP_NET_ADMIN)) { 1200 if (!IsCapPermit(CAP_NET_ADMIN)) { 1267 if (!IsCapPermit(CAP_NET_ADMIN)) { [all …]
|
| /kernel/linux/linux-5.10/net/ax25/ |
| D | ax25_uid.c | 92 if (!capable(CAP_NET_ADMIN)) in ax25_uid_ioctl() 118 if (!capable(CAP_NET_ADMIN)) in ax25_uid_ioctl()
|
| /kernel/linux/linux-5.10/net/bluetooth/hidp/ |
| D | sock.c | 63 if (!capable(CAP_NET_ADMIN)) in do_hidp_sock_ioctl() 90 if (!capable(CAP_NET_ADMIN)) in do_hidp_sock_ioctl() 177 if (!capable(CAP_NET_ADMIN)) in hidp_sock_compat_ioctl()
|
| /kernel/linux/linux-5.10/drivers/net/bonding/ |
| D | bond_sysfs.c | 537 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_actor_key() 557 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_partner_key() 577 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) { in bonding_show_ad_partner_mac() 686 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_actor_sys_prio() 700 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_actor_system() 715 if (BOND_MODE(bond) == BOND_MODE_8023AD && capable(CAP_NET_ADMIN)) in bonding_show_ad_user_port_key()
|
| /kernel/liteos_a/security/cap/ |
| D | capability_type.h | 48 #define CAP_NET_ADMIN 10 macro
|
| /kernel/linux/linux-5.10/net/bluetooth/ |
| D | hci_sock.c | 954 if (!capable(CAP_NET_ADMIN)) in hci_sock_bound_ioctl() 965 if (!capable(CAP_NET_ADMIN)) in hci_sock_bound_ioctl() 970 if (!capable(CAP_NET_ADMIN)) in hci_sock_bound_ioctl() 1010 if (sk_capable(sk, CAP_NET_ADMIN)) in hci_sock_ioctl() 1035 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl() 1040 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl() 1045 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl() 1050 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl() 1062 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl() 1169 if (capable(CAP_NET_ADMIN)) in hci_sock_bind() [all …]
|
| /kernel/linux/linux-5.10/crypto/ |
| D | crypto_user_base.c | 268 if (!netlink_capable(skb, CAP_NET_ADMIN)) in crypto_update_alg() 303 if (!netlink_capable(skb, CAP_NET_ADMIN)) in crypto_del_alg() 343 if (!netlink_capable(skb, CAP_NET_ADMIN)) in crypto_add_alg() 385 if (!netlink_capable(skb, CAP_NET_ADMIN)) in crypto_del_rng()
|
| /kernel/linux/linux-5.10/net/mptcp/ |
| D | mptcp_diag.c | 54 netlink_net_capable(in_skb, CAP_NET_ADMIN)); in mptcp_diag_dump_one() 74 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN); in mptcp_diag_dump()
|
| /kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/ |
| D | ipoib_vlan.c | 175 if (!capable(CAP_NET_ADMIN)) in ipoib_vlan_add() 253 if (!capable(CAP_NET_ADMIN)) in ipoib_vlan_delete()
|
| /kernel/linux/linux-5.10/net/bluetooth/bnep/ |
| D | sock.c | 66 if (!capable(CAP_NET_ADMIN)) in do_bnep_sock_ioctl() 92 if (!capable(CAP_NET_ADMIN)) in do_bnep_sock_ioctl()
|
| /kernel/linux/linux-5.10/net/bluetooth/cmtp/ |
| D | sock.c | 79 if (!capable(CAP_NET_ADMIN)) in do_cmtp_sock_ioctl() 104 if (!capable(CAP_NET_ADMIN)) in do_cmtp_sock_ioctl()
|
| /kernel/linux/linux-5.10/net/ipv4/ |
| D | raw_diag.c | 114 netlink_net_capable(in_skb, CAP_NET_ADMIN)); in raw_diag_dump_one() 144 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN); in raw_diag_dump()
|
| /kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
| D | capability.h | 82 #define CAP_NET_ADMIN 12 macro
|
| /kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
| D | capability.h | 71 #define CAP_NET_ADMIN 12 macro
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | capability.h | 203 #define CAP_NET_ADMIN 12 macro
|
| /kernel/linux/linux-5.10/drivers/net/wan/ |
| D | hdlc_raw.c | 58 if (!capable(CAP_NET_ADMIN)) in raw_ioctl()
|
| /kernel/linux/linux-5.10/net/ |
| D | sysctl_net.c | 48 if (ns_capable_noaudit(net->user_ns, CAP_NET_ADMIN)) { in net_ctl_permissions()
|