Home
last modified time | relevance | path

Searched refs:CAP_NET_ADMIN (Results 1 – 25 of 211) sorted by relevance

123456789

/OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/r8168/
H A Drtltool.c59 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
80 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
97 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
112 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
121 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
136 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
163 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
166 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
180 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
205 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
[all …]
/OK3568_Linux_fs/kernel/net/bridge/
H A Dbr_ioctl.c89 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43legacy/
H A Dsysfs.c71 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()
/OK3568_Linux_fs/kernel/net/atm/
H A Dresources.c274 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()
H A Draw.c50 if (!capable(CAP_NET_ADMIN) && in atm_send_aal0()
/OK3568_Linux_fs/kernel/net/core/
H A Ddev_ioctl.c340 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()
H A Dnet-sysfs.c86 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()
/OK3568_Linux_fs/kernel/net/8021q/
H A Dvlan.c574 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43/
H A Dsysfs.c44 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_show()
87 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_store()
/OK3568_Linux_fs/kernel/net/bluetooth/
H A Dhci_sock.c954 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()
1003 if (capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1028 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1033 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1038 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1043 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1055 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1162 if (capable(CAP_NET_ADMIN)) in hci_sock_bind()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/bonding/
H A Dbond_sysfs.c537 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()
H A Dbond_procfs.c141 if (capable(CAP_NET_ADMIN)) { in bond_info_show_master()
209 if (capable(CAP_NET_ADMIN)) { in bond_info_show_slave()
/OK3568_Linux_fs/kernel/net/bluetooth/hidp/
H A Dsock.c63 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()
/OK3568_Linux_fs/kernel/net/ax25/
H A Dax25_uid.c92 if (!capable(CAP_NET_ADMIN)) in ax25_uid_ioctl()
118 if (!capable(CAP_NET_ADMIN)) in ax25_uid_ioctl()
/OK3568_Linux_fs/kernel/crypto/
H A Dcrypto_user_base.c268 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()
/OK3568_Linux_fs/kernel/net/mptcp/
H A Dmptcp_diag.c54 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()
/OK3568_Linux_fs/kernel/net/bluetooth/bnep/
H A Dsock.c66 if (!capable(CAP_NET_ADMIN)) in do_bnep_sock_ioctl()
92 if (!capable(CAP_NET_ADMIN)) in do_bnep_sock_ioctl()
/OK3568_Linux_fs/kernel/net/bluetooth/cmtp/
H A Dsock.c79 if (!capable(CAP_NET_ADMIN)) in do_cmtp_sock_ioctl()
104 if (!capable(CAP_NET_ADMIN)) in do_cmtp_sock_ioctl()
/OK3568_Linux_fs/kernel/drivers/infiniband/ulp/ipoib/
H A Dipoib_vlan.c175 if (!capable(CAP_NET_ADMIN)) in ipoib_vlan_add()
253 if (!capable(CAP_NET_ADMIN)) in ipoib_vlan_delete()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Draw_diag.c114 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()
H A Dudp_diag.c74 netlink_net_capable(in_skb, CAP_NET_ADMIN)); in udp_dump_one()
95 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN); in udp_dump()
/OK3568_Linux_fs/kernel/net/phonet/
H A Dpn_netlink.c61 if (!netlink_capable(skb, CAP_NET_ADMIN)) in addr_doit()
228 if (!netlink_capable(skb, CAP_NET_ADMIN)) in route_doit()
/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 Dcapability.h201 #define CAP_NET_ADMIN 12 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 Dcapability.h201 #define CAP_NET_ADMIN 12 macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dcapability.h203 #define CAP_NET_ADMIN 12 macro

123456789