Home
last modified time | relevance | path

Searched refs:suid (Results 1 – 10 of 10) sorted by relevance

/kernel/
Duid16.c58 SYSCALL_DEFINE3(setresuid16, old_uid_t, ruid, old_uid_t, euid, old_uid_t, suid) in SYSCALL_DEFINE3() argument
61 low2highuid(suid)); in SYSCALL_DEFINE3()
68 old_uid_t ruid, euid, suid; in SYSCALL_DEFINE3() local
72 suid = high2lowuid(from_kuid_munged(cred->user_ns, cred->suid)); in SYSCALL_DEFINE3()
76 retval = put_user(suid, suidp); in SYSCALL_DEFINE3()
Dsys.c558 !uid_eq(old->suid, keuid) && in __sys_setreuid()
570 new->suid = new->euid; in __sys_setreuid()
624 new->suid = new->uid = kuid; in __sys_setuid()
630 } else if (!uid_eq(kuid, old->uid) && !uid_eq(kuid, new->suid)) { in __sys_setuid()
662 long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid) in __sys_setresuid() argument
673 ksuid = make_kuid(ns, suid); in __sys_setresuid()
681 if ((suid != (uid_t) -1) && !uid_valid(ksuid)) in __sys_setresuid()
690 (suid == (uid_t) -1 || uid_eq(ksuid, old->suid))) in __sys_setresuid()
694 !uid_eq(kruid, old->euid) && !uid_eq(kruid, old->suid); in __sys_setresuid()
696 !uid_eq(keuid, old->euid) && !uid_eq(keuid, old->suid); in __sys_setresuid()
[all …]
Dcred.c51 .suid = GLOBAL_ROOT_UID,
328 new->suid = new->fsuid = new->euid; in prepare_exec_creds()
513 !uid_eq(new->suid, old->suid) || in commit_creds()
858 from_kuid_munged(&init_user_ns, cred->suid), in dump_invalid_creds()
Duid16.h9 long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid);
Dauditsc.c396 return audit_compare_uid(cred->suid, name, f, ctx); in audit_field_compare()
410 return audit_uid_comparator(cred->uid, f->op, cred->suid); in audit_field_compare()
419 cred->suid); in audit_field_compare()
425 return audit_uid_comparator(cred->euid, f->op, cred->suid); in audit_field_compare()
430 return audit_uid_comparator(cred->suid, f->op, cred->fsuid); in audit_field_compare()
508 result = audit_uid_comparator(cred->suid, f->op, f->uid); in audit_filter_rules()
1006 ctx->uid = ctx->euid = ctx->suid = ctx->fsuid = KUIDT_INIT(0); in audit_reset_context()
1664 from_kuid(&init_user_ns, cred->suid), in audit_log_uring()
Daudit.h137 kuid_t uid, euid, suid, fsuid; member
Dsignal.c831 return uid_eq(cred->euid, tcred->suid) || in kill_ok_by_cred()
833 uid_eq(cred->uid, tcred->suid) || in kill_ok_by_cred()
1527 return uid_eq(cred->euid, pcred->suid) || in kill_as_cred_perm()
1529 uid_eq(cred->uid, pcred->suid) || in kill_as_cred_perm()
Dptrace.c328 uid_eq(caller_uid, tcred->suid) && in __ptrace_may_access()
Daudit.c2267 from_kuid(&init_user_ns, cred->suid), in audit_log_task_info()
/kernel/cgroup/
Dcgroup-v1.c517 !uid_eq(cred->euid, tcred->suid) && in __cgroup1_procs_write()