Lines Matching refs:file_contexts
144 free(p->file_contexts); in hidden_def()
155 return p->file_contexts; in hidden_def()
197 if (set_char(&p->file_contexts, data, len)) in sepol_module_package_set_file_contexts()
258 if ((s = (char *)realloc(base->file_contexts, fc_len)) == NULL) { in link_file_contexts()
261 base->file_contexts = s; in link_file_contexts()
263 memcpy(base->file_contexts + base->file_contexts_len, in link_file_contexts()
264 modules[i]->file_contexts, in link_file_contexts()
513 mod->file_contexts = in sepol_module_package_read()
515 if (!mod->file_contexts) { in sepol_module_package_read()
520 (mod->file_contexts, file, in sepol_module_package_read()
525 free(mod->file_contexts); in sepol_module_package_read()
526 mod->file_contexts = NULL; in sepol_module_package_read()
891 if (p->file_contexts) in sepol_module_package_write()
914 if (p->file_contexts) { in sepol_module_package_write()
947 if (p->file_contexts) { in sepol_module_package_write()
951 if (write_helper(p->file_contexts, p->file_contexts_len, file)) in sepol_module_package_write()