Searched refs:nsset (Results 1 – 6 of 6) sorted by relevance
/kernel/ |
D | nsproxy.c | 296 static void put_nsset(struct nsset *nsset) in put_nsset() argument 298 unsigned flags = nsset->flags; in put_nsset() 301 put_cred(nsset_cred(nsset)); in put_nsset() 306 if (nsset->fs && (flags & CLONE_NEWNS) && (flags & ~CLONE_NEWNS)) in put_nsset() 307 free_fs_struct(nsset->fs); in put_nsset() 308 if (nsset->nsproxy) in put_nsset() 309 free_nsproxy(nsset->nsproxy); in put_nsset() 312 static int prepare_nsset(unsigned flags, struct nsset *nsset) in prepare_nsset() argument 316 nsset->nsproxy = create_new_namespaces(0, me, current_user_ns(), me->fs); in prepare_nsset() 317 if (IS_ERR(nsset->nsproxy)) in prepare_nsset() [all …]
|
D | utsname.c | 140 static int utsns_install(struct nsset *nsset, struct ns_common *new) in utsns_install() argument 142 struct nsproxy *nsproxy = nsset->nsproxy; in utsns_install() 146 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN)) in utsns_install()
|
D | pid_namespace.c | 392 static int pidns_install(struct nsset *nsset, struct ns_common *ns) in pidns_install() argument 394 struct nsproxy *nsproxy = nsset->nsproxy; in pidns_install() 399 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN)) in pidns_install()
|
D | user_namespace.c | 1331 static int userns_install(struct nsset *nsset, struct ns_common *ns) in userns_install() argument 1352 cred = nsset_cred(nsset); in userns_install()
|
/kernel/cgroup/ |
D | namespace.c | 98 static int cgroupns_install(struct nsset *nsset, struct ns_common *ns) in cgroupns_install() argument 100 struct nsproxy *nsproxy = nsset->nsproxy; in cgroupns_install() 103 if (!ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN) || in cgroupns_install()
|
/kernel/time/ |
D | namespace.c | 286 static int timens_install(struct nsset *nsset, struct ns_common *new) in timens_install() argument 288 struct nsproxy *nsproxy = nsset->nsproxy; in timens_install() 295 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN)) in timens_install()
|