Searched refs:nsset (Results 1 – 11 of 11) sorted by relevance
/linux/kernel/ |
A D | nsproxy.c | 296 static void put_nsset(struct nsset *nsset) in put_nsset() argument 308 if (nsset->nsproxy) in put_nsset() 312 static int prepare_nsset(unsigned flags, struct nsset *nsset) in prepare_nsset() argument 324 if (!nsset->cred) in prepare_nsset() 329 nsset->fs = me->fs; in prepare_nsset() 332 if (!nsset->fs) in prepare_nsset() 340 put_nsset(nsset); in prepare_nsset() 356 static int validate_nsset(struct nsset *nsset, struct pid *pid) in validate_nsset() argument 493 static void commit_nsset(struct nsset *nsset) in commit_nsset() argument 531 struct nsset nsset = {}; in SYSCALL_DEFINE2() local [all …]
|
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()
|
A D | pid_namespace.c | 375 static int pidns_install(struct nsset *nsset, struct ns_common *ns) in pidns_install() argument 377 struct nsproxy *nsproxy = nsset->nsproxy; in pidns_install() 382 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN)) in pidns_install()
|
A D | user_namespace.c | 1319 static int userns_install(struct nsset *nsset, struct ns_common *ns) in userns_install() argument 1340 cred = nsset_cred(nsset); in userns_install()
|
/linux/kernel/cgroup/ |
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/ |
A D | proc_ns.h | 11 struct nsset; 22 int (*install)(struct nsset *nsset, struct ns_common *ns);
|
A D | nsproxy.h | 53 struct nsset { struct 60 static inline struct cred *nsset_cred(struct nsset *set) in nsset_cred() argument
|
/linux/ipc/ |
A D | namespace.c | 200 static int ipcns_install(struct nsset *nsset, struct ns_common *new) in ipcns_install() argument 202 struct nsproxy *nsproxy = nsset->nsproxy; in ipcns_install() 205 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN)) in ipcns_install()
|
/linux/kernel/time/ |
A 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()
|
/linux/net/core/ |
A D | net_namespace.c | 1353 static int netns_install(struct nsset *nsset, struct ns_common *ns) in netns_install() argument 1355 struct nsproxy *nsproxy = nsset->nsproxy; in netns_install() 1359 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN)) in netns_install()
|
/linux/fs/ |
A D | namespace.c | 4541 static int mntns_install(struct nsset *nsset, struct ns_common *ns) in mntns_install() argument 4543 struct nsproxy *nsproxy = nsset->nsproxy; in mntns_install() 4544 struct fs_struct *fs = nsset->fs; in mntns_install() 4546 struct user_namespace *user_ns = nsset->cred->user_ns; in mntns_install()
|
Completed in 21 milliseconds