Home
last modified time | relevance | path

Searched refs:user_ns (Results 1 – 8 of 8) sorted by relevance

/drivers/misc/
Duid_sys_stats.c198 struct user_namespace *user_ns = current_user_ns(); in calc_uid_cputime() local
205 uid = from_kuid_munged(user_ns, task_uid(p)); in calc_uid_cputime()
335 struct user_namespace *user_ns = current_user_ns(); in update_io_stats_uid() local
343 uid_t uid = from_kuid_munged(user_ns, task_uid(p)); in update_io_stats_uid()
/drivers/connector/
Dconnector.c177 if (ns_capable(net->user_ns, CAP_NET_ADMIN)) in cn_bind()
/drivers/net/ipvlan/
Dipvlan_main.c450 if (!ns_capable(dev_net(ipvlan->phy_dev)->user_ns, CAP_NET_ADMIN)) in ipvlan_nl_changelink()
554 if (!ns_capable(dev_net(phy_dev)->user_ns, CAP_NET_ADMIN)) in ipvlan_link_new()
/drivers/net/wireguard/
Dnetlink.c517 ret = !net || !ns_capable(net->user_ns, CAP_NET_ADMIN) ? -EPERM : 0; in wg_set_device()
/drivers/net/
Dtun.c584 !ns_capable(net->user_ns, CAP_NET_ADMIN); in tun_not_capable()
2812 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in tun_set_iff()
3116 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in __tun_chr_ioctl()
3395 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in __tun_chr_ioctl()
/drivers/infiniband/core/
Ddevice.c1692 if (!netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) { in ib_device_set_netns_put()
/drivers/net/ppp/
Dppp_generic.c392 if (!ns_capable(file->f_cred->user_ns, CAP_NET_ADMIN)) in ppp_open()
/drivers/net/bonding/
Dbond_main.c4527 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in bond_do_ioctl()