Lines Matching refs:a
706 static int audit_compare_rule(struct audit_krule *a, struct audit_krule *b) in audit_compare_rule() argument
710 if (a->flags != b->flags || in audit_compare_rule()
711 a->pflags != b->pflags || in audit_compare_rule()
712 a->listnr != b->listnr || in audit_compare_rule()
713 a->action != b->action || in audit_compare_rule()
714 a->field_count != b->field_count) in audit_compare_rule()
717 for (i = 0; i < a->field_count; i++) { in audit_compare_rule()
718 if (a->fields[i].type != b->fields[i].type || in audit_compare_rule()
719 a->fields[i].op != b->fields[i].op) in audit_compare_rule()
722 switch (a->fields[i].type) { in audit_compare_rule()
733 if (strcmp(a->fields[i].lsm_str, b->fields[i].lsm_str)) in audit_compare_rule()
737 if (strcmp(audit_watch_path(a->watch), in audit_compare_rule()
742 if (strcmp(audit_tree_path(a->tree), in audit_compare_rule()
748 if (strcmp(a->filterkey, b->filterkey)) in audit_compare_rule()
753 if (strcmp(audit_mark_path(a->exe), in audit_compare_rule()
763 if (!uid_eq(a->fields[i].uid, b->fields[i].uid)) in audit_compare_rule()
771 if (!gid_eq(a->fields[i].gid, b->fields[i].gid)) in audit_compare_rule()
775 if (a->fields[i].val != b->fields[i].val) in audit_compare_rule()
781 if (a->mask[i] != b->mask[i]) in audit_compare_rule()