Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Duser_namespace.h56 extern int unshare_userns(unsigned long unshare_flags, struct cred **new_cred);
88 struct cred **new_cred) in unshare_userns() argument
/linux-4.1.27/kernel/
Dnsproxy.c177 struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) in unshare_nsproxy_namespaces() argument
186 user_ns = new_cred ? new_cred->user_ns : current_user_ns(); in unshare_nsproxy_namespaces()
Dfork.c1929 struct cred *new_cred = NULL; in SYSCALL_DEFINE1() local
1971 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()
Duser_namespace.c117 int unshare_userns(unsigned long unshare_flags, struct cred **new_cred) in unshare_userns() argument
131 *new_cred = cred; in unshare_userns()