/third_party/selinux/secilc/docs/ |
D | cil_infiniband_statements.md | 52 ibendportcon section in Infiniband Statements 60 (ibendportcon device_id port context_id) 72 <td align="left"><p><code>ibendportcon</code></p></td> 73 <td align="left"><p>The <code>ibendportcon</code> keyword.</p></td> 95 (ibendportcon mlx5_0 1 system_u_bin_t_l2h)
|
D | README.md | 150 * [ibendportcon](cil_infiniband_statements.md#ibendportcon)
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 382 static void cil_reset_ibendportcon(struct cil_ibendportcon *ibendportcon) in cil_reset_ibendportcon() argument 384 if (ibendportcon->context_str == NULL) { in cil_reset_ibendportcon() 385 cil_reset_context(ibendportcon->context); in cil_reset_ibendportcon() 387 ibendportcon->context = NULL; in cil_reset_ibendportcon()
|
D | cil.c | 418 cil_sort_init(&(*db)->ibendportcon); in cil_db_init() 473 cil_sort_destroy(&(*db)->ibendportcon); in cil_db_destroy() 2110 void cil_ibendportcon_init(struct cil_ibendportcon **ibendportcon) in cil_ibendportcon_init() argument 2112 *ibendportcon = cil_malloc(sizeof(**ibendportcon)); in cil_ibendportcon_init() 2114 (*ibendportcon)->dev_name_str = NULL; in cil_ibendportcon_init() 2115 (*ibendportcon)->port = 0; in cil_ibendportcon_init() 2116 (*ibendportcon)->context_str = NULL; in cil_ibendportcon_init() 2117 (*ibendportcon)->context = NULL; in cil_ibendportcon_init()
|
D | cil_write_ast.c | 1381 struct cil_ibendportcon *ibendportcon = node->data; in cil_write_ast_node() local 1382 fprintf(out, "(ibendportcon %s %u ", ibendportcon->dev_name_str, ibendportcon->port); in cil_write_ast_node() 1383 if (ibendportcon->context) in cil_write_ast_node() 1384 write_context(out, ibendportcon->context, CIL_TRUE); in cil_write_ast_node() 1386 fprintf(out, "%s", ibendportcon->context_str); in cil_write_ast_node()
|
D | cil_internal.h | 301 struct cil_sort *ibendportcon; member 1003 void cil_ibendportcon_init(struct cil_ibendportcon **ibendportcon);
|
D | cil_build_ast.c | 4753 struct cil_ibendportcon *ibendportcon = NULL; in cil_gen_ibendportcon() local 4762 cil_ibendportcon_init(&ibendportcon); in cil_gen_ibendportcon() 4764 ibendportcon->dev_name_str = parse_current->next->data; in cil_gen_ibendportcon() 4766 rc = cil_fill_integer(parse_current->next->next, &ibendportcon->port, 10); in cil_gen_ibendportcon() 4773 ibendportcon->context_str = parse_current->next->next->next->data; in cil_gen_ibendportcon() 4775 cil_context_init(&ibendportcon->context); in cil_gen_ibendportcon() 4777 rc = cil_fill_context(parse_current->next->next->next->cl_head, ibendportcon->context); in cil_gen_ibendportcon() 4782 ast_node->data = ibendportcon; in cil_gen_ibendportcon() 4789 cil_destroy_ibendportcon(ibendportcon); in cil_gen_ibendportcon() 4793 void cil_destroy_ibendportcon(struct cil_ibendportcon *ibendportcon) in cil_destroy_ibendportcon() argument [all …]
|
D | cil_policy.c | 1737 struct cil_ibendportcon *ibendportcon = (struct cil_ibendportcon *)ibendportcons->array[i]; in cil_ibendportcons_to_policy() local 1739 fprintf(out, "ibendportcon %s ", ibendportcon->dev_name_str); in cil_ibendportcons_to_policy() 1740 fprintf(out, "%u ", ibendportcon->port); in cil_ibendportcons_to_policy() 1741 cil_context_to_policy(out, ibendportcon->context, mls); in cil_ibendportcons_to_policy() 1977 cil_ibendportcons_to_policy(out, db->ibendportcon, db->mls); in cil_gen_policy()
|
D | cil_post.c | 643 db->ibendportcon->count++; in __cil_post_db_count_helper() 736 struct cil_sort *sort = db->ibendportcon; in __cil_post_db_array_helper() 1938 struct cil_ibendportcon *ibendportcon = node->data; in __cil_post_db_cat_helper() local 1940 rc = __evaluate_levelrange_expression(ibendportcon->context->range, db); in __cil_post_db_cat_helper() 2407 …rc = __cil_post_process_context_rules(db->ibendportcon, cil_post_ibendportcon_compare, cil_post_ib… in cil_post_db()
|
D | cil_build_ast.h | 183 void cil_destroy_ibendportcon(struct cil_ibendportcon *ibendportcon);
|
D | cil_resolve_ast.c | 2113 struct cil_ibendportcon *ibendportcon = current->data; in cil_resolve_ibendportcon() local 2118 if (ibendportcon->context_str) { in cil_resolve_ibendportcon() 2119 …rc = cil_resolve_name(current, ibendportcon->context_str, CIL_SYM_CONTEXTS, extra_args, &con_datum… in cil_resolve_ibendportcon() 2123 ibendportcon->context = (struct cil_context *)con_datum; in cil_resolve_ibendportcon() 2125 rc = cil_resolve_context(current, ibendportcon->context, extra_args); in cil_resolve_ibendportcon()
|
D | cil_binary.c | 4065 rc = cil_ibendportcon_to_policydb(pdb, db->ibendportcon); in __cil_contexts_to_policydb()
|
/third_party/selinux/libsepol/src/ |
D | kernel_to_conf.c | 2834 struct ocontext *ibendportcon; in write_selinux_ibendport_rules_to_conf() local 2839 for (ibendportcon = pdb->ocontexts[OCON_IBENDPORT]; in write_selinux_ibendport_rules_to_conf() 2840 ibendportcon != NULL; ibendportcon = ibendportcon->next) { in write_selinux_ibendport_rules_to_conf() 2841 rc = snprintf(port_str, 4, "%u", ibendportcon->u.ibendport.port); in write_selinux_ibendport_rules_to_conf() 2847 ctx = context_to_str(pdb, &ibendportcon->context[0]); in write_selinux_ibendport_rules_to_conf() 2853 sepol_printf(out, "ibendportcon %s %s %s\n", ibendportcon->u.ibendport.dev_name, port_str, ctx); in write_selinux_ibendport_rules_to_conf()
|
D | kernel_to_cil.c | 2969 struct ocontext *ibendportcon; in write_selinux_ibendport_rules_to_cil() local 2974 for (ibendportcon = pdb->ocontexts[OCON_IBENDPORT]; in write_selinux_ibendport_rules_to_cil() 2975 ibendportcon != NULL; ibendportcon = ibendportcon->next) { in write_selinux_ibendport_rules_to_cil() 2976 rc = snprintf(port_str, 4, "%u", ibendportcon->u.ibendport.port); in write_selinux_ibendport_rules_to_cil() 2982 ctx = context_to_str(pdb, &ibendportcon->context[0]); in write_selinux_ibendport_rules_to_cil() 2989 ibendportcon->u.ibendport.dev_name, port_str, ctx); in write_selinux_ibendport_rules_to_cil()
|
/third_party/selinux/checkpolicy/ |
D | policy_scan.l | 203 ibendportcon |
|