Home
last modified time | relevance | path

Searched refs:new_fs (Results 1 – 3 of 3) sorted by relevance

/linux/fs/
H A Dfs_struct.c129 struct fs_struct *new_fs = copy_fs_struct(fs); in unshare_fs_struct() local
132 if (!new_fs) in unshare_fs_struct()
138 current->fs = new_fs; in unshare_fs_struct()
/linux/kernel/
H A Dnsproxy.c89 struct fs_struct *new_fs) in create_new_namespaces() argument
98 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() argument
227 new_fs ? new_fs : current->fs); in unshare_nsproxy_namespaces()
H A Dfork.c3123 struct fs_struct *fs, *new_fs = NULL; in ksys_unshare() local
3162 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()