Searched refs:nsproxy (Results 1 – 16 of 16) sorted by relevance
/net/core/ |
D | net_namespace.c | 459 struct nsproxy *nsproxy; in get_net_ns_by_pid() local 460 nsproxy = task_nsproxy(tsk); in get_net_ns_by_pid() 461 if (nsproxy) in get_net_ns_by_pid() 462 net = get_net(nsproxy->net_ns); in get_net_ns_by_pid() 844 struct nsproxy *nsproxy; in netns_get() local 847 nsproxy = task_nsproxy(task); in netns_get() 848 if (nsproxy) in netns_get() 849 net = get_net(nsproxy->net_ns); in netns_get() 860 static int netns_install(struct nsproxy *nsproxy, void *ns) in netns_install() argument 868 put_net(nsproxy->net_ns); in netns_install() [all …]
|
D | scm.c | 57 ns_capable(current->nsproxy->pid_ns->user_ns, CAP_SYS_ADMIN)) && in scm_check_creds()
|
D | net-sysfs.c | 1162 struct net *ns = current->nsproxy->net_ns; in net_grab_current_ns()
|
D | netpoll.c | 1097 struct net *net = current->nsproxy->net_ns; in netpoll_setup()
|
D | pktgen.c | 475 struct pktgen_net *pn = net_generic(current->nsproxy->net_ns, pg_net_id); in pgctrl_write()
|
/net/ |
D | sysctl_net.c | 30 net_ctl_header_lookup(struct ctl_table_root *root, struct nsproxy *namespaces) in net_ctl_header_lookup() 37 return ¤t->nsproxy->net_ns->sysctls == set; in is_seen()
|
D | socket.c | 1364 return __sock_create(current->nsproxy->net_ns, family, type, protocol, res, 0); in sock_create()
|
/net/ipv4/ |
D | tcp_memcontrol.c | 32 struct net *net = current->nsproxy->net_ns; in tcp_init_cgroup() 79 struct net *net = current->nsproxy->net_ns; in tcp_update_limit()
|
D | sysctl_net_ipv4.c | 214 struct net *net = current->nsproxy->net_ns; in ipv4_tcp_mem()
|
/net/sctp/ |
D | sysctl.c | 308 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_hmac_alg()
|
/net/netfilter/ |
D | nf_log.c | 256 struct net *net = current->nsproxy->net_ns; in nf_log_proc_dostring()
|
D | nf_conntrack_core.c | 1445 if (current->nsproxy->net_ns != &init_net) in nf_conntrack_set_hashsize()
|
/net/9p/ |
D | trans_fd.c | 921 err = __sock_create(read_pnet(¤t->nsproxy->net_ns), PF_INET, in p9_fd_create_tcp() 959 err = __sock_create(read_pnet(¤t->nsproxy->net_ns), PF_UNIX, in p9_fd_create_unix()
|
/net/ceph/ |
D | ceph_common.c | 313 if (current->nsproxy->net_ns != &init_net) in ceph_parse_options()
|
/net/sunrpc/ |
D | rpc_pipe.c | 1151 return mount_ns(fs_type, flags, current->nsproxy->net_ns, rpc_fill_super); in rpc_mount()
|
/net/netfilter/ipvs/ |
D | ip_vs_ctl.c | 1581 struct net *net = current->nsproxy->net_ns; in proc_do_defense_mode()
|