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.c565 !uid_eq(old->suid, keuid) && in __sys_setreuid()
577 new->suid = new->euid; in __sys_setreuid()
631 new->suid = new->uid = kuid; in __sys_setuid()
637 } else if (!uid_eq(kuid, old->uid) && !uid_eq(kuid, new->suid)) { in __sys_setuid()
669 long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid) in __sys_setresuid() argument
680 ksuid = make_kuid(ns, suid); in __sys_setresuid()
688 if ((suid != (uid_t) -1) && !uid_valid(ksuid)) in __sys_setresuid()
697 (suid == (uid_t) -1 || uid_eq(ksuid, old->suid))) in __sys_setresuid()
701 !uid_eq(kruid, old->euid) && !uid_eq(kruid, old->suid); in __sys_setresuid()
703 !uid_eq(keuid, old->euid) && !uid_eq(keuid, old->suid); in __sys_setresuid()
[all …]
Dcred.c50 .suid = GLOBAL_ROOT_UID,
273 new->suid = new->fsuid = new->euid; in prepare_exec_creds()
446 !uid_eq(new->suid, old->suid) || in commit_creds()
Duid16.h9 long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid);
Dauditsc.c399 return audit_compare_uid(cred->suid, name, f, ctx); in audit_field_compare()
413 return audit_uid_comparator(cred->uid, f->op, cred->suid); in audit_field_compare()
422 cred->suid); in audit_field_compare()
428 return audit_uid_comparator(cred->euid, f->op, cred->suid); in audit_field_compare()
433 return audit_uid_comparator(cred->suid, f->op, cred->fsuid); in audit_field_compare()
511 result = audit_uid_comparator(cred->suid, f->op, f->uid); in audit_filter_rules()
1013 ctx->uid = ctx->euid = ctx->suid = ctx->fsuid = KUIDT_INIT(0); in audit_reset_context()
1668 from_kuid(&init_user_ns, cred->suid), in audit_log_uring()
Daudit.h137 kuid_t uid, euid, suid, fsuid; member
Dsignal.c833 return uid_eq(cred->euid, tcred->suid) || in kill_ok_by_cred()
835 uid_eq(cred->uid, tcred->suid) || in kill_ok_by_cred()
1539 return uid_eq(cred->euid, pcred->suid) || in kill_as_cred_perm()
1541 uid_eq(cred->uid, pcred->suid) || in kill_as_cred_perm()
Dptrace.c329 uid_eq(caller_uid, tcred->suid) && in __ptrace_may_access()
Daudit.c2266 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()