Home
last modified time | relevance | path

Searched refs:pcidevicecon (Results 1 – 14 of 14) sorted by relevance

/third_party/selinux/secilc/docs/
Dcil_xen_statements.md96 pcidevicecon section in Xen Statements
104 (pcidevicecon device context_id)
116 <td align="left"><p><code>pcidevicecon</code></p></td>
117 <td align="left"><p>The <code>pcidevicecon</code> keyword.</p></td>
135 (pcidevicecon 51200 (unconfined.user object_r unconfined.object low_low))
DREADME.md155 * [pcidevicecon](cil_xen_statements.md#pcidevicecon)
/third_party/selinux/libsepol/cil/src/
Dcil_reset_ast.c418 static void cil_reset_pcidevicecon(struct cil_pcidevicecon *pcidevicecon) in cil_reset_pcidevicecon() argument
420 if (pcidevicecon->context_str == NULL) { in cil_reset_pcidevicecon()
421 cil_reset_context(pcidevicecon->context); in cil_reset_pcidevicecon()
423 pcidevicecon->context = NULL; in cil_reset_pcidevicecon()
Dcil.c423 cil_sort_init(&(*db)->pcidevicecon); in cil_db_init()
478 cil_sort_destroy(&(*db)->pcidevicecon); in cil_db_destroy()
2618 void cil_pcidevicecon_init(struct cil_pcidevicecon **pcidevicecon) in cil_pcidevicecon_init() argument
2620 *pcidevicecon = cil_malloc(sizeof(**pcidevicecon)); in cil_pcidevicecon_init()
2622 (*pcidevicecon)->dev = 0; in cil_pcidevicecon_init()
2623 (*pcidevicecon)->context_str = NULL; in cil_pcidevicecon_init()
2624 (*pcidevicecon)->context = NULL; in cil_pcidevicecon_init()
Dcil_write_ast.c1426 struct cil_pcidevicecon *pcidevicecon = node->data; in cil_write_ast_node() local
1427 fprintf(out, "(pcidevicecon %d ", pcidevicecon->dev); in cil_write_ast_node()
1428 if (pcidevicecon->context) in cil_write_ast_node()
1429 write_context(out, pcidevicecon->context, CIL_TRUE); in cil_write_ast_node()
1431 fprintf(out, "%s", pcidevicecon->context_str); in cil_write_ast_node()
Dcil_internal.h306 struct cil_sort *pcidevicecon; member
1054 void cil_pcidevicecon_init(struct cil_pcidevicecon **pcidevicecon);
Dcil_policy.c1891 struct cil_pcidevicecon *pcidevicecon; in cil_pcidevicecons_to_policy() local
1894 pcidevicecon = pcidevicecons->array[i]; in cil_pcidevicecons_to_policy()
1895 fprintf(out, "pcidevicecon 0x%x ", pcidevicecon->dev); in cil_pcidevicecons_to_policy()
1896 cil_context_to_policy(out, pcidevicecon->context, mls); in cil_pcidevicecons_to_policy()
1982 cil_pcidevicecons_to_policy(out, db->pcidevicecon, db->mls); in cil_gen_policy()
Dcil_build_ast.c5047 struct cil_pcidevicecon *pcidevicecon = NULL; in cil_gen_pcidevicecon() local
5058 cil_pcidevicecon_init(&pcidevicecon); in cil_gen_pcidevicecon()
5060 rc = cil_fill_integer(parse_current->next, &pcidevicecon->dev, 0); in cil_gen_pcidevicecon()
5066 pcidevicecon->context_str = parse_current->next->next->data; in cil_gen_pcidevicecon()
5068 cil_context_init(&pcidevicecon->context); in cil_gen_pcidevicecon()
5070 rc = cil_fill_context(parse_current->next->next->cl_head, pcidevicecon->context); in cil_gen_pcidevicecon()
5076 ast_node->data = pcidevicecon; in cil_gen_pcidevicecon()
5083 cil_destroy_pcidevicecon(pcidevicecon); in cil_gen_pcidevicecon()
5087 void cil_destroy_pcidevicecon(struct cil_pcidevicecon *pcidevicecon) in cil_destroy_pcidevicecon() argument
5089 if (pcidevicecon == NULL) { in cil_destroy_pcidevicecon()
[all …]
Dcil_post.c658 db->pcidevicecon->count++; in __cil_post_db_count_helper()
846 struct cil_sort *sort = db->pcidevicecon; in __cil_post_db_array_helper()
2006 struct cil_pcidevicecon *pcidevicecon = node->data; in __cil_post_db_cat_helper() local
2007 rc = __evaluate_levelrange_expression(pcidevicecon->context->range, db); in __cil_post_db_cat_helper()
2455 …rc = __cil_post_process_context_rules(db->pcidevicecon, cil_post_pcidevicecon_compare, cil_post_pc… in cil_post_db()
Dcil_build_ast.h199 void cil_destroy_pcidevicecon(struct cil_pcidevicecon *pcidevicecon);
Dcil_resolve_ast.c2213 struct cil_pcidevicecon *pcidevicecon = current->data; in cil_resolve_pcidevicecon() local
2217 if (pcidevicecon->context_str != NULL) { in cil_resolve_pcidevicecon()
2218 …rc = cil_resolve_name(current, pcidevicecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_d… in cil_resolve_pcidevicecon()
2222 pcidevicecon->context = (struct cil_context*)context_datum; in cil_resolve_pcidevicecon()
2224 rc = cil_resolve_context(current, pcidevicecon->context, extra_args); in cil_resolve_pcidevicecon()
Dcil_binary.c4086 rc = cil_pcidevicecon_to_policydb(pdb, db->pcidevicecon); in __cil_contexts_to_policydb()
/third_party/selinux/checkpolicy/
Dpolicy_scan.l217 pcidevicecon |
/third_party/selinux/secilc/test/
Dintegration.cil183 (pcidevicecon 345 system_u_bin_t_l2h)