Searched refs:real_cred (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/kernel/ |
D | cred.c | 148 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 …]
|
D | fork.c | 1732 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/ |
D | cred.h | 290 rcu_dereference_protected(current->real_cred, 1) 303 rcu_dereference((task)->real_cred)
|
D | sched.h | 835 const struct cred __rcu *real_cred; member
|
/Linux-v4.19/init/ |
D | init_task.c | 102 RCU_POINTER_INITIALIZER(real_cred, &init_cred),
|
/Linux-v4.19/security/apparmor/ |
D | lsm.c | 1451 struct cred *cred = (struct cred *)current->real_cred; in set_init_ctx()
|
/Linux-v4.19/Documentation/filesystems/caching/ |
D | cachefiles.txt | 432 objective security (task->real_cred) and the subjective security (task->cred).
|
/Linux-v4.19/security/selinux/ |
D | hooks.c | 213 struct cred *cred = (struct cred *) current->real_cred; in cred_init_security()
|