Home
last modified time | relevance | path

Searched refs:pcred (Results 1 – 3 of 3) sorted by relevance

/kernel/
Dsys.c175 const struct cred *cred = current_cred(), *pcred = __task_cred(p); in set_one_prio_perm() local
177 if (uid_eq(pcred->uid, cred->euid) || in set_one_prio_perm()
178 uid_eq(pcred->euid, cred->euid)) in set_one_prio_perm()
180 if (ns_capable(pcred->user_ns, CAP_SYS_NICE)) in set_one_prio_perm()
Dsignal.c1525 const struct cred *pcred = __task_cred(target); in kill_as_cred_perm() local
1527 return uid_eq(cred->euid, pcred->suid) || in kill_as_cred_perm()
1528 uid_eq(cred->euid, pcred->uid) || in kill_as_cred_perm()
1529 uid_eq(cred->uid, pcred->suid) || in kill_as_cred_perm()
1530 uid_eq(cred->uid, pcred->uid); in kill_as_cred_perm()
/kernel/sched/
Dcore.c7581 const struct cred *cred = current_cred(), *pcred; in check_same_owner() local
7585 pcred = __task_cred(p); in check_same_owner()
7586 match = (uid_eq(cred->euid, pcred->euid) || in check_same_owner()
7587 uid_eq(cred->euid, pcred->uid)); in check_same_owner()