Lines Matching refs:new_cred
3147 struct cred *new_cred = NULL; in ksys_unshare() local
3190 err = unshare_userns(unshare_flags, &new_cred); in ksys_unshare()
3194 new_cred, new_fs); in ksys_unshare()
3198 if (new_cred) { in ksys_unshare()
3199 err = set_cred_ucounts(new_cred); in ksys_unshare()
3204 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in ksys_unshare()
3238 if (new_cred) { in ksys_unshare()
3240 commit_creds(new_cred); in ksys_unshare()
3241 new_cred = NULL; in ksys_unshare()
3248 if (new_cred) in ksys_unshare()
3249 put_cred(new_cred); in ksys_unshare()