Home
last modified time | relevance | path

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

/kernel/
Dsys.c160 const struct cred *cred = current_cred(), *pcred = __task_cred(p); in set_one_prio_perm() local
162 if (uid_eq(pcred->uid, cred->euid) || in set_one_prio_perm()
163 uid_eq(pcred->euid, cred->euid)) in set_one_prio_perm()
165 if (ns_capable(pcred->user_ns, CAP_SYS_NICE)) in set_one_prio_perm()
Dsignal.c1467 const struct cred *pcred = __task_cred(target); in kill_as_cred_perm() local
1469 return uid_eq(cred->euid, pcred->suid) || in kill_as_cred_perm()
1470 uid_eq(cred->euid, pcred->uid) || in kill_as_cred_perm()
1471 uid_eq(cred->uid, pcred->suid) || in kill_as_cred_perm()
1472 uid_eq(cred->uid, pcred->uid); in kill_as_cred_perm()
/kernel/sched/
Dcore.c4740 const struct cred *cred = current_cred(), *pcred; in check_same_owner() local
4744 pcred = __task_cred(p); in check_same_owner()
4745 match = (uid_eq(cred->euid, pcred->euid) || in check_same_owner()
4746 uid_eq(cred->euid, pcred->uid)); in check_same_owner()