Searched refs:new_fs (Results 1 – 3 of 3) sorted by relevance
129 struct fs_struct *new_fs = copy_fs_struct(fs); in unshare_fs_struct() local132 if (!new_fs) in unshare_fs_struct()138 current->fs = new_fs; in unshare_fs_struct()
89 struct fs_struct *new_fs) in create_new_namespaces() argument98 new_nsp->mnt_ns = copy_mnt_ns(flags, tsk->nsproxy->mnt_ns, 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() argument227 new_fs ? new_fs : current->fs); in unshare_nsproxy_namespaces()
3123 struct fs_struct *fs, *new_fs = NULL; in ksys_unshare() local3162 err = unshare_fs(unshare_flags, &new_fs); in ksys_unshare()3172 new_cred, new_fs); in ksys_unshare()3182 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in ksys_unshare()3200 if (new_fs) { in ksys_unshare()3203 current->fs = new_fs; in ksys_unshare()3205 new_fs = NULL; in ksys_unshare()3207 new_fs = fs; in ksys_unshare()3233 if (new_fs) in ksys_unshare()3234 free_fs_struct(new_fs); in ksys_unshare()