Home
last modified time | relevance | path

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

/arch/alpha/kernel/
Dasm-offsets.c23 DEFINE(TASK_CRED, offsetof(struct task_struct, cred)); in foo()
29 DEFINE(CRED_UID, offsetof(struct cred, uid)); in foo()
30 DEFINE(CRED_EUID, offsetof(struct cred, euid)); in foo()
31 DEFINE(CRED_GID, offsetof(struct cred, gid)); in foo()
32 DEFINE(CRED_EGID, offsetof(struct cred, egid)); in foo()
/arch/mips/kernel/
Dmips-mt-fpaff.c51 const struct cred *cred = current_cred(), *pcred; in check_same_owner() local
56 match = (uid_eq(cred->euid, pcred->euid) || in check_same_owner()
57 uid_eq(cred->euid, pcred->uid)); in check_same_owner()
/arch/x86/kernel/cpu/resctrl/
Drdtgroup.c652 const struct cred *tcred = get_task_cred(task); in rdtgroup_task_write_permission()
653 const struct cred *cred = current_cred(); in rdtgroup_task_write_permission() local
660 if (!uid_eq(cred->euid, GLOBAL_ROOT_UID) && in rdtgroup_task_write_permission()
661 !uid_eq(cred->euid, tcred->uid) && in rdtgroup_task_write_permission()
662 !uid_eq(cred->euid, tcred->suid)) { in rdtgroup_task_write_permission()