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()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()
3264 struct fs_struct *fs, *new_fs = NULL; in ksys_unshare() local3303 err = unshare_fs(unshare_flags, &new_fs); in ksys_unshare()3313 new_cred, new_fs); in ksys_unshare()3323 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in ksys_unshare()3341 if (new_fs) { in ksys_unshare()3344 current->fs = new_fs; in ksys_unshare()3346 new_fs = NULL; in ksys_unshare()3348 new_fs = fs; in ksys_unshare()3374 if (new_fs) in ksys_unshare()3375 free_fs_struct(new_fs); in ksys_unshare()