Searched refs:policydb_str (Results 1 – 2 of 2) sorted by relevance
3543 char *policydb_str; in policydb_read() local3573 policydb_str = malloc(len + 1); in policydb_read()3574 if (!policydb_str) { in policydb_read()3579 rc = next_entry(policydb_str, fp, len); in policydb_read()3582 free(policydb_str); in policydb_read()3585 policydb_str[len] = 0; in policydb_read()3589 if ((strcmp(policydb_str, policydb_target_strings[i]) in policydb_read()3598 "string %s", policydb_str); in policydb_read()3599 free(policydb_str); in policydb_read()3603 if (strcmp(policydb_str, POLICYDB_MOD_STRING)) { in policydb_read()[all …]
1867 char *policydb_str; in policydb_write() local1897 policydb_str = policydb_target_strings[p->target_platform]; in policydb_write()1901 policydb_str = POLICYDB_MOD_STRING; in policydb_write()1907 items = put_entry(policydb_str, 1, len, fp); in policydb_write()