Searched refs:new_fs (Results 1 – 2 of 2) sorted by relevance
62 struct fs_struct *new_fs) in create_new_namespaces() argument71 new_nsp->mnt_ns = copy_mnt_ns(flags, tsk->nsproxy->mnt_ns, user_ns, new_fs); in create_new_namespaces()189 struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) in unshare_nsproxy_namespaces() argument203 new_fs ? new_fs : current->fs); in unshare_nsproxy_namespaces()
2825 struct fs_struct *fs, *new_fs = NULL; in ksys_unshare() local2864 err = unshare_fs(unshare_flags, &new_fs); in ksys_unshare()2874 new_cred, new_fs); in ksys_unshare()2878 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in ksys_unshare()2896 if (new_fs) { in ksys_unshare()2899 current->fs = new_fs; in ksys_unshare()2901 new_fs = NULL; in ksys_unshare()2903 new_fs = fs; in ksys_unshare()2932 if (new_fs) in ksys_unshare()2933 free_fs_struct(new_fs); in ksys_unshare()