Home
last modified time | relevance | path

Searched refs:genfscon (Results 1 – 25 of 27) sorted by relevance

12

/third_party/selinux/secilc/docs/
Dcil_file_labeling_statements.md180 genfscon section in File Labeling Statements
183 …ve a single default security context assigned by [`genfscon`](cil_file_labeling_statements.md#genf…
188 (genfscon fsname path context_id)
200 <td align="left"><p><code>genfscon</code></p></td>
201 <td align="left"><p>The <code>genfscon</code> keyword.</p></td>
220 …ers are declared in the `file` namespace and the [`genfscon`](cil_file_labeling_statements.md#genf…
235 (genfscon rootfs / rootfs_context)
237 (genfscon proc / proc_context)
238 (genfscon proc /net/xt_qtaguid/ctrl qtaguid_proc_context)
239 (genfscon proc /sysrq-trigger sysrq_proc_context)
[all …]
DREADME.md79 * [genfscon](cil_file_labeling_statements.md#genfscon)
/third_party/selinux/libsepol/tests/policies/test-cond/
Drefpolicy-base.conf1691 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/
Dcil_reset_ast.c358 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()
Dcil.c414 cil_sort_init(&(*db)->genfscon); in cil_db_init()
469 cil_sort_destroy(&(*db)->genfscon); in cil_db_destroy()
2571 void cil_genfscon_init(struct cil_genfscon **genfscon) in cil_genfscon_init() argument
2573 *genfscon = cil_malloc(sizeof(**genfscon)); in cil_genfscon_init()
2575 (*genfscon)->fs_str = NULL; in cil_genfscon_init()
2576 (*genfscon)->path_str = NULL; in cil_genfscon_init()
2577 (*genfscon)->context_str = NULL; in cil_genfscon_init()
2578 (*genfscon)->context = NULL; in cil_genfscon_init()
Dcil_write_ast.c1318 struct cil_genfscon *genfscon = node->data; in cil_write_ast_node() local
1320 fprintf(out, "%s \"%s\" ", genfscon->fs_str, genfscon->path_str); in cil_write_ast_node()
1321 if (genfscon->context) in cil_write_ast_node()
1322 write_context(out, genfscon->context, CIL_TRUE); in cil_write_ast_node()
1324 fprintf(out, "%s", genfscon->context_str); in cil_write_ast_node()
Dcil_policy.c1707 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()
Dcil_internal.h297 struct cil_sort *genfscon; member
1049 void cil_genfscon_init(struct cil_genfscon **genfscon);
Dcil_build_ast.c4579 struct cil_genfscon *genfscon = NULL; in cil_gen_genfscon() local
4590 cil_genfscon_init(&genfscon); in cil_gen_genfscon()
4592 genfscon->fs_str = parse_current->next->data; in cil_gen_genfscon()
4593 genfscon->path_str = parse_current->next->next->data; in cil_gen_genfscon()
4596 genfscon->context_str = parse_current->next->next->next->data; in cil_gen_genfscon()
4598 cil_context_init(&genfscon->context); in cil_gen_genfscon()
4600 rc = cil_fill_context(parse_current->next->next->next->cl_head, genfscon->context); in cil_gen_genfscon()
4606 ast_node->data = genfscon; in cil_gen_genfscon()
4613 cil_destroy_genfscon(genfscon); in cil_gen_genfscon()
4617 void cil_destroy_genfscon(struct cil_genfscon *genfscon) in cil_destroy_genfscon() argument
[all …]
Dcil_post.c631 db->genfscon->count++; in __cil_post_db_count_helper()
758 struct cil_sort *sort = db->genfscon; in __cil_post_db_array_helper()
1962 struct cil_genfscon *genfscon = node->data; in __cil_post_db_cat_helper() local
1963 rc = __evaluate_levelrange_expression(genfscon->context->range, db); in __cil_post_db_cat_helper()
2386 …rc = __cil_post_process_context_rules(db->genfscon, cil_post_genfscon_compare, cil_post_genfscon_c… in cil_post_db()
Dcil_build_ast.h189 void cil_destroy_genfscon(struct cil_genfscon *genfscon);
/third_party/selinux/libsepol/cil/test/integration_testing/
Dnonmls.cil37 ;(genfscon type path con)
Dmls_policy.cil61 (genfscon type path con)
/third_party/selinux/libsepol/tests/policies/test-hooks/
Dsmall-base.conf454 genfscon proc / gen_context(g_b_user_1:object_r:g_b_type_1, s0)
Dcmp_policy.conf454 genfscon proc / gen_context(g_b_user_1:object_r:g_b_type_1, s0)
/third_party/selinux/libsepol/tests/policies/test-expander/
Duser-base.conf470 genfscon proc / gen_context(system_u:object_r:system_t, s0)
Drole-base.conf466 genfscon proc / gen_context(system_u:object_r:system_t, s0)
Dalias-base.conf484 genfscon proc / gen_context(system_u:object_r:system_t, s0)
Dsmall-base.conf704 genfscon proc / gen_context(system_u:object_r:sys_foo_t, s0)
/third_party/selinux/libsepol/tests/policies/test-deps/
Dsmall-base.conf494 genfscon proc / gen_context(system_u:object_r:sys_foo_t, s0)
Dbase-notmetreq.conf493 genfscon proc / gen_context(system_u:object_r:sys_foo_t, s0)
Dbase-metreq.conf506 genfscon proc / gen_context(system_u:object_r:sys_foo_t, s0)
/third_party/selinux/checkpolicy/
Dpolicy_scan.l220 genfscon |
/third_party/selinux/libsepol/tests/policies/test-linker/
Dsmall-base.conf583 genfscon proc / gen_context(g_b_user_1:object_r:g_b_type_1, s0)
/third_party/selinux/secilc/test/
Dintegration.cil175 (genfscon - "/usr/bin" system_u_bin_t_l2h)

12