nsproxy 690 drivers/android/binderfs.c info->ipc_ns = get_ipc_ns(current->nsproxy->ipc_ns); nsproxy 1673 drivers/infiniband/core/device.c ret = rdma_dev_change_netns(dev, current->nsproxy->net_ns, net); nsproxy 503 drivers/infiniband/core/ucma.c cm_id = __rdma_create_id(current->nsproxy->net_ns, nsproxy 988 drivers/infiniband/core/user_mad.c if (!rdma_dev_access_netns(port->ib_dev, current->nsproxy->net_ns)) { nsproxy 1086 drivers/infiniband/core/user_mad.c if (!rdma_dev_access_netns(port->ib_dev, current->nsproxy->net_ns)) { nsproxy 1060 drivers/infiniband/core/uverbs_main.c if (!rdma_dev_access_netns(ib_dev, current->nsproxy->net_ns)) { nsproxy 597 drivers/net/ppp/ppp_generic.c err = ppp_unattached_ioctl(current->nsproxy->net_ns, nsproxy 2596 drivers/net/ppp/ppp_generic.c return ppp_register_net_channel(current->nsproxy->net_ns, chan); nsproxy 503 drivers/net/tap.c struct net *net = current->nsproxy->net_ns; nsproxy 3420 drivers/net/tun.c struct net *net = current->nsproxy->net_ns; nsproxy 1442 drivers/staging/unisys/visornic/visornic_main.c for_each_netdev_rcu(current->nsproxy->net_ns, dev) { nsproxy 2659 fs/cifs/connect.c if (!net_eq(cifs_net_ns(server), current->nsproxy->net_ns)) nsproxy 2772 fs/cifs/connect.c cifs_set_net_ns(tcp_ses, get_net(current->nsproxy->net_ns)); nsproxy 80 fs/cifs/dns_resolve.c rc = dns_query(current->nsproxy->net_ns, NULL, hostname, len, nsproxy 265 fs/devpts/inode.c (current->nsproxy->mnt_ns == init_task.nsproxy->mnt_ns); nsproxy 270 fs/fs_context.c fc->net_ns = get_net(current->nsproxy->net_ns); nsproxy 122 fs/fsopen.c if (!ns_capable(current->nsproxy->mnt_ns->user_ns, CAP_SYS_ADMIN)) nsproxy 165 fs/fsopen.c if (!ns_capable(current->nsproxy->mnt_ns->user_ns, CAP_SYS_ADMIN)) nsproxy 25 fs/lockd/procfs.c struct lockd_net *ln = net_generic(current->nsproxy->net_ns, nsproxy 52 fs/lockd/procfs.c struct lockd_net *ln = net_generic(current->nsproxy->net_ns, nsproxy 668 fs/namespace.c struct mnt_namespace *ns = current->nsproxy->mnt_ns; nsproxy 776 fs/namespace.c return mnt->mnt_ns == current->nsproxy->mnt_ns; nsproxy 1643 fs/namespace.c return ns_capable(current->nsproxy->mnt_ns->user_ns, CAP_SYS_ADMIN); nsproxy 1746 fs/namespace.c return current->nsproxy->mnt_ns->seq >= mnt_ns->seq; nsproxy 2045 fs/namespace.c struct user_namespace *user_ns = current->nsproxy->mnt_ns->user_ns; nsproxy 2322 fs/namespace.c struct user_namespace *user_ns = current->nsproxy->mnt_ns->user_ns; nsproxy 3470 fs/namespace.c ns = alloc_mnt_ns(current->nsproxy->mnt_ns->user_ns, true); nsproxy 3694 fs/namespace.c touch_mnt_namespace(current->nsproxy->mnt_ns); nsproxy 3734 fs/namespace.c init_task.nsproxy->mnt_ns = ns; nsproxy 3827 fs/namespace.c ns_root.mnt = ¤t->nsproxy->mnt_ns->root->mnt; nsproxy 3910 fs/namespace.c struct mnt_namespace *ns = current->nsproxy->mnt_ns; nsproxy 3946 fs/namespace.c struct nsproxy *nsproxy; nsproxy 3949 fs/namespace.c nsproxy = task->nsproxy; nsproxy 3950 fs/namespace.c if (nsproxy) { nsproxy 3951 fs/namespace.c ns = &nsproxy->mnt_ns->ns; nsproxy 3964 fs/namespace.c static int mntns_install(struct nsproxy *nsproxy, struct ns_common *ns) nsproxy 3983 fs/namespace.c old_mnt_ns = nsproxy->mnt_ns; nsproxy 3984 fs/namespace.c nsproxy->mnt_ns = mnt_ns; nsproxy 3991 fs/namespace.c nsproxy->mnt_ns = old_mnt_ns; nsproxy 952 fs/nfs/super.c data->net = current->nsproxy->net_ns; nsproxy 2315 fs/nfs/super.c data->net = current->nsproxy->net_ns; nsproxy 243 fs/nfsd/export.c nfsd_file_cache_purge(current->nsproxy->net_ns); nsproxy 50 fs/nfsd/fault_inject.c struct net *net = current->nsproxy->net_ns; nsproxy 7017 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 7035 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 7058 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 7085 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 7121 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 7192 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 7225 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 7246 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 7270 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 7323 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 7357 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 7378 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 7401 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 7452 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 7486 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 7508 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 7555 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 7577 fs/nfsd/nfs4state.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 157 fs/nfsd/nfsctl.c return exports_net_open(current->nsproxy->net_ns, file); nsproxy 1343 fs/nfsd/nfsctl.c struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nsproxy 257 fs/proc/proc_net.c struct nsproxy *ns; nsproxy 264 fs/proc/proc_net.c ns = task->nsproxy; nsproxy 242 fs/proc_namespace.c struct nsproxy *nsp; nsproxy 253 fs/proc_namespace.c nsp = task->nsproxy; nsproxy 27 include/linux/init_task.h extern struct nsproxy init_nsproxy; nsproxy 40 include/linux/nsproxy.h extern struct nsproxy init_nsproxy; nsproxy 70 include/linux/nsproxy.h void switch_task_namespaces(struct task_struct *tsk, struct nsproxy *new); nsproxy 71 include/linux/nsproxy.h void free_nsproxy(struct nsproxy *ns); nsproxy 72 include/linux/nsproxy.h int unshare_nsproxy_namespaces(unsigned long, struct nsproxy **, nsproxy 76 include/linux/nsproxy.h static inline void put_nsproxy(struct nsproxy *ns) nsproxy 83 include/linux/nsproxy.h static inline void get_nsproxy(struct nsproxy *ns) nsproxy 11 include/linux/proc_ns.h struct nsproxy; nsproxy 22 include/linux/proc_ns.h int (*install)(struct nsproxy *nsproxy, struct ns_common *ns); nsproxy 47 include/linux/sched.h struct nsproxy; nsproxy 911 include/linux/sched.h struct nsproxy *nsproxy; nsproxy 35 include/linux/sysctl.h struct nsproxy; nsproxy 82 include/linux/utsname.h return ¤t->nsproxy->uts_ns->name; nsproxy 110 init/init_task.c .nsproxy = &init_nsproxy, nsproxy 20 ipc/ipc_sysctl.c struct ipc_namespace *ipc_ns = current->nsproxy->ipc_ns; nsproxy 51 ipc/ipc_sysctl.c struct ipc_namespace *ns = current->nsproxy->ipc_ns; nsproxy 91 ipc/ipc_sysctl.c struct ipc_namespace *ns = current->nsproxy->ipc_ns; nsproxy 97 ipc/ipc_sysctl.c ret = sem_check_semmni(current->nsproxy->ipc_ns); nsproxy 16 ipc/mq_sysctl.c struct ipc_namespace *ipc_ns = current->nsproxy->ipc_ns; nsproxy 387 ipc/mqueue.c ctx->ipc_ns = get_ipc_ns(current->nsproxy->ipc_ns); nsproxy 818 ipc/mqueue.c struct vfsmount *mnt = current->nsproxy->ipc_ns->mq_mnt; nsproxy 880 ipc/mqueue.c struct ipc_namespace *ipc_ns = current->nsproxy->ipc_ns; nsproxy 285 ipc/msg.c ns = current->nsproxy->ipc_ns; nsproxy 579 ipc/msg.c ns = current->nsproxy->ipc_ns; nsproxy 711 ipc/msg.c ns = current->nsproxy->ipc_ns; nsproxy 826 ipc/msg.c ns = current->nsproxy->ipc_ns; nsproxy 1076 ipc/msg.c ns = current->nsproxy->ipc_ns; nsproxy 164 ipc/namespace.c struct nsproxy *nsproxy; nsproxy 167 ipc/namespace.c nsproxy = task->nsproxy; nsproxy 168 ipc/namespace.c if (nsproxy) nsproxy 169 ipc/namespace.c ns = get_ipc_ns(nsproxy->ipc_ns); nsproxy 180 ipc/namespace.c static int ipcns_install(struct nsproxy *nsproxy, struct ns_common *new) nsproxy 189 ipc/namespace.c put_ipc_ns(nsproxy->ipc_ns); nsproxy 190 ipc/namespace.c nsproxy->ipc_ns = get_ipc_ns(ns); nsproxy 591 ipc/sem.c ns = current->nsproxy->ipc_ns; nsproxy 1643 ipc/sem.c ns = current->nsproxy->ipc_ns; nsproxy 1763 ipc/sem.c ns = current->nsproxy->ipc_ns; nsproxy 1980 ipc/sem.c ns = current->nsproxy->ipc_ns; nsproxy 2343 ipc/sem.c sma = sem_obtain_object_check(tsk->nsproxy->ipc_ns, semid); nsproxy 385 ipc/shm.c struct ipc_namespace *ns = task->nsproxy->ipc_ns; nsproxy 736 ipc/shm.c ns = current->nsproxy->ipc_ns; nsproxy 1149 ipc/shm.c ns = current->nsproxy->ipc_ns; nsproxy 1341 ipc/shm.c ns = current->nsproxy->ipc_ns; nsproxy 1479 ipc/shm.c ns = current->nsproxy->ipc_ns; nsproxy 872 ipc/util.c iter->ns = get_ipc_ns(current->nsproxy->ipc_ns); nsproxy 660 kernel/bpf/devmap.c return __dev_map_update_elem(current->nsproxy->net_ns, nsproxy 717 kernel/bpf/devmap.c return __dev_map_hash_update_elem(current->nsproxy->net_ns, nsproxy 99 kernel/bpf/offload.c offload->netdev = dev_get_by_index(current->nsproxy->net_ns, nsproxy 364 kernel/bpf/offload.c struct net *net = current->nsproxy->net_ns; nsproxy 1374 kernel/cgroup/cgroup.c cset = current->nsproxy->cgroup_ns->root_cset; nsproxy 1856 kernel/cgroup/cgroup.c if (current->nsproxy->cgroup_ns == &init_cgroup_ns) { nsproxy 2198 kernel/cgroup/cgroup.c ctx->ns = current->nsproxy->cgroup_ns; nsproxy 3738 kernel/cgroup/cgroup.c struct cgroup_namespace *ns = current->nsproxy->cgroup_ns; nsproxy 4733 kernel/cgroup/cgroup.c struct cgroup_namespace *ns = current->nsproxy->cgroup_ns; nsproxy 5917 kernel/cgroup/cgroup.c current->nsproxy->cgroup_ns); nsproxy 3598 kernel/cgroup/cpuset.c current->nsproxy->cgroup_ns); nsproxy 98 kernel/cgroup/namespace.c static int cgroupns_install(struct nsproxy *nsproxy, struct ns_common *ns) nsproxy 107 kernel/cgroup/namespace.c if (cgroup_ns == nsproxy->cgroup_ns) nsproxy 111 kernel/cgroup/namespace.c put_cgroup_ns(nsproxy->cgroup_ns); nsproxy 112 kernel/cgroup/namespace.c nsproxy->cgroup_ns = cgroup_ns; nsproxy 120 kernel/cgroup/namespace.c struct nsproxy *nsproxy; nsproxy 123 kernel/cgroup/namespace.c nsproxy = task->nsproxy; nsproxy 124 kernel/cgroup/namespace.c if (nsproxy) { nsproxy 125 kernel/cgroup/namespace.c ns = nsproxy->cgroup_ns; nsproxy 1814 kernel/fork.c current->nsproxy->pid_ns_for_children)) nsproxy 2025 kernel/fork.c pid = alloc_pid(p->nsproxy->pid_ns_for_children); nsproxy 2814 kernel/fork.c struct nsproxy *new_nsproxy = NULL; nsproxy 29 kernel/nsproxy.c struct nsproxy init_nsproxy = { nsproxy 45 kernel/nsproxy.c static inline struct nsproxy *create_nsproxy(void) nsproxy 47 kernel/nsproxy.c struct nsproxy *nsproxy; nsproxy 49 kernel/nsproxy.c nsproxy = kmem_cache_alloc(nsproxy_cachep, GFP_KERNEL); nsproxy 50 kernel/nsproxy.c if (nsproxy) nsproxy 51 kernel/nsproxy.c atomic_set(&nsproxy->count, 1); nsproxy 52 kernel/nsproxy.c return nsproxy; nsproxy 60 kernel/nsproxy.c static struct nsproxy *create_new_namespaces(unsigned long flags, nsproxy 64 kernel/nsproxy.c struct nsproxy *new_nsp; nsproxy 71 kernel/nsproxy.c new_nsp->mnt_ns = copy_mnt_ns(flags, tsk->nsproxy->mnt_ns, user_ns, new_fs); nsproxy 77 kernel/nsproxy.c new_nsp->uts_ns = copy_utsname(flags, user_ns, tsk->nsproxy->uts_ns); nsproxy 83 kernel/nsproxy.c new_nsp->ipc_ns = copy_ipcs(flags, user_ns, tsk->nsproxy->ipc_ns); nsproxy 90 kernel/nsproxy.c copy_pid_ns(flags, user_ns, tsk->nsproxy->pid_ns_for_children); nsproxy 97 kernel/nsproxy.c tsk->nsproxy->cgroup_ns); nsproxy 103 kernel/nsproxy.c new_nsp->net_ns = copy_net_ns(flags, user_ns, tsk->nsproxy->net_ns); nsproxy 136 kernel/nsproxy.c struct nsproxy *old_ns = tsk->nsproxy; nsproxy 138 kernel/nsproxy.c struct nsproxy *new_ns; nsproxy 165 kernel/nsproxy.c tsk->nsproxy = new_ns; nsproxy 169 kernel/nsproxy.c void free_nsproxy(struct nsproxy *ns) nsproxy 189 kernel/nsproxy.c struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) nsproxy 213 kernel/nsproxy.c void switch_task_namespaces(struct task_struct *p, struct nsproxy *new) nsproxy 215 kernel/nsproxy.c struct nsproxy *ns; nsproxy 220 kernel/nsproxy.c ns = p->nsproxy; nsproxy 221 kernel/nsproxy.c p->nsproxy = new; nsproxy 236 kernel/nsproxy.c struct nsproxy *new_nsproxy; nsproxy 271 kernel/nsproxy.c nsproxy_cachep = KMEM_CACHE(nsproxy, SLAB_PANIC); nsproxy 360 kernel/pid_namespace.c if (task->nsproxy) { nsproxy 361 kernel/pid_namespace.c ns = task->nsproxy->pid_ns_for_children; nsproxy 383 kernel/pid_namespace.c static int pidns_install(struct nsproxy *nsproxy, struct ns_common *ns) nsproxy 409 kernel/pid_namespace.c put_pid_ns(nsproxy->pid_ns_for_children); nsproxy 410 kernel/pid_namespace.c nsproxy->pid_ns_for_children = get_pid_ns(new); nsproxy 1310 kernel/sys.c if (!ns_capable(current->nsproxy->uts_ns->user_ns, CAP_SYS_ADMIN)) nsproxy 1363 kernel/sys.c if (!ns_capable(current->nsproxy->uts_ns->user_ns, CAP_SYS_ADMIN)) nsproxy 1232 kernel/sysctl_binary.c struct net *net = current->nsproxy->net_ns; nsproxy 1256 kernel/user_namespace.c static int userns_install(struct nsproxy *nsproxy, struct ns_common *ns) nsproxy 125 kernel/utsname.c struct nsproxy *nsproxy; nsproxy 128 kernel/utsname.c nsproxy = task->nsproxy; nsproxy 129 kernel/utsname.c if (nsproxy) { nsproxy 130 kernel/utsname.c ns = nsproxy->uts_ns; nsproxy 143 kernel/utsname.c static int utsns_install(struct nsproxy *nsproxy, struct ns_common *new) nsproxy 152 kernel/utsname.c put_uts_ns(nsproxy->uts_ns); nsproxy 153 kernel/utsname.c nsproxy->uts_ns = ns; nsproxy 22 kernel/utsname_sysctl.c uts_ns = current->nsproxy->uts_ns; nsproxy 965 net/9p/trans_fd.c err = __sock_create(current->nsproxy->net_ns, PF_INET, nsproxy 1016 net/9p/trans_fd.c err = __sock_create(current->nsproxy->net_ns, PF_UNIX, nsproxy 286 net/bpf/test_run.c sock_net_set(sk, current->nsproxy->net_ns); nsproxy 300 net/bpf/test_run.c skb->protocol = eth_type_trans(skb, current->nsproxy->net_ns->loopback_dev); nsproxy 365 net/bpf/test_run.c rxqueue = __netif_get_rx_queue(current->nsproxy->net_ns->loopback_dev, 0); nsproxy 144 net/ceph/ceph_common.c if (!net_eq(current->nsproxy->net_ns, read_pnet(&client->msgr.net))) nsproxy 1894 net/ceph/messenger.c ip_len = dns_query(current->nsproxy->net_ns, nsproxy 3058 net/ceph/messenger.c write_pnet(&msgr->net, get_net(current->nsproxy->net_ns)); nsproxy 118 net/core/flow_dissector.c net = current->nsproxy->net_ns; nsproxy 172 net/core/flow_dissector.c return flow_dissector_bpf_prog_detach(current->nsproxy->net_ns); nsproxy 1575 net/core/net-sysfs.c struct net *net = current->nsproxy->net_ns; nsproxy 1582 net/core/net-sysfs.c struct net *ns = current->nsproxy->net_ns; nsproxy 684 net/core/net_namespace.c struct nsproxy *nsproxy; nsproxy 686 net/core/net_namespace.c nsproxy = tsk->nsproxy; nsproxy 687 net/core/net_namespace.c if (nsproxy) nsproxy 688 net/core/net_namespace.c net = get_net(nsproxy->net_ns); nsproxy 1337 net/core/net_namespace.c struct nsproxy *nsproxy; nsproxy 1340 net/core/net_namespace.c nsproxy = task->nsproxy; nsproxy 1341 net/core/net_namespace.c if (nsproxy) nsproxy 1342 net/core/net_namespace.c net = get_net(nsproxy->net_ns); nsproxy 1358 net/core/net_namespace.c static int netns_install(struct nsproxy *nsproxy, struct ns_common *ns) nsproxy 1366 net/core/net_namespace.c put_net(nsproxy->net_ns); nsproxy 1367 net/core/net_namespace.c nsproxy->net_ns = get_net(net); nsproxy 646 net/core/netpoll.c struct net *net = current->nsproxy->net_ns; nsproxy 502 net/core/pktgen.c struct pktgen_net *pn = net_generic(current->nsproxy->net_ns, pg_net_id); nsproxy 2391 net/netfilter/nf_conntrack_core.c if (current->nsproxy->net_ns != &init_net) nsproxy 682 net/rds/tcp.c struct net *net = current->nsproxy->net_ns; nsproxy 5654 net/sctp/socket.c if (!net_eq(current->nsproxy->net_ns, sock_net(sk))) nsproxy 329 net/sctp/sysctl.c struct net *net = current->nsproxy->net_ns; nsproxy 375 net/sctp/sysctl.c struct net *net = current->nsproxy->net_ns; nsproxy 404 net/sctp/sysctl.c struct net *net = current->nsproxy->net_ns; nsproxy 444 net/sctp/sysctl.c struct net *net = current->nsproxy->net_ns; nsproxy 1469 net/socket.c return __sock_create(current->nsproxy->net_ns, family, type, protocol, res, 0); nsproxy 33 net/sysctl_net.c return ¤t->nsproxy->net_ns->sysctls; nsproxy 38 net/sysctl_net.c return ¤t->nsproxy->net_ns->sysctls == set; nsproxy 223 security/keys/keyring.c index_key->domain_tag = current->nsproxy->net_ns->key_domain;