Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dpolicydb.c4232 char *policydb_str; in policydb_read() local
4262 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 …]
Dwrite.c2204 const char *policydb_str; in policydb_write() local
2234 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()