Searched refs:new_cred (Results 1 – 4 of 4) sorted by relevance
56 extern int unshare_userns(unsigned long unshare_flags, struct cred **new_cred);88 struct cred **new_cred) in unshare_userns() argument
177 struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) in unshare_nsproxy_namespaces() argument186 user_ns = new_cred ? new_cred->user_ns : current_user_ns(); in unshare_nsproxy_namespaces()
1929 struct cred *new_cred = NULL; in SYSCALL_DEFINE1() local1971 err = unshare_userns(unshare_flags, &new_cred); in SYSCALL_DEFINE1()1975 new_cred, new_fs); in SYSCALL_DEFINE1()1979 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in SYSCALL_DEFINE1()2016 if (new_cred) { in SYSCALL_DEFINE1()2018 commit_creds(new_cred); in SYSCALL_DEFINE1()2019 new_cred = NULL; in SYSCALL_DEFINE1()2024 if (new_cred) in SYSCALL_DEFINE1()2025 put_cred(new_cred); in SYSCALL_DEFINE1()
117 int unshare_userns(unsigned long unshare_flags, struct cred **new_cred) in unshare_userns() argument131 *new_cred = cred; in unshare_userns()