Lines Matching defs:handle
1182 static int policydb_index_decls(sepol_handle_t * handle, policydb_t * p)
1207 ERR(handle, "invalid decl ID %u", decl->decl_id);
1211 ERR(handle, "duplicated decl ID %u", decl->decl_id);
1225 int policydb_index_others(sepol_handle_t * handle,
1231 INFO(handle,
1237 INFO(handle, "security: %d sens, %d cats",
1240 INFO(handle, "security: %d classes, %d rules, %d cond rules",
1636 * into a symbol table for a policy. This function will handle
1861 ERR(fp->handle, "range overflow");
1867 ERR(fp->handle, "truncated range");
1878 ERR(fp->handle, "error reading low categories");
1884 ERR(fp->handle, "error reading high categories");
1890 ERR(fp->handle, "out of memory");
1919 ERR(fp->handle, "truncated level");
1928 ERR(fp->handle, "out of memory");
1938 ERR(fp->handle, "error reading level categories");
2026 ERR(fp->handle, "context truncated");
2037 ERR(fp->handle, "error reading MLS range "
2044 ERR(fp->handle, "invalid security context");
2295 ERR(fp->handle, "unknown common %s", cladatum->comkey);
2412 ERR(fp->handle, "role %s has wrong value %d",
2976 ERR(fp->handle, "Unknown Xen ocontext");
3154 ERR(fp->handle, "Unknown SELinux ocontext");
3175 ERR(fp->handle, "Unknown target");
3219 ERR(fp->handle, "dup genfs fstype %s",
3267 ERR(fp->handle, "dup genfs entry "
3312 ERR(fp->handle, "truncated level");
3318 ERR(fp->handle, "error reading level categories");
3571 ERR(fp->handle,
3579 ERR(fp->handle,
3592 ERR(fp->handle, "truncated entry");
3598 ERR(fp->handle, "truncated entry");
3604 ERR(fp->handle, "truncated entry");
4146 ERR(fp->handle, "invalid scope with no declaration");
4249 ERR(fp->handle, "policydb magic number %#08x does not "
4257 ERR(fp->handle, "policydb string length %s ", len ? "too long" : "zero");
4263 ERR(fp->handle, "unable to allocate memory for policydb "
4269 ERR(fp->handle, "truncated policydb string identifier");
4285 ERR(fp->handle, "cannot find a valid target for policy "
4292 ERR(fp->handle, "invalid string identifier %s",
4323 ERR(fp->handle, "unknown module type: %#08x",
4334 ERR(fp->handle, "policydb version %d does not match "
4342 ERR(fp->handle, "policydb module version %d does "
4370 ERR(fp->handle, "unable to find policy compat info "
4377 ERR(fp->handle,
4439 ERR(fp->handle, "unexpected items in symbol table with no symbol");
4483 ERR(fp->handle, "no avrule block in policy");
4499 if (policydb_index_decls(fp->handle, p))
4519 if (policydb_index_others(fp->handle, p, verbose))
4572 if (policydb_validate(fp->handle, p))