Searched refs:new_fs (Results 1 – 2 of 2) sorted by relevance
50 struct task_struct *tsk, struct fs_struct *new_fs) in create_new_namespaces() argument59 new_nsp->mnt_ns = copy_mnt_ns(flags, tsk->nsproxy->mnt_ns, new_fs); in create_new_namespaces()176 struct nsproxy **new_nsp, struct fs_struct *new_fs) in unshare_nsproxy_namespaces() argument188 new_fs ? new_fs : current->fs); in unshare_nsproxy_namespaces()
1616 struct fs_struct *fs, *new_fs = NULL; in SYSCALL_DEFINE1() local1641 if ((err = unshare_fs(unshare_flags, &new_fs))) in SYSCALL_DEFINE1()1650 new_fs))) in SYSCALL_DEFINE1()1653 if (new_fs || new_mm || new_fd || do_sysvsem || new_nsproxy) { in SYSCALL_DEFINE1()1668 if (new_fs) { in SYSCALL_DEFINE1()1670 current->fs = new_fs; in SYSCALL_DEFINE1()1671 new_fs = fs; in SYSCALL_DEFINE1()1709 if (new_fs) in SYSCALL_DEFINE1()1710 put_fs_struct(new_fs); in SYSCALL_DEFINE1()