Lines Matching defs:out
560 int out;
562 if ((out =
568 if (write(out, data, num_bytes) == -1) {
570 close(out);
573 close(out);
656 ERR(sh, "Failed to malloc, out of memory.\n");
666 ERR(sh, "Failed to realloc, out of memory.\n");
1072 sepol_policydb_t *out = NULL;
1251 retval = cil_build_policydb(cildb, &out);
1294 retval = sepol_policydb_create(&out);
1298 retval = semanage_read_policydb(sh, out);
1305 dbase_policydb_attach((dbase_policydb_t *) pusers_base->dbase, out);
1306 dbase_policydb_attach((dbase_policydb_t *) pports->dbase, out);
1307 dbase_policydb_attach((dbase_policydb_t *) pifaces->dbase, out);
1308 dbase_policydb_attach((dbase_policydb_t *) pbools->dbase, out);
1309 dbase_policydb_attach((dbase_policydb_t *) pnodes->dbase, out);
1317 retval = semanage_write_policydb(sh, out);
1337 retval = semanage_fcontext_validate_local(sh, out);
1344 retval = semanage_seuser_validate_local(sh, out);
1401 * which requires the out policydb */
1403 if (out && (retval =
1404 semanage_genhomedircon(sh, out, sh->conf->usepasswd, sh->conf->ignoredirs)) != 0) {
1414 /* free out, if we don't free it before calling semanage_install_sandbox
1416 sepol_policydb_free(out);
1417 out = NULL;
1443 sepol_policydb_free(out);
1462 * if necessary. Returns 0 on success, -1 if out of memory, -2 if the
1513 * previous module stored within. Returns 0 on success, -1 if out of memory, -2 if the
1661 /* Removes a module from the sandbox. Returns 0 on success, -1 if out