Searched refs:user_ns (Results 1 – 8 of 8) sorted by relevance
/drivers/misc/ |
D | uid_sys_stats.c | 198 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/ |
D | connector.c | 177 if (ns_capable(net->user_ns, CAP_NET_ADMIN)) in cn_bind()
|
/drivers/net/ipvlan/ |
D | ipvlan_main.c | 450 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/ |
D | netlink.c | 517 ret = !net || !ns_capable(net->user_ns, CAP_NET_ADMIN) ? -EPERM : 0; in wg_set_device()
|
/drivers/net/ |
D | tun.c | 584 !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/ |
D | device.c | 1692 if (!netlink_ns_capable(skb, net->user_ns, CAP_NET_ADMIN)) { in ib_device_set_netns_put()
|
/drivers/net/ppp/ |
D | ppp_generic.c | 392 if (!ns_capable(file->f_cred->user_ns, CAP_NET_ADMIN)) in ppp_open()
|
/drivers/net/bonding/ |
D | bond_main.c | 4527 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in bond_do_ioctl()
|