Searched refs:real_cred (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/kernel/ |
D | cred.c | 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() 842 cred == tsk->real_cred ? "[real]" : "", in dump_invalid_creds() 888 if (tsk->cred == tsk->real_cred) { in __validate_process_creds() [all …]
|
D | fork.c | 2122 if (p->real_cred->user != INIT_USER && in copy_process()
|
/linux-6.1.9/include/linux/ |
D | cred.h | 308 rcu_dereference_protected(current->real_cred, 1) 321 rcu_dereference((task)->real_cred)
|
D | sched.h | 1061 const struct cred __rcu *real_cred; member
|
/linux-6.1.9/init/ |
D | init_task.c | 112 RCU_POINTER_INITIALIZER(real_cred, &init_cred),
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | profiler.inc.h | 716 proc_exec_data->parent_uid = BPF_CORE_READ(parent_task, real_cred, uid.val); in raw_tracepoint__sched_process_exec()
|
/linux-6.1.9/security/apparmor/ |
D | lsm.c | 1688 struct cred *cred = (__force struct cred *)current->real_cred; in set_init_ctx()
|
/linux-6.1.9/Documentation/filesystems/caching/ |
D | cachefiles.rst | 412 objective security (task->real_cred) and the subjective security (task->cred).
|
/linux-6.1.9/security/selinux/ |
D | hooks.c | 216 tsec = selinux_cred(unrcu_pointer(current->real_cred)); in cred_init_security()
|