Lines Matching refs:uid
329 static int audit_compare_uid(kuid_t uid, in audit_compare_uid() argument
338 rc = audit_uid_comparator(uid, f->op, name->uid); in audit_compare_uid()
345 rc = audit_uid_comparator(uid, f->op, n->uid); in audit_compare_uid()
386 return audit_compare_uid(cred->uid, name, f, ctx); in audit_field_compare()
405 return audit_uid_comparator(cred->uid, f->op, in audit_field_compare()
408 return audit_uid_comparator(cred->uid, f->op, cred->euid); in audit_field_compare()
410 return audit_uid_comparator(cred->uid, f->op, cred->suid); in audit_field_compare()
412 return audit_uid_comparator(cred->uid, f->op, cred->fsuid); in audit_field_compare()
502 result = audit_uid_comparator(cred->uid, f->op, f->uid); in audit_filter_rules()
505 result = audit_uid_comparator(cred->euid, f->op, f->uid); in audit_filter_rules()
508 result = audit_uid_comparator(cred->suid, f->op, f->uid); in audit_filter_rules()
511 result = audit_uid_comparator(cred->fsuid, f->op, f->uid); in audit_filter_rules()
607 result = audit_uid_comparator(name->uid, f->op, f->uid); in audit_filter_rules()
610 if (audit_uid_comparator(n->uid, f->op, f->uid)) { in audit_filter_rules()
647 f->op, f->uid); in audit_filter_rules()
1006 ctx->uid = ctx->euid = ctx->suid = ctx->fsuid = KUIDT_INIT(0); in audit_reset_context()
1086 kuid_t auid, kuid_t uid, unsigned int sessionid, in audit_log_pid_context() argument
1100 from_kuid(&init_user_ns, uid), sessionid); in audit_log_pid_context()
1387 from_kuid(&init_user_ns, context->ipc.uid), in show_special()
1553 from_kuid(&init_user_ns, n->uid), in audit_log_name()
1661 from_kuid(&init_user_ns, cred->uid), in audit_log_uring()
2274 name->uid = inode->i_uid; in audit_copy_inode()
2627 context->ipc.uid = ipcp->uid; in __audit_ipc_obj()
2644 void __audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, umode_t mode) in __audit_ipc_set_perm() argument
2649 context->ipc.perm_uid = uid; in __audit_ipc_set_perm()
2931 kuid_t auid, uid; in audit_log_task() local
2938 current_uid_gid(&uid, &gid); in audit_log_task()
2942 from_kuid(&init_user_ns, uid), in audit_log_task()