Home
last modified time | relevance | path

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

/kernel/
Dnsproxy.c189 struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) in unshare_nsproxy_namespaces() argument
198 user_ns = new_cred ? new_cred->user_ns : current_user_ns(); in unshare_nsproxy_namespaces()
Dfork.c2827 struct cred *new_cred = NULL; in ksys_unshare() local
2870 err = unshare_userns(unshare_flags, &new_cred); in ksys_unshare()
2874 new_cred, new_fs); in ksys_unshare()
2878 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in ksys_unshare()
2915 if (new_cred) { in ksys_unshare()
2917 commit_creds(new_cred); in ksys_unshare()
2918 new_cred = NULL; in ksys_unshare()
2925 if (new_cred) in ksys_unshare()
2926 put_cred(new_cred); in ksys_unshare()
Duser_namespace.c154 int unshare_userns(unsigned long unshare_flags, struct cred **new_cred) in unshare_userns() argument
168 *new_cred = cred; in unshare_userns()