Searched refs:nsset (Results 1 - 11 of 11) sorted by relevance
/linux-master/kernel/ |
H A D | nsproxy.c | 315 static void put_nsset(struct nsset *nsset) argument 317 unsigned flags = nsset->flags; 320 put_cred(nsset_cred(nsset)); 325 if (nsset->fs && (flags & CLONE_NEWNS) && (flags & ~CLONE_NEWNS)) 326 free_fs_struct(nsset->fs); 327 if (nsset->nsproxy) 328 free_nsproxy(nsset->nsproxy); 331 static int prepare_nsset(unsigned flags, struct nsset *nsset) argument 363 validate_ns(struct nsset *nsset, struct ns_common *ns) argument 375 validate_nsset(struct nsset *nsset, struct pid *pid) argument 512 commit_nsset(struct nsset *nsset) argument 550 struct nsset nsset = {}; local [all...] |
H A D | utsname.c | 140 static int utsns_install(struct nsset *nsset, struct ns_common *new) argument 142 struct nsproxy *nsproxy = nsset->nsproxy; 146 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN))
|
H A D | pid_namespace.c | 389 static int pidns_install(struct nsset *nsset, struct ns_common *ns) argument 391 struct nsproxy *nsproxy = nsset->nsproxy; 396 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN))
|
H A D | user_namespace.c | 1339 static int userns_install(struct nsset *nsset, struct ns_common *ns) argument 1360 cred = nsset_cred(nsset);
|
/linux-master/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 | 54 struct nsset { struct 61 static inline struct cred *nsset_cred(struct nsset *set)
|
/linux-master/kernel/cgroup/ |
H A D | namespace.c | 98 static int cgroupns_install(struct nsset *nsset, struct ns_common *ns) argument 100 struct nsproxy *nsproxy = nsset->nsproxy; 103 if (!ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN) ||
|
/linux-master/ipc/ |
H A D | namespace.c | 233 static int ipcns_install(struct nsset *nsset, struct ns_common *new) argument 235 struct nsproxy *nsproxy = nsset->nsproxy; 238 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN))
|
/linux-master/kernel/time/ |
H A D | namespace.c | 304 static int timens_install(struct nsset *nsset, struct ns_common *new) argument 306 struct nsproxy *nsproxy = nsset->nsproxy; 313 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN))
|
/linux-master/net/core/ |
H A D | net_namespace.c | 1451 static int netns_install(struct nsset *nsset, struct ns_common *ns) argument 1453 struct nsproxy *nsproxy = nsset->nsproxy; 1457 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN))
|
/linux-master/fs/ |
H A D | namespace.c | 5393 static int mntns_install(struct nsset *nsset, struct ns_common *ns) argument 5395 struct nsproxy *nsproxy = nsset->nsproxy; 5396 struct fs_struct *fs = nsset->fs; 5398 struct user_namespace *user_ns = nsset->cred->user_ns;
|
Completed in 395 milliseconds