Searched refs:suid (Results 1 – 10 of 10) sorted by relevance
/kernel/ |
D | uid16.c | 58 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()
|
D | sys.c | 529 !uid_eq(old->suid, keuid) && in __sys_setreuid() 541 new->suid = new->euid; in __sys_setreuid() 590 new->suid = new->uid = kuid; in __sys_setuid() 596 } else if (!uid_eq(kuid, old->uid) && !uid_eq(kuid, new->suid)) { in __sys_setuid() 623 long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid) in __sys_setresuid() argument 633 ksuid = make_kuid(ns, suid); in __sys_setresuid() 641 if ((suid != (uid_t) -1) && !uid_valid(ksuid)) in __sys_setresuid() 653 !uid_eq(kruid, old->euid) && !uid_eq(kruid, old->suid)) in __sys_setresuid() 656 !uid_eq(keuid, old->euid) && !uid_eq(keuid, old->suid)) in __sys_setresuid() 658 if (suid != (uid_t) -1 && !uid_eq(ksuid, old->uid) && in __sys_setresuid() [all …]
|
D | uid16.h | 9 long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid);
|
D | cred.c | 49 .suid = GLOBAL_ROOT_UID, 496 !uid_eq(new->suid, old->suid) || in commit_creds() 817 from_kuid_munged(&init_user_ns, cred->suid), in dump_invalid_creds()
|
D | auditsc.c | 373 return audit_compare_uid(cred->suid, name, f, ctx); in audit_field_compare() 387 return audit_uid_comparator(cred->uid, f->op, cred->suid); in audit_field_compare() 396 cred->suid); in audit_field_compare() 402 return audit_uid_comparator(cred->euid, f->op, cred->suid); in audit_field_compare() 407 return audit_uid_comparator(cred->suid, f->op, cred->fsuid); in audit_field_compare() 482 result = audit_uid_comparator(cred->suid, f->op, f->uid); in audit_filter_rules()
|
D | audit.h | 128 kuid_t uid, euid, suid, fsuid; member
|
D | signal.c | 811 return uid_eq(cred->euid, tcred->suid) || in kill_ok_by_cred() 813 uid_eq(cred->uid, tcred->suid) || in kill_ok_by_cred() 1469 return uid_eq(cred->euid, pcred->suid) || in kill_as_cred_perm() 1471 uid_eq(cred->uid, pcred->suid) || in kill_as_cred_perm()
|
D | ptrace.c | 323 uid_eq(caller_uid, tcred->suid) && in __ptrace_may_access()
|
D | audit.c | 2142 from_kuid(&init_user_ns, cred->suid), in audit_log_task_info()
|
/kernel/cgroup/ |
D | cgroup-v1.c | 516 !uid_eq(cred->euid, tcred->suid) && in __cgroup1_procs_write()
|