Home
last modified time | relevance | path

Searched refs:nsproxy (Results 1 – 16 of 16) sorted by relevance

/net/core/
Dnet_namespace.c459 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 …]
Dscm.c57 ns_capable(current->nsproxy->pid_ns->user_ns, CAP_SYS_ADMIN)) && in scm_check_creds()
Dnet-sysfs.c1162 struct net *ns = current->nsproxy->net_ns; in net_grab_current_ns()
Dnetpoll.c1097 struct net *net = current->nsproxy->net_ns; in netpoll_setup()
Dpktgen.c475 struct pktgen_net *pn = net_generic(current->nsproxy->net_ns, pg_net_id); in pgctrl_write()
/net/
Dsysctl_net.c30 net_ctl_header_lookup(struct ctl_table_root *root, struct nsproxy *namespaces) in net_ctl_header_lookup()
37 return &current->nsproxy->net_ns->sysctls == set; in is_seen()
Dsocket.c1364 return __sock_create(current->nsproxy->net_ns, family, type, protocol, res, 0); in sock_create()
/net/ipv4/
Dtcp_memcontrol.c32 struct net *net = current->nsproxy->net_ns; in tcp_init_cgroup()
79 struct net *net = current->nsproxy->net_ns; in tcp_update_limit()
Dsysctl_net_ipv4.c214 struct net *net = current->nsproxy->net_ns; in ipv4_tcp_mem()
/net/sctp/
Dsysctl.c308 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_hmac_alg()
/net/netfilter/
Dnf_log.c256 struct net *net = current->nsproxy->net_ns; in nf_log_proc_dostring()
Dnf_conntrack_core.c1445 if (current->nsproxy->net_ns != &init_net) in nf_conntrack_set_hashsize()
/net/9p/
Dtrans_fd.c921 err = __sock_create(read_pnet(&current->nsproxy->net_ns), PF_INET, in p9_fd_create_tcp()
959 err = __sock_create(read_pnet(&current->nsproxy->net_ns), PF_UNIX, in p9_fd_create_unix()
/net/ceph/
Dceph_common.c313 if (current->nsproxy->net_ns != &init_net) in ceph_parse_options()
/net/sunrpc/
Drpc_pipe.c1151 return mount_ns(fs_type, flags, current->nsproxy->net_ns, rpc_fill_super); in rpc_mount()
/net/netfilter/ipvs/
Dip_vs_ctl.c1581 struct net *net = current->nsproxy->net_ns; in proc_do_defense_mode()