Searched refs:new_fs (Results 1 – 2 of 2) sorted by relevance
69 struct fs_struct *new_fs) in create_new_namespaces() argument78 new_nsp->mnt_ns = copy_mnt_ns(flags, tsk->nsproxy->mnt_ns, user_ns, new_fs); in create_new_namespaces()204 struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) in unshare_nsproxy_namespaces() argument219 new_fs ? new_fs : current->fs); in unshare_nsproxy_namespaces()
3079 struct fs_struct *fs, *new_fs = NULL; in ksys_unshare() local3118 err = unshare_fs(unshare_flags, &new_fs); in ksys_unshare()3128 new_cred, new_fs); in ksys_unshare()3138 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in ksys_unshare()3156 if (new_fs) { in ksys_unshare()3159 current->fs = new_fs; in ksys_unshare()3161 new_fs = NULL; in ksys_unshare()3163 new_fs = fs; in ksys_unshare()3189 if (new_fs) in ksys_unshare()3190 free_fs_struct(new_fs); in ksys_unshare()
Completed in 26 milliseconds