Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/
Dcred.c148 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 …]
Dfork.c2122 if (p->real_cred->user != INIT_USER && in copy_process()
/linux-6.1.9/include/linux/
Dcred.h308 rcu_dereference_protected(current->real_cred, 1)
321 rcu_dereference((task)->real_cred)
Dsched.h1061 const struct cred __rcu *real_cred; member
/linux-6.1.9/init/
Dinit_task.c112 RCU_POINTER_INITIALIZER(real_cred, &init_cred),
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dprofiler.inc.h716 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/
Dlsm.c1688 struct cred *cred = (__force struct cred *)current->real_cred; in set_init_ctx()
/linux-6.1.9/Documentation/filesystems/caching/
Dcachefiles.rst412 objective security (task->real_cred) and the subjective security (task->cred).
/linux-6.1.9/security/selinux/
Dhooks.c216 tsec = selinux_cred(unrcu_pointer(current->real_cred)); in cred_init_security()