Home
last modified time | relevance | path

Searched refs:policydb_str (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libsepol/src/
Dpolicydb.c3954 char *policydb_str; in policydb_read() local
3984 policydb_str = malloc(len + 1); in policydb_read()
3985 if (!policydb_str) { in policydb_read()
3990 rc = next_entry(policydb_str, fp, len); in policydb_read()
3993 free(policydb_str); in policydb_read()
3996 policydb_str[len] = 0; in policydb_read()
4000 if ((strcmp(policydb_str, policydb_target_strings[i]) in policydb_read()
4009 "string %s", policydb_str); in policydb_read()
4010 free(policydb_str); in policydb_read()
4014 if (strcmp(policydb_str, POLICYDB_MOD_STRING)) { in policydb_read()
[all …]
Dwrite.c2086 const char *policydb_str; in policydb_write() local
2116 policydb_str = policydb_target_strings[p->target_platform]; in policydb_write()
2120 policydb_str = POLICYDB_MOD_STRING; in policydb_write()
2126 items = put_entry(policydb_str, 1, len, fp); in policydb_write()