Home
last modified time | relevance | path

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

/kernel/
Dnsproxy.c212 struct nsproxy **new_nsp, struct cred *new_cred, struct fs_struct *new_fs) in unshare_nsproxy_namespaces() argument
222 user_ns = new_cred ? new_cred->user_ns : current_user_ns(); in unshare_nsproxy_namespaces()
Dfork.c3266 struct cred *new_cred = NULL; in ksys_unshare() local
3309 err = unshare_userns(unshare_flags, &new_cred); in ksys_unshare()
3313 new_cred, new_fs); in ksys_unshare()
3317 if (new_cred) { in ksys_unshare()
3318 err = set_cred_ucounts(new_cred); in ksys_unshare()
3323 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in ksys_unshare()
3357 if (new_cred) { in ksys_unshare()
3359 commit_creds(new_cred); in ksys_unshare()
3360 new_cred = NULL; in ksys_unshare()
3367 if (new_cred) in ksys_unshare()
[all …]
Duser_namespace.c176 int unshare_userns(unsigned long unshare_flags, struct cred **new_cred) in unshare_userns() argument
190 *new_cred = cred; in unshare_userns()