Lines Matching refs:real_cred
148 BUG_ON(cred == current->real_cred); in __put_cred()
164 kdebug("exit_creds(%u,%p,%p,{%d,%d})", tsk->pid, tsk->real_cred, tsk->cred, in exit_creds()
168 cred = (struct cred *) tsk->real_cred; in exit_creds()
169 tsk->real_cred = NULL; in exit_creds()
355 p->real_cred = get_cred(p->cred); in copy_creds()
397 p->cred = p->real_cred = get_cred(new); in copy_creds()
450 const struct cred *old = task->real_cred; in commit_creds()
500 rcu_assign_pointer(task->real_cred, new); in commit_creds()
841 cred == tsk->real_cred ? "[real]" : "", in dump_invalid_creds()
887 if (tsk->cred == tsk->real_cred) { in __validate_process_creds()
892 if (unlikely(read_cred_subscribers(tsk->real_cred) < 1 || in __validate_process_creds()
894 creds_are_invalid(tsk->real_cred) || in __validate_process_creds()
904 dump_invalid_creds(tsk->real_cred, "Real", tsk); in __validate_process_creds()
905 if (tsk->cred != tsk->real_cred) in __validate_process_creds()
919 tsk->real_cred, tsk->cred, in validate_creds_for_do_exit()