/external/selinux/secilc/docs/ |
D | cil_file_labeling_statements.md | 170 genfscon section in File Labeling Statements 173 …ve a single default security context assigned by [`genfscon`](cil_file_labeling_statements.md#genf… 177 (genfscon fsname path context_id) 188 <td align="left"><p><code>genfscon</code></p></td> 189 <td align="left"><p>The <code>genfscon</code> keyword.</p></td> 208 …ers are declared in the `file` namespace and the [`genfscon`](cil_file_labeling_statements.md#genf… 222 (genfscon rootfs / rootfs_context) 224 (genfscon proc / proc_context) 225 (genfscon proc /net/xt_qtaguid/ctrl qtaguid_proc_context) 226 (genfscon proc /sysrq-trigger sysrq_proc_context) [all …]
|
D | README.md | 79 * [genfscon](cil_file_labeling_statements.md#genfscon)
|
/external/selinux/libsepol/tests/policies/test-cond/ |
D | refpolicy-base.conf | 1691 genfscon proc /mtrr system_u:object_r:mtrr_device_t:s0 1692 genfscon sysfs / system_u:object_r:sysfs_t:s0 1693 genfscon usbfs / system_u:object_r:usbfs_t:s0 1694 genfscon usbdevfs / system_u:object_r:usbfs_t:s0 1695 genfscon rootfs / system_u:object_r:root_t:s0 1696 genfscon bdev / system_u:object_r:bdev_t:s0 1697 genfscon binfmt_misc / system_u:object_r:binfmt_misc_fs_t:s0 1698 genfscon capifs / system_u:object_r:capifs_t:s0 1699 genfscon configfs / system_u:object_r:configfs_t:s0 1700 genfscon eventpollfs / system_u:object_r:eventpollfs_t:s0 [all …]
|
/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 312 static void cil_reset_genfscon(struct cil_genfscon *genfscon) in cil_reset_genfscon() argument 314 if (genfscon->context_str == NULL) { in cil_reset_genfscon() 315 cil_reset_context(genfscon->context); in cil_reset_genfscon()
|
D | cil_tree.c | 1477 struct cil_genfscon *genfscon = node->data; in cil_tree_print_node() local 1479 cil_log(CIL_INFO, " %s %s", genfscon->fs_str, genfscon->path_str); in cil_tree_print_node() 1481 if (genfscon->context != NULL) { in cil_tree_print_node() 1482 cil_tree_print_context(genfscon->context); in cil_tree_print_node() 1483 } else if (genfscon->context_str != NULL) { in cil_tree_print_node() 1484 cil_log(CIL_INFO, " %s", genfscon->context_str); in cil_tree_print_node()
|
D | cil.c | 259 cil_sort_init(&(*db)->genfscon); in cil_db_init() 312 cil_sort_destroy(&(*db)->genfscon); in cil_db_destroy() 2323 void cil_genfscon_init(struct cil_genfscon **genfscon) in cil_genfscon_init() argument 2325 *genfscon = cil_malloc(sizeof(**genfscon)); in cil_genfscon_init() 2327 (*genfscon)->fs_str = NULL; in cil_genfscon_init() 2328 (*genfscon)->path_str = NULL; in cil_genfscon_init() 2329 (*genfscon)->context_str = NULL; in cil_genfscon_init() 2330 (*genfscon)->context = NULL; in cil_genfscon_init()
|
D | cil_write_ast.c | 934 struct cil_genfscon *genfscon = (struct cil_genfscon *)node->data; in cil_write_genfscon() local 935 if (genfscon->context_str != NULL) { in cil_write_genfscon() 936 ctx_str = strdup(genfscon->context_str); in cil_write_genfscon() 943 rc = cil_unfill_context(genfscon->context, &ctx_str); in cil_write_genfscon() 947 fprintf(cil_out, "(%s %s %s %s)\n", CIL_KEY_GENFSCON, genfscon->fs_str, in cil_write_genfscon() 948 genfscon->path_str, ctx_str); in cil_write_genfscon()
|
D | android.c | 571 struct cil_genfscon *genfscon = (struct cil_genfscon *)node->data; in cil_attrib_genfscon() local 573 if (genfscon->context_str == NULL) { in cil_attrib_genfscon() 575 rc = cil_attrib_check_context(genfscon->context, args); in cil_attrib_genfscon()
|
D | cil_policy.c | 1707 struct cil_genfscon *genfscon; in cil_genfscons_to_policy() local 1710 genfscon = genfscons->array[i]; in cil_genfscons_to_policy() 1711 fprintf(out, "genfscon %s %s ", genfscon->fs_str, genfscon->path_str); in cil_genfscons_to_policy() 1712 cil_context_to_policy(out, genfscon->context, mls); in cil_genfscons_to_policy() 1971 cil_genfscons_to_policy(out, db->genfscon, db->mls); in cil_gen_policy()
|
D | cil_internal.h | 288 struct cil_sort *genfscon; member 1034 void cil_genfscon_init(struct cil_genfscon **genfscon);
|
D | cil_build_ast.c | 4576 struct cil_genfscon *genfscon = NULL; in cil_gen_genfscon() local 4587 cil_genfscon_init(&genfscon); in cil_gen_genfscon() 4589 genfscon->fs_str = parse_current->next->data; in cil_gen_genfscon() 4590 genfscon->path_str = parse_current->next->next->data; in cil_gen_genfscon() 4593 genfscon->context_str = parse_current->next->next->next->data; in cil_gen_genfscon() 4595 cil_context_init(&genfscon->context); in cil_gen_genfscon() 4597 rc = cil_fill_context(parse_current->next->next->next->cl_head, genfscon->context); in cil_gen_genfscon() 4603 ast_node->data = genfscon; in cil_gen_genfscon() 4610 cil_destroy_genfscon(genfscon); in cil_gen_genfscon() 4614 void cil_destroy_genfscon(struct cil_genfscon *genfscon) in cil_destroy_genfscon() argument [all …]
|
D | cil_post.c | 617 db->genfscon->count++; in __cil_post_db_count_helper() 744 struct cil_sort *sort = db->genfscon; in __cil_post_db_array_helper() 1952 struct cil_genfscon *genfscon = node->data; in __cil_post_db_cat_helper() local 1953 rc = __evaluate_levelrange_expression(genfscon->context->range, db); in __cil_post_db_cat_helper() 2372 …rc = __cil_post_process_context_rules(db->genfscon, cil_post_genfscon_compare, cil_post_genfscon_c… in cil_post_db()
|
/external/selinux/libsepol/cil/test/integration_testing/ |
D | nonmls.cil | 37 ;(genfscon type path con)
|
D | mls_policy.cil | 61 (genfscon type path con)
|
/external/selinux/libsepol/tests/policies/test-hooks/ |
D | cmp_policy.conf | 454 genfscon proc / gen_context(g_b_user_1:object_r:g_b_type_1, s0)
|
D | small-base.conf | 454 genfscon proc / gen_context(g_b_user_1:object_r:g_b_type_1, s0)
|
/external/selinux/libsepol/tests/policies/test-expander/ |
D | alias-base.conf | 484 genfscon proc / gen_context(system_u:object_r:system_t, s0)
|
D | role-base.conf | 466 genfscon proc / gen_context(system_u:object_r:system_t, s0)
|
D | user-base.conf | 470 genfscon proc / gen_context(system_u:object_r:system_t, s0)
|
/external/selinux/checkpolicy/ |
D | policy_scan.l | 213 genfscon |
|
/external/selinux/libsepol/tests/policies/test-deps/ |
D | base-notmetreq.conf | 493 genfscon proc / gen_context(system_u:object_r:sys_foo_t, s0)
|
D | small-base.conf | 494 genfscon proc / gen_context(system_u:object_r:sys_foo_t, s0)
|
D | base-metreq.conf | 506 genfscon proc / gen_context(system_u:object_r:sys_foo_t, s0)
|
/external/selinux/libsepol/tests/policies/test-linker/ |
D | small-base.conf | 583 genfscon proc / gen_context(g_b_user_1:object_r:g_b_type_1, s0)
|
/external/selinux/secilc/test/ |
D | integration.cil | 175 (genfscon - "/usr/bin" system_u_bin_t_l2h)
|