Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/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.c1960 struct cred *new_cred = NULL; in SYSCALL_DEFINE1() local
2003 err = unshare_userns(unshare_flags, &new_cred); 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()
2048 if (new_cred) { in SYSCALL_DEFINE1()
2050 commit_creds(new_cred); in SYSCALL_DEFINE1()
2051 new_cred = NULL; in SYSCALL_DEFINE1()
2056 if (new_cred) in SYSCALL_DEFINE1()
2057 put_cred(new_cred); in SYSCALL_DEFINE1()
Duser_namespace.c118 int unshare_userns(unsigned long unshare_flags, struct cred **new_cred) in unshare_userns() argument
132 *new_cred = cred; in unshare_userns()