Searched refs:nsset (Results 1 – 10 of 10) sorted by relevance
/linux/kernel/ |
H A D | nsproxy.c | 315 static void put_nsset(struct nsset *nsset) in put_nsset() argument 317 unsigned flags = nsset->flags; in put_nsset() 320 put_cred(nsset_cred(nsset)); in put_nsset() 325 if (nsset->fs && (flags & CLONE_NEWNS) && (flags & ~CLONE_NEWNS)) in put_nsset() 326 free_fs_struct(nsset->fs); in put_nsset() 327 if (nsset->nsproxy) in put_nsset() 328 free_nsproxy(nsset->nsproxy); in put_nsset() 331 static int prepare_nsset(unsigned flags, struct nsset *nsset) in prepare_nsset() argument 363 validate_ns(struct nsset * nsset,struct ns_common * ns) validate_ns() argument 375 validate_nsset(struct nsset * nsset,struct pid * pid) validate_nsset() argument 512 commit_nsset(struct nsset * nsset) commit_nsset() argument 550 struct nsset nsset = {}; SYSCALL_DEFINE2() local [all...] |
H A 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()
|
H A D | pid_namespace.c | 372 static int pidns_install(struct nsset *nsset, struct ns_common *ns) in pidns_install() argument 374 struct nsproxy *nsproxy = nsset->nsproxy; in pidns_install() 379 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN)) in pidns_install()
|
H A D | user_namespace.c | 1338 static int userns_install(struct nsset *nsset, struct ns_common *ns) 1359 cred = nsset_cred(nsset); in userns_install() 1339 userns_install(struct nsset * nsset,struct ns_common * ns) userns_install() argument
|
/linux/kernel/cgroup/ |
H A 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()
|
/linux/include/linux/ |
H A D | proc_ns.h | 11 struct nsset; 22 int (*install)(struct nsset *nsset, struct ns_common *ns);
|
H A D | nsproxy.h | 65 struct nsset { struct 72 static inline struct cred *nsset_cred(struct nsset *set) in nsset_cred() argument
|
/linux/ipc/ |
H A D | namespace.c | 233 static int ipcns_install(struct nsset *nsset, struct ns_common *new) in ipcns_install() argument 235 struct nsproxy *nsproxy = nsset->nsproxy; in ipcns_install() 238 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN)) in ipcns_install()
|
/linux/kernel/time/ |
H A D | namespace.c | 304 static int timens_install(struct nsset *nsset, struct ns_common *new) in timens_install() argument 306 struct nsproxy *nsproxy = nsset->nsproxy; in timens_install() 313 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN)) in timens_install()
|
/linux/net/core/ |
H A D | net_namespace.c | 1454 static int netns_install(struct nsset *nsset, struct ns_common *ns) in netns_install() argument 1456 struct nsproxy *nsproxy = nsset->nsproxy; in netns_install() 1460 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN)) in netns_install()
|