Lines Matching defs:handle
32 sepol_handle_t *handle;
47 static void report_failure(sepol_handle_t *handle, policydb_t *p, const avrule_t *avrule,
52 ERR(handle, "neverallow on line %lu of %s (or line %lu of %s) violated by allow %s %s:%s {%s };",
59 ERR(handle, "neverallow on line %lu violated by allow %s %s:%s {%s };",
65 ERR(handle, "neverallow violated by allow %s %s:%s {%s };",
145 static int report_assertion_extended_permissions(sepol_handle_t *handle,
182 ERR(handle, "neverallowxperm on line %lu of %s (or line %lu of %s) violated by\n"
198 ERR(handle, "neverallowxperm on line %lu of %s (or line %lu of %s) violated by\n"
216 sepol_handle_t *handle = a->handle;
276 a->errors += report_assertion_extended_permissions(handle,p, avrule,
280 report_failure(handle, p, avrule, i, j, cp, perms);
294 static int report_assertion_failures(sepol_handle_t *handle, policydb_t *p, avrule_t *avrule)
299 args.handle = handle;
522 args.handle = NULL;
538 int check_assertions(sepol_handle_t * handle, policydb_t * p,
557 ERR(handle, "Error occurred while checking neverallows");
561 rc = report_assertion_failures(handle, p, a);
563 ERR(handle, "Error occurred while checking neverallows");
571 ERR(handle, "%lu neverallow failures occurred", errors);