/external/selinux/secilc/docs/ |
D | cil_file_labeling_statements.md | 104 fsuse section in File Labeling Statements 111 (fsuse fstype fsname context_id) 122 <td align="left"><p><code>fsuse</code></p></td> 123 <td align="left"><p>The <code>fsuse</code> keyword.</p></td> 148 …ifiers are declared in the `file` namespace and the [`fsuse`](cil_file_labeling_statements.md#fsus… 161 (fsuse xattr ex4 file.labeledfs_context) 162 (fsuse xattr btrfs file.labeledfs_context) 164 (fsuse task pipefs file.pipefs_context) 165 (fsuse task sockfs file.sockfs_context) 167 (fsuse trans devpts file.devpts_context) [all …]
|
D | README.md | 78 * [fsuse](cil_file_labeling_statements.md#fsuse)
|
/external/selinux/libsepol/cil/test/integration_testing/ |
D | nonmls.cil | 19 ;(fsuse xattr ext3 con) 20 ;(fsuse xattr ext3 con_anon_l)
|
D | mls_policy.cil | 43 (fsuse xattr ext3 con) 44 (fsuse xattr ext3 con_anon_l)
|
/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 358 static void cil_reset_fsuse(struct cil_fsuse *fsuse) in cil_reset_fsuse() argument 360 if (fsuse->context_str == NULL) { in cil_reset_fsuse() 361 cil_reset_context(fsuse->context); in cil_reset_fsuse()
|
D | cil_tree.c | 1462 struct cil_fsuse *fsuse = node->data; in cil_tree_print_node() local 1465 if (fsuse->type == CIL_FSUSE_XATTR) { in cil_tree_print_node() 1467 } else if (fsuse->type == CIL_FSUSE_TASK) { in cil_tree_print_node() 1469 } else if (fsuse->type == CIL_FSUSE_TRANS) { in cil_tree_print_node() 1475 cil_log(CIL_INFO, "%s ", fsuse->fs_str); in cil_tree_print_node() 1477 if (fsuse->context != NULL) { in cil_tree_print_node() 1478 cil_tree_print_context(fsuse->context); in cil_tree_print_node() 1480 cil_log(CIL_INFO, " %s", fsuse->context_str); in cil_tree_print_node()
|
D | cil_policy.c | 281 struct cil_fsuse *fsuse = (struct cil_fsuse*)sort->array[i]; in cil_fsuse_to_policy() local 282 if (fsuse->type == CIL_FSUSE_XATTR) { in cil_fsuse_to_policy() 284 } else if (fsuse->type == CIL_FSUSE_TASK) { in cil_fsuse_to_policy() 286 } else if (fsuse->type == CIL_FSUSE_TRANS) { in cil_fsuse_to_policy() 291 fprintf(file_arr[NETIFCONS], "%s ", fsuse->fs_str); in cil_fsuse_to_policy() 292 cil_context_to_policy(file_arr, NETIFCONS, fsuse->context); in cil_fsuse_to_policy() 1343 rc = cil_fsuse_to_policy(file_arr, db->fsuse); in cil_gen_policy()
|
D | cil.c | 261 cil_sort_init(&(*db)->fsuse); in cil_db_init() 310 cil_sort_destroy(&(*db)->fsuse); in cil_db_destroy() 2292 void cil_fsuse_init(struct cil_fsuse **fsuse) in cil_fsuse_init() argument 2294 *fsuse = cil_malloc(sizeof(**fsuse)); in cil_fsuse_init() 2296 (*fsuse)->type = 0; in cil_fsuse_init() 2297 (*fsuse)->fs_str = NULL; in cil_fsuse_init() 2298 (*fsuse)->context_str = NULL; in cil_fsuse_init() 2299 (*fsuse)->context = NULL; in cil_fsuse_init()
|
D | cil_post.c | 420 db->fsuse->count++; in __cil_post_db_count_helper() 492 struct cil_sort *sort = db->fsuse; in __cil_post_db_array_helper() 1656 struct cil_fsuse *fsuse = node->data; in __cil_post_db_cat_helper() local 1657 rc = __evaluate_levelrange_expression(fsuse->context->range, db); in __cil_post_db_cat_helper() 1940 qsort(db->fsuse->array, db->fsuse->count, sizeof(db->fsuse->array), cil_post_fsuse_compare); in cil_post_db()
|
D | cil_build_ast.c | 4936 struct cil_fsuse *fsuse = NULL; in cil_gen_fsuse() local 4950 cil_fsuse_init(&fsuse); in cil_gen_fsuse() 4953 fsuse->type = CIL_FSUSE_XATTR; in cil_gen_fsuse() 4955 fsuse->type = CIL_FSUSE_TASK; in cil_gen_fsuse() 4957 fsuse->type = CIL_FSUSE_TRANS; in cil_gen_fsuse() 4963 fsuse->fs_str = parse_current->next->next->data; in cil_gen_fsuse() 4966 fsuse->context_str = parse_current->next->next->next->data; in cil_gen_fsuse() 4968 cil_context_init(&fsuse->context); in cil_gen_fsuse() 4970 rc = cil_fill_context(parse_current->next->next->next->cl_head, fsuse->context); in cil_gen_fsuse() 4976 ast_node->data = fsuse; in cil_gen_fsuse() [all …]
|
D | cil_internal.h | 288 struct cil_sort *fsuse; member 991 void cil_fsuse_init(struct cil_fsuse **fsuse);
|
D | cil_build_ast.h | 195 void cil_destroy_fsuse(struct cil_fsuse *fsuse);
|
D | cil_verify.c | 1212 struct cil_fsuse *fsuse = node->data; in __cil_verify_fsuse() local 1213 struct cil_context *ctx = fsuse->context; in __cil_verify_fsuse()
|
D | cil_resolve_ast.c | 2135 struct cil_fsuse *fsuse = current->data; in cil_resolve_fsuse() local 2139 if (fsuse->context_str != NULL) { in cil_resolve_fsuse() 2140 rc = cil_resolve_name(current, fsuse->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_fsuse() 2144 fsuse->context = (struct cil_context*)context_datum; in cil_resolve_fsuse() 2146 rc = cil_resolve_context(current, fsuse->context, extra_args); in cil_resolve_fsuse()
|
D | cil_binary.c | 3638 rc = cil_fsuse_to_policydb(pdb, db->fsuse); in __cil_contexts_to_policydb()
|
/external/selinux/libsepol/src/ |
D | module_to_cil.c | 2649 struct ocontext *fsuse; in ocontext_selinux_fsuse_to_cil() local 2653 for (fsuse = fsuses; fsuse != NULL; fsuse = fsuse->next) { in ocontext_selinux_fsuse_to_cil() 2654 switch (fsuse->v.behavior) { in ocontext_selinux_fsuse_to_cil() 2659 log_err("Unknown fsuse behavior: %i", fsuse->v.behavior); in ocontext_selinux_fsuse_to_cil() 2664 cil_printf("(fsuse %s %s ", behavior, fsuse->u.name); in ocontext_selinux_fsuse_to_cil() 2666 context_to_cil(pdb, &fsuse->context[0]); in ocontext_selinux_fsuse_to_cil()
|
/external/selinux/secilc/test/ |
D | integration.cil | 177 (fsuse xattr ext3 system_u_bin_t_l2h)
|
D | policy.cil | 275 (fsuse xattr ext3 system_u_bin_t_l2h)
|