Home
last modified time | relevance | path

Searched refs:uts_ns (Results 1 – 6 of 6) sorted by relevance

/linux/kernel/
H A Dutsname.c32 struct uts_namespace *uts_ns; in create_uts_ns() local
34 uts_ns = kmem_cache_alloc(uts_ns_cache, GFP_KERNEL); in create_uts_ns()
35 if (uts_ns) in create_uts_ns()
36 refcount_set(&uts_ns->ns.count, 1); in create_uts_ns()
37 return uts_ns; in create_uts_ns()
127 ns = nsproxy->uts_ns; in utsns_get()
150 put_uts_ns(nsproxy->uts_ns); in utsns_install()
151 nsproxy->uts_ns = ns; in utsns_install()
H A Dnsproxy.c34 .uts_ns = &init_uts_ns,
84 new_nsp->uts_ns = copy_utsname(flags, user_ns, tsk->nsproxy->uts_ns); in create_new_namespaces()
85 if (IS_ERR(new_nsp->uts_ns)) { in create_new_namespaces()
86 err = PTR_ERR(new_nsp->uts_ns); in create_new_namespaces()
137 if (new_nsp->uts_ns) in create_new_namespaces()
138 put_uts_ns(new_nsp->uts_ns); in create_new_namespaces()
194 if (ns->uts_ns) in free_nsproxy()
195 put_uts_ns(ns->uts_ns); in free_nsproxy()
447 ret = validate_ns(nsset, &nsp->uts_ns->ns); in validate_nsset()
H A Dutsname_sysctl.c21 struct uts_namespace *uts_ns; in get_uts() local
23 uts_ns = current->nsproxy->uts_ns; in get_uts()
24 which = (which - (char *)&init_uts_ns) + (char *)uts_ns; in get_uts()
H A Dsys.c1388 if (!ns_capable(current->nsproxy->uts_ns->user_ns, CAP_SYS_ADMIN)) in SYSCALL_DEFINE2()
1442 if (!ns_capable(current->nsproxy->uts_ns->user_ns, CAP_SYS_ADMIN)) in SYSCALL_DEFINE2()
/linux/include/linux/
H A Dutsname.h82 return &current->nsproxy->uts_ns->name; in utsname()
H A Dnsproxy.h34 struct uts_namespace *uts_ns; member