Searched refs:policydb_str (Results 1 – 2 of 2) sorted by relevance
4232 char *policydb_str; in policydb_read() local4262 policydb_str = malloc(len + 1); in policydb_read()4263 if (!policydb_str) { in policydb_read()4268 rc = next_entry(policydb_str, fp, len); in policydb_read()4271 free(policydb_str); in policydb_read()4274 policydb_str[len] = 0; in policydb_read()4278 if ((strcmp(policydb_str, policydb_target_strings[i]) in policydb_read()4287 "string %s", policydb_str); in policydb_read()4288 free(policydb_str); in policydb_read()4292 if (strcmp(policydb_str, POLICYDB_MOD_STRING)) { in policydb_read()[all …]
2204 const char *policydb_str; in policydb_write() local2234 policydb_str = policydb_target_strings[p->target_platform]; in policydb_write()2238 policydb_str = POLICYDB_MOD_STRING; in policydb_write()2244 items = put_entry(policydb_str, 1, len, fp); in policydb_write()