Searched refs:real_cred (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/kernel/ |
| D | cred.c | 145 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() 345 p->real_cred = get_cred(p->cred); in copy_creds() 385 p->cred = p->real_cred = get_cred(new); in copy_creds() 437 const struct cred *old = task->real_cred; in commit_creds() 487 rcu_assign_pointer(task->real_cred, new); in commit_creds() 807 cred == tsk->real_cred ? "[real]" : "", in dump_invalid_creds() 853 if (tsk->cred == tsk->real_cred) { in __validate_process_creds() [all …]
|
| D | fork.c | 1876 if (atomic_read(&p->real_cred->user->processes) >= in copy_process() 1878 if (p->real_cred->user != INIT_USER && in copy_process()
|
| /Linux-v5.4/include/linux/ |
| D | cred.h | 307 rcu_dereference_protected(current->real_cred, 1) 320 rcu_dereference((task)->real_cred)
|
| D | sched.h | 875 const struct cred __rcu *real_cred; member
|
| /Linux-v5.4/init/ |
| D | init_task.c | 102 RCU_POINTER_INITIALIZER(real_cred, &init_cred),
|
| /Linux-v5.4/security/apparmor/ |
| D | lsm.c | 1528 struct cred *cred = (struct cred *)current->real_cred; in set_init_ctx()
|
| /Linux-v5.4/Documentation/filesystems/caching/ |
| D | cachefiles.txt | 432 objective security (task->real_cred) and the subjective security (task->cred).
|
| /Linux-v5.4/security/selinux/ |
| D | hooks.c | 210 struct cred *cred = (struct cred *) current->real_cred; in cred_init_security()
|