Searched refs:pcidevicecon (Results 1 – 15 of 15) sorted by relevance
/external/selinux/secilc/docs/ |
D | cil_xen_statements.md | 88 pcidevicecon section in Xen Statements 95 (pcidevicecon device context_id) 106 <td align="left"><p><code>pcidevicecon</code></p></td> 107 <td align="left"><p>The <code>pcidevicecon</code> keyword.</p></td> 124 (pcidevicecon 51200 (unconfined.user object_r unconfined.object low_low))
|
D | README.md | 150 * [pcidevicecon](cil_xen_statements.md#pcidevicecon)
|
/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 344 static void cil_reset_pcidevicecon(struct cil_pcidevicecon *pcidevicecon) in cil_reset_pcidevicecon() argument 346 if (pcidevicecon->context_str == NULL) { in cil_reset_pcidevicecon() 347 cil_reset_context(pcidevicecon->context); in cil_reset_pcidevicecon()
|
D | cil.c | 259 cil_sort_init(&(*db)->pcidevicecon); in cil_db_init() 308 cil_sort_destroy(&(*db)->pcidevicecon); in cil_db_destroy() 2274 void cil_pcidevicecon_init(struct cil_pcidevicecon **pcidevicecon) in cil_pcidevicecon_init() argument 2276 *pcidevicecon = cil_malloc(sizeof(**pcidevicecon)); in cil_pcidevicecon_init() 2278 (*pcidevicecon)->dev = 0; in cil_pcidevicecon_init() 2279 (*pcidevicecon)->context_str = NULL; in cil_pcidevicecon_init() 2280 (*pcidevicecon)->context = NULL; in cil_pcidevicecon_init()
|
D | cil_post.c | 414 db->pcidevicecon->count++; in __cil_post_db_count_helper() 580 struct cil_sort *sort = db->pcidevicecon; in __cil_post_db_array_helper() 1640 struct cil_pcidevicecon *pcidevicecon = node->data; in __cil_post_db_cat_helper() local 1641 rc = __evaluate_levelrange_expression(pcidevicecon->context->range, db); in __cil_post_db_cat_helper() 1945 …qsort(db->pcidevicecon->array, db->pcidevicecon->count, sizeof(db->pcidevicecon->array), cil_post_… in cil_post_db()
|
D | cil_tree.c | 1436 struct cil_pcidevicecon *pcidevicecon = node->data; in cil_tree_print_node() local 1438 cil_log(CIL_INFO, "PCIDEVICECON %d", pcidevicecon->dev); in cil_tree_print_node() 1439 if (pcidevicecon->context != NULL) { in cil_tree_print_node() 1440 cil_tree_print_context(pcidevicecon->context); in cil_tree_print_node() 1442 cil_log(CIL_INFO, " %s", pcidevicecon->context_str); in cil_tree_print_node()
|
D | cil_policy.c | 267 struct cil_pcidevicecon *pcidevicecon = (struct cil_pcidevicecon*)sort->array[i]; in cil_pcidevicecon_to_policy() local 268 fprintf(file_arr[NETIFCONS], "pcidevicecon %d ", pcidevicecon->dev); in cil_pcidevicecon_to_policy() 269 cil_context_to_policy(file_arr, NETIFCONS, pcidevicecon->context); in cil_pcidevicecon_to_policy() 1367 rc = cil_pcidevicecon_to_policy(file_arr, db->pcidevicecon); in cil_gen_policy()
|
D | cil_internal.h | 286 struct cil_sort *pcidevicecon; member 989 void cil_pcidevicecon_init(struct cil_pcidevicecon **pcidevicecon);
|
D | cil_build_ast.c | 4810 struct cil_pcidevicecon *pcidevicecon = NULL; in cil_gen_pcidevicecon() local 4821 cil_pcidevicecon_init(&pcidevicecon); in cil_gen_pcidevicecon() 4823 rc = cil_fill_integer(parse_current->next, &pcidevicecon->dev); in cil_gen_pcidevicecon() 4829 pcidevicecon->context_str = parse_current->next->next->data; in cil_gen_pcidevicecon() 4831 cil_context_init(&pcidevicecon->context); in cil_gen_pcidevicecon() 4833 rc = cil_fill_context(parse_current->next->next->cl_head, pcidevicecon->context); in cil_gen_pcidevicecon() 4839 ast_node->data = pcidevicecon; in cil_gen_pcidevicecon() 4847 cil_destroy_pcidevicecon(pcidevicecon); in cil_gen_pcidevicecon() 4851 void cil_destroy_pcidevicecon(struct cil_pcidevicecon *pcidevicecon) in cil_destroy_pcidevicecon() argument 4853 if (pcidevicecon == NULL) { in cil_destroy_pcidevicecon() [all …]
|
D | cil_build_ast.h | 191 void cil_destroy_pcidevicecon(struct cil_pcidevicecon *pcidevicecon);
|
D | cil_resolve_ast.c | 2085 struct cil_pcidevicecon *pcidevicecon = current->data; in cil_resolve_pcidevicecon() local 2089 if (pcidevicecon->context_str != NULL) { in cil_resolve_pcidevicecon() 2090 …rc = cil_resolve_name(current, pcidevicecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_d… in cil_resolve_pcidevicecon() 2094 pcidevicecon->context = (struct cil_context*)context_datum; in cil_resolve_pcidevicecon() 2096 rc = cil_resolve_context(current, pcidevicecon->context, extra_args); in cil_resolve_pcidevicecon()
|
D | cil_binary.c | 3664 rc = cil_pcidevicecon_to_policydb(pdb, db->pcidevicecon); in __cil_contexts_to_policydb()
|
/external/selinux/checkpolicy/ |
D | policy_scan.l | 196 pcidevicecon |
|
/external/selinux/secilc/test/ |
D | integration.cil | 183 (pcidevicecon 345 system_u_bin_t_l2h)
|
D | policy.cil | 281 (pcidevicecon 345 system_u_bin_t_l2h)
|