Lines Matching defs:filecon
340 CIL_KEY_FILECON = cil_strpool_add("filecon");
415 cil_sort_init(&(*db)->filecon);
470 cil_sort_destroy(&(*db)->filecon);
1725 struct cil_sort *filecons = db->filecon;
1728 struct cil_filecon *filecon = filecons->array[i];
1729 struct cil_context *ctx = filecon->context;
1731 str_len += strlen(filecon->path_str);
1733 if (filecon->type != CIL_FILECON_ANY) {
1766 struct cil_filecon *filecon = filecons->array[i];
1767 struct cil_context *ctx = filecon->context;
1770 buf_pos = sprintf(str_tmp, "%s", filecon->path_str);
1773 switch(filecon->type) {
2537 void cil_filecon_init(struct cil_filecon **filecon)
2539 *filecon = cil_malloc(sizeof(**filecon));
2541 (*filecon)->path_str = NULL;
2542 (*filecon)->type = CIL_FILECON_ANY;
2543 (*filecon)->context_str = NULL;
2544 (*filecon)->context = NULL;