Searched refs:pcred (Results 1 – 3 of 3) sorted by relevance
/kernel/ |
D | signal.c | 1375 const struct cred *pcred = __task_cred(target); in kill_as_cred_perm() local 1376 if (!uid_eq(cred->euid, pcred->suid) && !uid_eq(cred->euid, pcred->uid) && in kill_as_cred_perm() 1377 !uid_eq(cred->uid, pcred->suid) && !uid_eq(cred->uid, pcred->uid)) in kill_as_cred_perm()
|
D | sys.c | 134 const struct cred *cred = current_cred(), *pcred = __task_cred(p); in set_one_prio_perm() local 136 if (uid_eq(pcred->uid, cred->euid) || in set_one_prio_perm() 137 uid_eq(pcred->euid, cred->euid)) in set_one_prio_perm() 139 if (ns_capable(pcred->user_ns, CAP_SYS_NICE)) in set_one_prio_perm()
|
/kernel/sched/ |
D | core.c | 3827 const struct cred *cred = current_cred(), *pcred; in check_same_owner() local 3831 pcred = __task_cred(p); in check_same_owner() 3832 match = (uid_eq(cred->euid, pcred->euid) || in check_same_owner() 3833 uid_eq(cred->euid, pcred->uid)); in check_same_owner()
|