Home
last modified time | relevance | path

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

/linux-4.4.14/kernel/
Dnsproxy.c61 struct fs_struct *new_fs) in create_new_namespaces() argument
70 new_nsp->mnt_ns = copy_mnt_ns(flags, tsk->nsproxy->mnt_ns, user_ns, new_fs); in create_new_namespaces()
177 struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) in unshare_nsproxy_namespaces() argument
191 new_fs ? new_fs : current->fs); in unshare_nsproxy_namespaces()
Dfork.c1958 struct fs_struct *fs, *new_fs = NULL; in SYSCALL_DEFINE1() local
1997 err = unshare_fs(unshare_flags, &new_fs); in SYSCALL_DEFINE1()
2007 new_cred, new_fs); in SYSCALL_DEFINE1()
2011 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in SYSCALL_DEFINE1()
2029 if (new_fs) { in SYSCALL_DEFINE1()
2032 current->fs = new_fs; in SYSCALL_DEFINE1()
2034 new_fs = NULL; in SYSCALL_DEFINE1()
2036 new_fs = fs; in SYSCALL_DEFINE1()
2063 if (new_fs) in SYSCALL_DEFINE1()
2064 free_fs_struct(new_fs); in SYSCALL_DEFINE1()
/linux-4.4.14/fs/
Dfs_struct.c134 struct fs_struct *new_fs = copy_fs_struct(fs); in unshare_fs_struct() local
137 if (!new_fs) in unshare_fs_struct()
143 current->fs = new_fs; in unshare_fs_struct()
Dnamespace.c2773 struct user_namespace *user_ns, struct fs_struct *new_fs) in copy_mnt_ns() argument
2818 if (new_fs) { in copy_mnt_ns()
2819 if (&p->mnt == new_fs->root.mnt) { in copy_mnt_ns()
2820 new_fs->root.mnt = mntget(&q->mnt); in copy_mnt_ns()
2823 if (&p->mnt == new_fs->pwd.mnt) { in copy_mnt_ns()
2824 new_fs->pwd.mnt = mntget(&q->mnt); in copy_mnt_ns()