Lines Matching defs:out
371 * if out of memory.
382 ERR(sh, "Out of memory!");
588 int out;
590 if ((out =
596 if (write(out, data, num_bytes) == -1) {
598 close(out);
601 close(out);
726 ERR(sh, "Failed to malloc, out of memory.\n");
736 ERR(sh, "Failed to realloc, out of memory.\n");
1141 sepol_policydb_t *out = NULL;
1348 retval = cil_build_policydb(cildb, &out);
1390 retval = semanage_write_policydb(sh, out,
1396 retval = sepol_policydb_create(&out);
1400 retval = semanage_read_policydb(sh, out, SEMANAGE_LINKED);
1432 dbase_policydb_attach((dbase_policydb_t *) pusers_base->dbase, out);
1433 dbase_policydb_attach((dbase_policydb_t *) pports->dbase, out);
1434 dbase_policydb_attach((dbase_policydb_t *) pifaces->dbase, out);
1435 dbase_policydb_attach((dbase_policydb_t *) pbools->dbase, out);
1436 dbase_policydb_attach((dbase_policydb_t *) pnodes->dbase, out);
1445 retval = semanage_write_policydb(sh, out,
1463 retval = semanage_fcontext_validate_local(sh, out);
1470 retval = semanage_seuser_validate_local(sh, out);
1527 * which requires the out policydb */
1529 if (out && (retval =
1530 semanage_genhomedircon(sh, out, sh->conf->usepasswd, sh->conf->ignoredirs)) != 0) {
1540 /* free out, if we don't free it before calling semanage_install_sandbox
1542 sepol_policydb_free(out);
1543 out = NULL;
1566 sepol_policydb_free(out);
1585 * if necessary. Returns 0 on success, -1 if out of memory, -2 if the
1636 * previous module stored within. Returns 0 on success, -1 if out of memory, -2 if the
1805 /* Removes a module from the sandbox. Returns 0 on success, -1 if out