Searched refs:new_fs (Results 1 – 3 of 3) sorted by relevance
90 struct fs_struct *new_fs) in create_new_namespaces() argument 100 user_ns, new_fs); in create_new_namespaces() 212 struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) in unshare_nsproxy_namespaces() argument 235 new_fs ? new_fs : current->fs); in unshare_nsproxy_namespaces()
3239 struct fs_struct *new_fs = NULL; in ksys_unshare() local3284 err = unshare_fs(unshare_flags, &new_fs); in ksys_unshare()3294 new_cred, new_fs); in ksys_unshare()3303 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in ksys_unshare()3316 if (new_fs) { in ksys_unshare()3317 new_fs = switch_fs_struct(new_fs); in ksys_unshare()3318 if (new_fs) in ksys_unshare()3319 free_fs_struct(no_free_ptr(new_fs)); in ksys_unshare()3350 if (new_fs) in ksys_unshare()3351 free_fs_struct(new_fs); in ksys_unshare()
4410 struct user_namespace *user_ns, struct fs_struct *new_fs) in copy_mnt_ns() 4459 if (new_fs) { in copy_mnt_ns() 4460 old_root = new_fs->root; in copy_mnt_ns() 4461 old_pwd = new_fs->pwd; in copy_mnt_ns() 4463 new_fs->root.mnt = mntget(&new->mnt); in copy_mnt_ns() 4464 new_fs->root.dentry = dget(new->mnt.mnt_root); in copy_mnt_ns() 4466 new_fs->pwd.mnt = mntget(&new->mnt); in copy_mnt_ns() 4467 new_fs->pwd.dentry = dget(new->mnt.mnt_root); in copy_mnt_ns() 4483 if (new_fs) { in copy_mnt_ns() 4484 if (&p->mnt == new_fs in copy_mnt_ns() 4411 copy_mnt_ns(u64 flags,struct mnt_namespace * ns,struct user_namespace * user_ns,struct fs_struct * new_fs) copy_mnt_ns() argument [all...]