euid 30 arch/alpha/kernel/asm-offsets.c DEFINE(CRED_EUID, offsetof(struct cred, euid)); euid 2325 arch/ia64/kernel/perfmon.c from_kuid(&init_user_ns, tcred->euid), euid 2331 arch/ia64/kernel/perfmon.c ret = ((!uid_eq(uid, tcred->euid)) euid 56 arch/mips/kernel/mips-mt-fpaff.c match = (uid_eq(cred->euid, pcred->euid) || euid 57 arch/mips/kernel/mips-mt-fpaff.c uid_eq(cred->euid, pcred->uid)); euid 96 arch/s390/kernel/compat_linux.h long compat_sys_s390_setreuid16(u16 ruid, u16 euid); euid 98 arch/s390/kernel/compat_linux.h long compat_sys_s390_setresuid16(u16 ruid, u16 euid, u16 suid); euid 99 arch/s390/kernel/compat_linux.h long compat_sys_s390_getresuid16(u16 __user *ruid, u16 __user *euid, u16 __user *suid); euid 628 arch/x86/kernel/cpu/resctrl/rdtgroup.c if (!uid_eq(cred->euid, GLOBAL_ROOT_UID) && euid 629 arch/x86/kernel/cpu/resctrl/rdtgroup.c !uid_eq(cred->euid, tcred->uid) && euid 630 arch/x86/kernel/cpu/resctrl/rdtgroup.c !uid_eq(cred->euid, tcred->suid)) { euid 44 block/ioprio.c if (!uid_eq(tcred->uid, cred->euid) && euid 136 drivers/connector/cn_proc.c ev->event_data.id.e.euid = from_kuid_munged(&init_user_ns, cred->euid); euid 97 drivers/gpu/drm/drm_debugfs.c uid = task ? __task_cred(task)->euid : GLOBAL_ROOT_UID; euid 544 drivers/misc/cxl/guest.c if (uid_eq(cred->euid, GLOBAL_ROOT_UID)) euid 624 drivers/net/tun.c return ((uid_valid(tun->owner) && !uid_eq(cred->euid, tun->owner)) || euid 84 drivers/staging/greybus/authentication.c static int cap_get_endpoint_uid(struct gb_cap *cap, u8 *euid) euid 97 drivers/staging/greybus/authentication.c memcpy(euid, response.uid, sizeof(response.uid)); euid 256 fs/binfmt_elf.c NEW_AUX_ENT(AT_EUID, from_kuid_munged(cred->user_ns, cred->euid)); euid 653 fs/binfmt_elf_fdpic.c NEW_AUX_ENT(AT_EUID, (elf_addr_t) from_kuid_munged(cred->user_ns, cred->euid)); euid 109 fs/ecryptfs/messaging.c if (uid_eq((*daemon)->file->f_cred->euid, current_euid())) { euid 1529 fs/exec.c bprm->cred->euid = current_euid(); euid 1559 fs/exec.c bprm->cred->euid = uid; euid 99 fs/fcntl.c filp->f_owner.euid = cred->euid; euid 246 fs/fcntl.c src[1] = from_kuid(user_ns, filp->f_owner.euid); euid 716 fs/fcntl.c ret = ((uid_eq(fown->euid, GLOBAL_ROOT_UID) || euid 717 fs/fcntl.c uid_eq(fown->euid, cred->suid) || uid_eq(fown->euid, cred->uid) || euid 1092 fs/fuse/dir.c if (uid_eq(cred->euid, fc->user_id) && euid 194 fs/proc/array.c seq_put_decimal_ull(m, "\t", from_kuid_munged(user_ns, cred->euid)); euid 1707 fs/proc/base.c uid = cred->euid; euid 124 include/linux/cred.h kuid_t euid; /* effective UID of the task */ euid 372 include/linux/cred.h #define task_euid(task) (task_cred_xxx((task), euid)) euid 381 include/linux/cred.h #define current_euid() (current_cred_xxx(euid)) euid 413 include/linux/cred.h *(_euid) = __cred->euid; \ euid 909 include/linux/fs.h kuid_t uid, euid; /* uid/euid of process setting the owner */ euid 706 include/linux/syscalls.h asmlinkage long sys_setreuid(uid_t ruid, uid_t euid); euid 708 include/linux/syscalls.h asmlinkage long sys_setresuid(uid_t ruid, uid_t euid, uid_t suid); euid 709 include/linux/syscalls.h asmlinkage long sys_getresuid(uid_t __user *ruid, uid_t __user *euid, uid_t __user *suid); euid 1163 include/linux/syscalls.h asmlinkage long sys_setreuid16(old_uid_t ruid, old_uid_t euid); euid 1165 include/linux/syscalls.h asmlinkage long sys_setresuid16(old_uid_t ruid, old_uid_t euid, old_uid_t suid); euid 1167 include/linux/syscalls.h old_uid_t __user *euid, old_uid_t __user *suid); euid 93 include/uapi/linux/cn_proc.h __u32 euid; euid 1091 ipc/shm.c kuid_t euid = current_euid(); euid 1093 ipc/shm.c if (!uid_eq(euid, shp->shm_perm.uid) && euid 1094 ipc/shm.c !uid_eq(euid, shp->shm_perm.cuid)) { euid 279 ipc/util.c kuid_t euid; euid 298 ipc/util.c current_euid_egid(&euid, &egid); euid 299 ipc/util.c new->cuid = new->uid = euid; euid 521 ipc/util.c kuid_t euid = current_euid(); euid 527 ipc/util.c if (uid_eq(euid, ipcp->cuid) || euid 528 ipc/util.c uid_eq(euid, ipcp->uid)) euid 692 ipc/util.c kuid_t euid; euid 707 ipc/util.c euid = current_euid(); euid 708 ipc/util.c if (uid_eq(euid, ipcp->cuid) || uid_eq(euid, ipcp->uid) || euid 2146 kernel/audit.c from_kuid(&init_user_ns, cred->euid), euid 128 kernel/audit.h kuid_t uid, euid, suid, fsuid; euid 367 kernel/auditsc.c return audit_compare_uid(cred->euid, name, f, ctx); euid 385 kernel/auditsc.c return audit_uid_comparator(cred->uid, f->op, cred->euid); euid 393 kernel/auditsc.c cred->euid); euid 402 kernel/auditsc.c return audit_uid_comparator(cred->euid, f->op, cred->suid); euid 404 kernel/auditsc.c return audit_uid_comparator(cred->euid, f->op, cred->fsuid); euid 479 kernel/auditsc.c result = audit_uid_comparator(cred->euid, f->op, f->uid); euid 515 kernel/cgroup/cgroup-v1.c if (!uid_eq(cred->euid, GLOBAL_ROOT_UID) && euid 516 kernel/cgroup/cgroup-v1.c !uid_eq(cred->euid, tcred->uid) && euid 517 kernel/cgroup/cgroup-v1.c !uid_eq(cred->euid, tcred->suid)) euid 51 kernel/cred.c .euid = GLOBAL_ROOT_UID, euid 413 kernel/cred.c uid_eq(subset_ns->owner, set->euid)) euid 454 kernel/cred.c if (!uid_eq(old->euid, new->euid) || euid 495 kernel/cred.c !uid_eq(new->euid, old->euid) || euid 816 kernel/cred.c from_kuid_munged(&init_user_ns, cred->euid), euid 322 kernel/ptrace.c if (uid_eq(caller_uid, tcred->euid) && euid 4743 kernel/sched/core.c match = (uid_eq(cred->euid, pcred->euid) || euid 4744 kernel/sched/core.c uid_eq(cred->euid, pcred->uid)); euid 816 kernel/signal.c return uid_eq(cred->euid, tcred->suid) || euid 817 kernel/signal.c uid_eq(cred->euid, tcred->uid) || euid 1474 kernel/signal.c return uid_eq(cred->euid, pcred->suid) || euid 1475 kernel/signal.c uid_eq(cred->euid, pcred->uid) || euid 160 kernel/sys.c if (uid_eq(pcred->uid, cred->euid) || euid 161 kernel/sys.c uid_eq(pcred->euid, cred->euid)) euid 493 kernel/sys.c long __sys_setreuid(uid_t ruid, uid_t euid) euid 502 kernel/sys.c keuid = make_kuid(ns, euid); euid 506 kernel/sys.c if ((euid != (uid_t) -1) && !uid_valid(keuid)) euid 518 kernel/sys.c !uid_eq(old->euid, kruid) && euid 523 kernel/sys.c if (euid != (uid_t) -1) { euid 524 kernel/sys.c new->euid = keuid; euid 526 kernel/sys.c !uid_eq(old->euid, keuid) && euid 538 kernel/sys.c (euid != (uid_t) -1 && !uid_eq(keuid, old->uid))) euid 539 kernel/sys.c new->suid = new->euid; euid 540 kernel/sys.c new->fsuid = new->euid; euid 553 kernel/sys.c SYSCALL_DEFINE2(setreuid, uid_t, ruid, uid_t, euid) euid 555 kernel/sys.c return __sys_setreuid(ruid, euid); euid 598 kernel/sys.c new->fsuid = new->euid = kuid; euid 621 kernel/sys.c long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid) euid 630 kernel/sys.c keuid = make_kuid(ns, euid); euid 636 kernel/sys.c if ((euid != (uid_t) -1) && !uid_valid(keuid)) euid 651 kernel/sys.c !uid_eq(kruid, old->euid) && !uid_eq(kruid, old->suid)) euid 653 kernel/sys.c if (euid != (uid_t) -1 && !uid_eq(keuid, old->uid) && euid 654 kernel/sys.c !uid_eq(keuid, old->euid) && !uid_eq(keuid, old->suid)) euid 657 kernel/sys.c !uid_eq(ksuid, old->euid) && !uid_eq(ksuid, old->suid)) euid 669 kernel/sys.c if (euid != (uid_t) -1) euid 670 kernel/sys.c new->euid = keuid; euid 673 kernel/sys.c new->fsuid = new->euid; euid 686 kernel/sys.c SYSCALL_DEFINE3(setresuid, uid_t, ruid, uid_t, euid, uid_t, suid) euid 688 kernel/sys.c return __sys_setresuid(ruid, euid, suid); euid 695 kernel/sys.c uid_t ruid, euid, suid; euid 698 kernel/sys.c euid = from_kuid_munged(cred->user_ns, cred->euid); euid 703 kernel/sys.c retval = put_user(euid, euidp); euid 815 kernel/sys.c if (uid_eq(kuid, old->uid) || uid_eq(kuid, old->euid) || euid 1594 kernel/sys.c id_match = (uid_eq(cred->uid, tcred->euid) && euid 48 kernel/uid16.c SYSCALL_DEFINE2(setreuid16, old_uid_t, ruid, old_uid_t, euid) euid 50 kernel/uid16.c return __sys_setreuid(low2highuid(ruid), low2highuid(euid)); euid 58 kernel/uid16.c SYSCALL_DEFINE3(setresuid16, old_uid_t, ruid, old_uid_t, euid, old_uid_t, suid) euid 60 kernel/uid16.c return __sys_setresuid(low2highuid(ruid), low2highuid(euid), euid 68 kernel/uid16.c old_uid_t ruid, euid, suid; euid 71 kernel/uid16.c euid = high2lowuid(from_kuid_munged(cred->user_ns, cred->euid)); euid 75 kernel/uid16.c !(retval = put_user(euid, euidp))) euid 7 kernel/uid16.h long __sys_setreuid(uid_t ruid, uid_t euid); euid 9 kernel/uid16.h long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid); euid 72 kernel/user_namespace.c kuid_t owner = new->euid; euid 1093 kernel/user_namespace.c uid_eq(ns->owner, cred->euid)) { euid 1097 kernel/user_namespace.c if (uid_eq(uid, cred->euid)) euid 815 lib/vsprintf.c !uid_eq(cred->euid, cred->uid) || euid 56 net/core/scm.c ((uid_eq(uid, cred->uid) || uid_eq(uid, cred->euid) || euid 1198 net/core/sock.c ucred->uid = from_kuid_munged(current_ns, cred->euid); euid 90 security/commoncap.c if ((ns->parent == cred->user_ns) && uid_eq(ns->owner, cred->euid)) euid 696 security/commoncap.c { return uid_eq(cred->euid, uid); } euid 755 security/commoncap.c { return !uid_eq(new->euid, old->uid); } euid 844 security/commoncap.c new->euid = new->uid; euid 851 security/commoncap.c new->suid = new->fsuid = new->euid; euid 1003 security/commoncap.c uid_eq(old->euid, root_uid) || euid 1006 security/commoncap.c !uid_eq(new->euid, root_uid) && euid 1020 security/commoncap.c if (uid_eq(old->euid, root_uid) && !uid_eq(new->euid, root_uid)) euid 1022 security/commoncap.c if (!uid_eq(old->euid, root_uid) && uid_eq(new->euid, root_uid)) euid 402 security/integrity/ima/ima_policy.c if (!rule->uid_op(cred->euid, rule->uid) euid 406 security/integrity/ima/ima_policy.c } else if (!rule->uid_op(cred->euid, rule->uid)) euid 1669 security/keys/keyctl.c if (!uid_eq(pcred->uid, mycred->euid) || euid 1670 security/keys/keyctl.c !uid_eq(pcred->euid, mycred->euid) || euid 1671 security/keys/keyctl.c !uid_eq(pcred->suid, mycred->euid) || euid 1679 security/keys/keyctl.c !uid_eq(pcred->session_keyring->uid, mycred->euid)) || euid 1680 security/keys/keyctl.c !uid_eq(mycred->session_keyring->uid, mycred->euid)) euid 923 security/keys/process_keys.c new-> euid = old-> euid; euid 105 security/safesetid/lsm.c if (uid_eq(new_uid, old->uid) || uid_eq(new_uid, old->euid) || euid 117 security/safesetid/lsm.c __kuid_val(old->uid), __kuid_val(old->euid), euid 138 security/safesetid/lsm.c uid_permitted_for_cred(old, new->euid) && euid 949 security/tomoyo/common.c !uid_eq(task->cred->euid, GLOBAL_ROOT_UID)))