Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dpolicydb.c3972 char *policydb_str; in policydb_read() local
4002 policydb_str = malloc(len + 1); in policydb_read()
4003 if (!policydb_str) { in policydb_read()
4008 rc = next_entry(policydb_str, fp, len); in policydb_read()
4011 free(policydb_str); in policydb_read()
4014 policydb_str[len] = 0; in policydb_read()
4018 if ((strcmp(policydb_str, policydb_target_strings[i]) in policydb_read()
4027 "string %s", policydb_str); in policydb_read()
4028 free(policydb_str); in policydb_read()
4032 if (strcmp(policydb_str, POLICYDB_MOD_STRING)) { in policydb_read()
[all …]
Dwrite.c2115 const char *policydb_str; in policydb_write() local
2147 policydb_str = policydb_target_strings[p->target_platform]; in policydb_write()
2151 policydb_str = POLICYDB_MOD_STRING; in policydb_write()
2157 items = put_entry(policydb_str, 1, len, fp); in policydb_write()