Lines Matching defs:pdb
162 struct policydb *pdb; member
330 struct policydb *pdb = arg; in typealiases_gather_map() local
378 static int typealias_list_create(struct policydb *pdb) in typealias_list_create()
488 static int is_id_in_scope_with_start(struct policydb *pdb, struct stack *decl_stack, int start, uin… in is_id_in_scope_with_start()
513 static int is_id_in_ancestor_scope(struct policydb *pdb, struct stack *decl_stack, char *type, uint… in is_id_in_ancestor_scope()
520 static int is_id_in_scope(struct policydb *pdb, struct stack *decl_stack, char *type, uint32_t symb… in is_id_in_scope()
527 static int semantic_level_to_cil(struct policydb *pdb, int sens_offset, struct mls_semantic_level *… in semantic_level_to_cil()
558 static int avrule_to_cil(int indent, struct policydb *pdb, uint32_t type, const char *src, const ch… in avrule_to_cil()
680 static int avrulex_to_cil(int indent, struct policydb *pdb, uint32_t type, const char *src, const c… in avrulex_to_cil()
729 static int ebitmap_to_cil(struct policydb *pdb, struct ebitmap *map, int type) in ebitmap_to_cil()
745 static char *get_new_attr_name(struct policydb *pdb, int is_type) in get_new_attr_name()
807 static int cil_print_attr_strs(int indent, struct policydb *pdb, int is_type, void *set, char *attr… in cil_print_attr_strs()
900 static int cil_print_attr_list(int indent, struct policydb *pdb, struct list *attr_list) in cil_print_attr_list()
956 static int set_to_names(struct policydb *pdb, int is_type, void *set, struct list *attr_list, char … in set_to_names()
1041 static int process_roleset(struct policydb *pdb, struct role_set *rs, struct list *attr_list, char … in process_roleset()
1064 static int process_typeset(struct policydb *pdb, struct type_set *ts, struct list *attr_list, char … in process_typeset()
1094 static int roletype_role_in_ancestor_to_cil(struct policydb *pdb, struct stack *decl_stack, char *t… in roletype_role_in_ancestor_to_cil()
1193 static int avrule_list_to_cil(int indent, struct policydb *pdb, struct avrule *avrule_list, struct … in avrule_list_to_cil()
1262 static int cond_expr_to_cil(int indent, struct policydb *pdb, struct cond_expr *cond_expr, uint32_t… in cond_expr_to_cil()
1405 static int cond_list_to_cil(int indent, struct policydb *pdb, struct cond_node *cond_list, struct l… in cond_list_to_cil()
1442 static int role_trans_to_cil(int indent, struct policydb *pdb, struct role_trans_rule *rules, struc… in role_trans_to_cil()
1495 static int role_allows_to_cil(int indent, struct policydb *pdb, struct role_allow_rule *rules, stru… in role_allows_to_cil()
1538 static int range_trans_to_cil(int indent, struct policydb *pdb, struct range_trans_rule *rules, str… in range_trans_to_cil()
1612 static int filename_trans_to_cil(int indent, struct policydb *pdb, struct filename_trans_rule *rule… in filename_trans_to_cil()
1721 static int constraint_expr_to_string(struct policydb *pdb, struct constraint_expr *exprs, char **ex… in constraint_expr_to_string()
1941 static int constraints_to_cil(int indent, struct policydb *pdb, char *classkey, struct class_datum … in constraints_to_cil()
1976 static int class_to_cil(int indent, struct policydb *pdb, struct avrule_block *UNUSED(block), struc… in class_to_cil()
2085 static int class_order_to_cil(int indent, struct policydb *pdb, struct ebitmap order) in class_order_to_cil()
2109 static int role_to_cil(int indent, struct policydb *pdb, struct avrule_block *UNUSED(block), struct… in role_to_cil()
2244 static int type_to_cil(int indent, struct policydb *pdb, struct avrule_block *UNUSED(block), struct… in type_to_cil()
2317 static int user_to_cil(int indent, struct policydb *pdb, struct avrule_block *block, struct stack *… in user_to_cil()
2371 static int boolean_to_cil(int indent, struct policydb *UNUSED(pdb), struct avrule_block *UNUSED(blo… in boolean_to_cil()
2389 static int sens_to_cil(int indent, struct policydb *pdb, struct avrule_block *UNUSED(block), struct… in sens_to_cil()
2412 static int sens_order_to_cil(int indent, struct policydb *pdb, struct ebitmap order) in sens_order_to_cil()
2436 static int cat_to_cil(int indent, struct policydb *pdb, struct avrule_block *UNUSED(block), struct … in cat_to_cil()
2454 static int cat_order_to_cil(int indent, struct policydb *pdb, struct ebitmap order) in cat_order_to_cil()
2482 static int polcaps_to_cil(struct policydb *pdb) in polcaps_to_cil()
2511 static int level_to_cil(struct policydb *pdb, struct mls_level *level) in level_to_cil()
2528 static int context_to_cil(struct policydb *pdb, struct context_struct *con) in context_to_cil()
2550 static int ocontext_isid_to_cil(struct policydb *pdb, const char *const *sid_to_string, in ocontext_isid_to_cil()
2614 static int ocontext_selinux_isid_to_cil(struct policydb *pdb, struct ocontext *isids) in ocontext_selinux_isid_to_cil()
2629 static int ocontext_selinux_fs_to_cil(struct policydb *UNUSED(pdb), struct ocontext *fss) in ocontext_selinux_fs_to_cil()
2638 static int ocontext_selinux_port_to_cil(struct policydb *pdb, struct ocontext *portcons) in ocontext_selinux_port_to_cil()
2678 static int ocontext_selinux_ibpkey_to_cil(struct policydb *pdb, in ocontext_selinux_ibpkey_to_cil()
2717 static int ocontext_selinux_netif_to_cil(struct policydb *pdb, struct ocontext *netifs) in ocontext_selinux_netif_to_cil()
2733 static int ocontext_selinux_node_to_cil(struct policydb *pdb, struct ocontext *nodes) in ocontext_selinux_node_to_cil()
2765 static int ocontext_selinux_node6_to_cil(struct policydb *pdb, struct ocontext *nodes) in ocontext_selinux_node6_to_cil()
2797 static int ocontext_selinux_ibendport_to_cil(struct policydb *pdb, struct ocontext *ibendports) in ocontext_selinux_ibendport_to_cil()
2811 static int ocontext_selinux_fsuse_to_cil(struct policydb *pdb, struct ocontext *fsuses) in ocontext_selinux_fsuse_to_cil()
2843 static int ocontext_xen_isid_to_cil(struct policydb *pdb, struct ocontext *isids) in ocontext_xen_isid_to_cil()
2858 static int ocontext_xen_pirq_to_cil(struct policydb *pdb, struct ocontext *pirqs) in ocontext_xen_pirq_to_cil()
2871 static int ocontext_xen_ioport_to_cil(struct policydb *pdb, struct ocontext *ioports) in ocontext_xen_ioport_to_cil()
2895 static int ocontext_xen_iomem_to_cil(struct policydb *pdb, struct ocontext *iomems) in ocontext_xen_iomem_to_cil()
2919 static int ocontext_xen_pcidevice_to_cil(struct policydb *pdb, struct ocontext *pcids) in ocontext_xen_pcidevice_to_cil()
2932 static int ocontexts_to_cil(struct policydb *pdb) in ocontexts_to_cil()
2986 static int genfscon_to_cil(struct policydb *pdb) in genfscon_to_cil()
3376 static int typealiases_to_cil(int indent, struct policydb *pdb, struct avrule_block *UNUSED(block),… in typealiases_to_cil()
3412 static int declared_scopes_to_cil(int indent, struct policydb *pdb, struct avrule_block *block, str… in declared_scopes_to_cil()
3478 static int required_scopes_to_cil(int indent, struct policydb *pdb, struct avrule_block *block, str… in required_scopes_to_cil()
3558 static int additive_scopes_to_cil(int indent, struct policydb *pdb, struct avrule_block *block, str… in additive_scopes_to_cil()
3631 static int block_to_cil(struct policydb *pdb, struct avrule_block *block, struct stack *stack, int … in block_to_cil()
3715 static int module_block_to_cil(struct policydb *pdb, struct avrule_block *block, struct stack *stac… in module_block_to_cil()
3757 static int global_block_to_cil(struct policydb *pdb, struct avrule_block *block, struct stack *stac… in global_block_to_cil()
3790 static int blocks_to_cil(struct policydb *pdb) in blocks_to_cil()
3826 static int linked_block_to_cil(struct policydb *pdb, struct avrule_block *block, struct stack *stac… in linked_block_to_cil()
3857 static int linked_blocks_to_cil(struct policydb *pdb) in linked_blocks_to_cil()
3889 static int handle_unknown_to_cil(struct policydb *pdb) in handle_unknown_to_cil()
3918 static int generate_mls(struct policydb *pdb) in generate_mls()
3961 static int fix_module_name(struct policydb *pdb) in fix_module_name()
3995 int sepol_module_policydb_to_cil(FILE *fp, struct policydb *pdb, int linked) in sepol_module_policydb_to_cil()
4108 struct sepol_policydb *pdb; in sepol_module_package_to_cil() local