Home
last modified time | relevance | path

Searched refs:real_cred (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/kernel/
Dcred.c148 BUG_ON(cred == current->real_cred); in __put_cred()
161 kdebug("exit_creds(%u,%p,%p,{%d,%d})", tsk->pid, tsk->real_cred, tsk->cred, in exit_creds()
165 cred = (struct cred *) tsk->real_cred; in exit_creds()
166 tsk->real_cred = NULL; in exit_creds()
334 p->real_cred = get_cred(p->cred); in copy_creds()
374 p->cred = p->real_cred = get_cred(new); in copy_creds()
426 const struct cred *old = task->real_cred; in commit_creds()
467 rcu_assign_pointer(task->real_cred, new); in commit_creds()
733 cred == tsk->real_cred ? "[real]" : "", in dump_invalid_creds()
779 if (tsk->cred == tsk->real_cred) { in __validate_process_creds()
[all …]
Dfork.c1732 if (atomic_read(&p->real_cred->user->processes) >= in copy_process()
1734 if (p->real_cred->user != INIT_USER && in copy_process()
/Linux-v4.19/include/linux/
Dcred.h290 rcu_dereference_protected(current->real_cred, 1)
303 rcu_dereference((task)->real_cred)
Dsched.h835 const struct cred __rcu *real_cred; member
/Linux-v4.19/init/
Dinit_task.c102 RCU_POINTER_INITIALIZER(real_cred, &init_cred),
/Linux-v4.19/security/apparmor/
Dlsm.c1451 struct cred *cred = (struct cred *)current->real_cred; in set_init_ctx()
/Linux-v4.19/Documentation/filesystems/caching/
Dcachefiles.txt432 objective security (task->real_cred) and the subjective security (task->cred).
/Linux-v4.19/security/selinux/
Dhooks.c213 struct cred *cred = (struct cred *) current->real_cred; in cred_init_security()