Home
last modified time | relevance | path

Searched refs:euid (Results 1 – 12 of 12) sorted by relevance

/kernel/
Duid16.c48 SYSCALL_DEFINE2(setreuid16, old_uid_t, ruid, old_uid_t, euid) in SYSCALL_DEFINE2() argument
50 return __sys_setreuid(low2highuid(ruid), low2highuid(euid)); in SYSCALL_DEFINE2()
58 SYSCALL_DEFINE3(setresuid16, old_uid_t, ruid, old_uid_t, euid, old_uid_t, suid) in SYSCALL_DEFINE3() argument
60 return __sys_setresuid(low2highuid(ruid), low2highuid(euid), in SYSCALL_DEFINE3()
68 old_uid_t ruid, euid, suid; in SYSCALL_DEFINE3() local
71 euid = high2lowuid(from_kuid_munged(cred->user_ns, cred->euid)); in SYSCALL_DEFINE3()
75 !(retval = put_user(euid, euidp))) in SYSCALL_DEFINE3()
Dsys.c162 if (uid_eq(pcred->uid, cred->euid) || in set_one_prio_perm()
163 uid_eq(pcred->euid, cred->euid)) in set_one_prio_perm()
495 long __sys_setreuid(uid_t ruid, uid_t euid) in __sys_setreuid() argument
504 keuid = make_kuid(ns, euid); in __sys_setreuid()
508 if ((euid != (uid_t) -1) && !uid_valid(keuid)) in __sys_setreuid()
520 !uid_eq(old->euid, kruid) && in __sys_setreuid()
525 if (euid != (uid_t) -1) { in __sys_setreuid()
526 new->euid = keuid; in __sys_setreuid()
528 !uid_eq(old->euid, keuid) && in __sys_setreuid()
540 (euid != (uid_t) -1 && !uid_eq(keuid, old->uid))) in __sys_setreuid()
[all …]
Duid16.h7 long __sys_setreuid(uid_t ruid, uid_t euid);
9 long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid);
Dcred.c51 .euid = GLOBAL_ROOT_UID,
413 uid_eq(subset_ns->owner, set->euid)) in cred_cap_issubset()
454 if (!uid_eq(old->euid, new->euid) || in commit_creds()
495 !uid_eq(new->euid, old->euid) || in commit_creds()
816 from_kuid_munged(&init_user_ns, cred->euid), in dump_invalid_creds()
Duser_namespace.c72 kuid_t owner = new->euid; in create_user_ns()
1093 uid_eq(ns->owner, cred->euid)) { in new_idmap_permitted()
1097 if (uid_eq(uid, cred->euid)) in new_idmap_permitted()
Dauditsc.c367 return audit_compare_uid(cred->euid, name, f, ctx); in audit_field_compare()
385 return audit_uid_comparator(cred->uid, f->op, cred->euid); in audit_field_compare()
393 cred->euid); in audit_field_compare()
402 return audit_uid_comparator(cred->euid, f->op, cred->suid); in audit_field_compare()
404 return audit_uid_comparator(cred->euid, f->op, cred->fsuid); in audit_field_compare()
479 result = audit_uid_comparator(cred->euid, f->op, f->uid); in audit_filter_rules()
Daudit.h128 kuid_t uid, euid, suid, fsuid; member
Dsignal.c811 return uid_eq(cred->euid, tcred->suid) || in kill_ok_by_cred()
812 uid_eq(cred->euid, tcred->uid) || in kill_ok_by_cred()
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()
Dptrace.c322 if (uid_eq(caller_uid, tcred->euid) && in __ptrace_may_access()
Daudit.c2141 from_kuid(&init_user_ns, cred->euid), in audit_log_task_info()
/kernel/cgroup/
Dcgroup-v1.c514 if (!uid_eq(cred->euid, GLOBAL_ROOT_UID) && in __cgroup1_procs_write()
515 !uid_eq(cred->euid, tcred->uid) && in __cgroup1_procs_write()
516 !uid_eq(cred->euid, tcred->suid) && in __cgroup1_procs_write()
/kernel/sched/
Dcore.c4745 match = (uid_eq(cred->euid, pcred->euid) || in check_same_owner()
4746 uid_eq(cred->euid, pcred->uid)); in check_same_owner()