Searched refs:real_cred (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/kernel/ |
D | cred.c | 142 BUG_ON(cred == current->real_cred); in __put_cred() 155 kdebug("exit_creds(%u,%p,%p,{%d,%d})", tsk->pid, tsk->real_cred, tsk->cred, in exit_creds() 159 cred = (struct cred *) tsk->real_cred; in exit_creds() 160 tsk->real_cred = NULL; in exit_creds() 328 p->real_cred = get_cred(p->cred); in copy_creds() 368 p->cred = p->real_cred = get_cred(new); in copy_creds() 420 const struct cred *old = task->real_cred; in commit_creds() 461 rcu_assign_pointer(task->real_cred, new); in commit_creds() 725 cred == tsk->real_cred ? "[real]" : "", in dump_invalid_creds() 771 if (tsk->cred == tsk->real_cred) { in __validate_process_creds() [all …]
|
D | fork.c | 1310 if (atomic_read(&p->real_cred->user->processes) >= in copy_process() 1312 if (p->real_cred->user != INIT_USER && in copy_process()
|
/linux-4.1.27/include/linux/ |
D | cred.h | 284 rcu_dereference_protected(current->real_cred, 1) 297 rcu_dereference((task)->real_cred)
|
D | init_task.h | 223 RCU_POINTER_INITIALIZER(real_cred, &init_cred), \
|
D | sched.h | 1456 const struct cred __rcu *real_cred; /* objective and real subjective task member
|
/linux-4.1.27/security/apparmor/ |
D | lsm.c | 884 struct cred *cred = (struct cred *)current->real_cred; in set_init_cxt() 921 struct cred *cred = (struct cred *)current->real_cred; in apparmor_init()
|
/linux-4.1.27/Documentation/filesystems/caching/ |
D | cachefiles.txt | 432 objective security (task->real_cred) and the subjective security (task->cred).
|
/linux-4.1.27/security/selinux/ |
D | hooks.c | 177 struct cred *cred = (struct cred *) current->real_cred; in cred_init_security()
|