/third_party/selinux/secilc/docs/ |
D | cil_file_labeling_statements.md | 182 genfscon section in File Labeling Statements 185 …ve a single default security context assigned by [`genfscon`](cil_file_labeling_statements.md#genf… 190 (genfscon fsname path [file_type] context_id) 202 <td align="left"><p><code>genfscon</code></p></td> 203 <td align="left"><p>The <code>genfscon</code> keyword.</p></td> 226 …ers are declared in the `file` namespace and the [`genfscon`](cil_file_labeling_statements.md#genf… 241 (genfscon rootfs / rootfs_context) 243 (genfscon proc / proc_context) 244 (genfscon proc /net/xt_qtaguid/ctrl qtaguid_proc_context) 245 (genfscon proc /sysrq-trigger sysrq_proc_context) [all …]
|
D | README.md | 79 * [genfscon](cil_file_labeling_statements.md#genfscon)
|
/third_party/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 …]
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 358 static void cil_reset_genfscon(struct cil_genfscon *genfscon) in cil_reset_genfscon() argument 360 if (genfscon->context_str == NULL) { in cil_reset_genfscon() 361 cil_reset_context(genfscon->context); in cil_reset_genfscon() 363 genfscon->context = NULL; in cil_reset_genfscon()
|
D | cil_write_ast.c | 1328 struct cil_genfscon *genfscon = node->data; in cil_write_ast_node() local 1330 fprintf(out, "%s \"%s\" ", genfscon->fs_str, genfscon->path_str); in cil_write_ast_node() 1331 if (genfscon->file_type != CIL_FILECON_ANY) { in cil_write_ast_node() 1332 switch (genfscon->file_type) { in cil_write_ast_node() 1358 if (genfscon->context) in cil_write_ast_node() 1359 write_context(out, genfscon->context, CIL_TRUE); in cil_write_ast_node() 1361 fprintf(out, "%s", genfscon->context_str); in cil_write_ast_node()
|
D | cil.c | 414 cil_sort_init(&(*db)->genfscon); in cil_db_init() 469 cil_sort_destroy(&(*db)->genfscon); in cil_db_destroy() 2580 void cil_genfscon_init(struct cil_genfscon **genfscon) in cil_genfscon_init() argument 2582 *genfscon = cil_malloc(sizeof(**genfscon)); in cil_genfscon_init() 2584 (*genfscon)->fs_str = NULL; in cil_genfscon_init() 2585 (*genfscon)->path_str = NULL; in cil_genfscon_init() 2586 (*genfscon)->file_type = CIL_FILECON_ANY; in cil_genfscon_init() 2587 (*genfscon)->context_str = NULL; in cil_genfscon_init() 2588 (*genfscon)->context = NULL; in cil_genfscon_init()
|
D | cil_build_ast.c | 4581 struct cil_genfscon *genfscon = NULL; in cil_gen_genfscon() local 4592 cil_genfscon_init(&genfscon); in cil_gen_genfscon() 4594 genfscon->fs_str = parse_current->next->data; in cil_gen_genfscon() 4595 genfscon->path_str = parse_current->next->next->data; in cil_gen_genfscon() 4601 genfscon->file_type = CIL_FILECON_ANY; in cil_gen_genfscon() 4603 genfscon->file_type = CIL_FILECON_FILE; in cil_gen_genfscon() 4605 genfscon->file_type = CIL_FILECON_DIR; in cil_gen_genfscon() 4607 genfscon->file_type = CIL_FILECON_CHAR; in cil_gen_genfscon() 4609 genfscon->file_type = CIL_FILECON_BLOCK; in cil_gen_genfscon() 4611 genfscon->file_type = CIL_FILECON_SOCKET; in cil_gen_genfscon() [all …]
|
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() 1973 cil_genfscons_to_policy(out, db->genfscon, db->mls); in cil_gen_policy()
|
D | cil_internal.h | 297 struct cil_sort *genfscon; member 1050 void cil_genfscon_init(struct cil_genfscon **genfscon);
|
D | cil_post.c | 631 db->genfscon->count++; in __cil_post_db_count_helper() 758 struct cil_sort *sort = db->genfscon; in __cil_post_db_array_helper() 1950 struct cil_genfscon *genfscon = node->data; in __cil_post_db_cat_helper() local 1951 rc = __evaluate_levelrange_expression(genfscon->context->range, db); in __cil_post_db_cat_helper() 2383 …rc = __cil_post_process_context_rules(db->genfscon, cil_post_genfscon_compare, cil_post_genfscon_c… in cil_post_db()
|
D | cil_build_ast.h | 189 void cil_destroy_genfscon(struct cil_genfscon *genfscon);
|
/third_party/selinux/libsepol/cil/test/integration_testing/ |
D | nonmls.cil | 37 ;(genfscon type path con)
|
D | mls_policy.cil | 61 (genfscon type path con)
|
/third_party/selinux/libsepol/tests/policies/test-hooks/ |
D | small-base.conf | 454 genfscon proc / gen_context(g_b_user_1:object_r:g_b_type_1, s0)
|
D | cmp_policy.conf | 454 genfscon proc / gen_context(g_b_user_1:object_r:g_b_type_1, s0)
|
/third_party/selinux/libsepol/tests/policies/test-expander/ |
D | role-base.conf | 466 genfscon proc / gen_context(system_u:object_r:system_t, s0)
|
D | alias-base.conf | 484 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)
|
D | small-base.conf | 704 genfscon proc / gen_context(system_u:object_r:sys_foo_t, s0)
|
/third_party/selinux/libsepol/tests/policies/test-deps/ |
D | small-base.conf | 494 genfscon proc / gen_context(system_u:object_r:sys_foo_t, s0)
|
D | base-notmetreq.conf | 493 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)
|
/third_party/selinux/checkpolicy/ |
D | policy_scan.l | 227 genfscon |
|
/third_party/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)
|
/third_party/selinux/secilc/test/ |
D | integration.cil | 175 (genfscon - "/usr/bin" system_u_bin_t_l2h)
|