Searched defs:filecon (Results 1 - 7 of 7) sorted by relevance
/external/selinux/libsepol/cil/src/ |
H A D | cil_reset_ast.c | 284 static void cil_reset_filecon(struct cil_filecon *filecon) argument 286 if (filecon->context_str == NULL && filecon->context != NULL) { 287 cil_reset_context(filecon->context);
|
H A D | cil_tree.c | 1301 struct cil_filecon *filecon = node->data; local 1303 cil_log(CIL_INFO, " %s %d", filecon->path_str, filecon->type); 1305 if (filecon->context != NULL) { 1306 cil_tree_print_context(filecon->context); 1307 } else if (filecon->context_str != NULL) { 1308 cil_log(CIL_INFO, " %s", filecon->context_str);
|
H A D | cil.c | 188 CIL_KEY_FILECON = cil_strpool_add("filecon"); 253 cil_sort_init(&(*db)->filecon); 302 cil_sort_destroy(&(*db)->filecon); 1486 struct cil_sort *filecons = db->filecon; 1489 struct cil_filecon *filecon = filecons->array[i]; local 1490 struct cil_context *ctx = filecon->context; 1492 str_len += strlen(filecon->path_str); 1494 if (filecon->type != CIL_FILECON_ANY) { 1527 struct cil_filecon *filecon = filecons->array[i]; local 1528 struct cil_context *ctx = filecon 2205 cil_filecon_init(struct cil_filecon **filecon) argument [all...] |
H A D | cil_post.c | 396 db->filecon->count++; 514 struct cil_sort *sort = db->filecon; 1570 struct cil_filecon *filecon = node->data; local 1571 if (filecon->context) { 1572 rc = __evaluate_levelrange_expression(filecon->context->range, db); 1941 qsort(db->filecon->array, db->filecon->count, sizeof(db->filecon->array), cil_post_filecon_compare);
|
H A D | cil_resolve_ast.c | 1849 struct cil_filecon *filecon = current->data; local 1853 if (filecon->context_str != NULL) { 1854 rc = cil_resolve_name(current, filecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); 1858 filecon->context = (struct cil_context*)context_datum; 1859 } else if (filecon->context != NULL) { 1860 rc = cil_resolve_context(current, filecon->context, extra_args);
|
H A D | cil_build_ast.c | 4154 struct cil_filecon *filecon = NULL; local 4167 cil_filecon_init(&filecon); 4169 filecon->path_str = parse_current->next->data; 4172 filecon->type = CIL_FILECON_FILE; 4174 filecon->type = CIL_FILECON_DIR; 4176 filecon->type = CIL_FILECON_CHAR; 4178 filecon->type = CIL_FILECON_BLOCK; 4180 filecon->type = CIL_FILECON_SOCKET; 4182 filecon->type = CIL_FILECON_PIPE; 4184 filecon 4221 cil_destroy_filecon(struct cil_filecon *filecon) argument [all...] |
H A D | cil_internal.h | 280 struct cil_sort *filecon; member in struct:cil_db 982 void cil_filecon_init(struct cil_filecon **filecon);
|
Completed in 65 milliseconds