/external/libsepol/tests/ |
test-linker-cond-map.h | 24 extern void base_cond_tests(policydb_t * base); 25 extern void module_cond_tests(policydb_t * base);
|
test-linker-types.h | 24 extern void base_type_tests(policydb_t * base); 25 extern void module_type_tests(policydb_t * base);
|
test-linker-roles.h | 26 extern void base_role_tests(policydb_t * base); 27 extern void module_role_tests(policydb_t * base);
|
test-common.h | 37 extern void test_sym_presence(policydb_t * p, char *id, int sym_type, unsigned int scope_type, unsigned int *decls, unsigned int len); 43 extern void test_policydb_indexes(policydb_t * p); 53 extern void test_alias_datum(policydb_t * p, char *id, char *primary_id, char mode, unsigned int flavor); 65 extern role_datum_t *test_role_type_set(policydb_t * p, char *id, avrule_decl_t * decl, char **types, unsigned int len, unsigned int flags); 76 extern void test_attr_types(policydb_t * p, char *id, avrule_decl_t * decl, char **types, int len);
|
helpers.h | 36 * p policydb_t into which the policy will be read. This should be 48 extern int test_load_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const char *policy_name); 57 extern avrule_decl_t *test_find_decl_by_sym(policydb_t * p, int symtab, char *sym);
|
test-downgrade.h | 102 int read_binary_policy(const char *path, policydb_t *); 117 int write_binary_policy(const char *path, policydb_t *);
|
test-expander.c | 48 policydb_t role_expanded; 49 policydb_t user_expanded; 50 policydb_t base_expanded2; 51 static policydb_t basemod; 52 static policydb_t basemod2; 53 static policydb_t mod2; 54 static policydb_t base_expanded; 55 static policydb_t base_only_mod; 56 static policydb_t base_only_expanded; 57 static policydb_t role_basemod [all...] |
test-expander-roles.c | 30 extern policydb_t role_expanded;
|
debug.h | 27 extern void display_expr(policydb_t * p, cond_expr_t * exp, FILE * fp);
|
test-common.c | 29 void test_sym_presence(policydb_t * p, char *id, int sym_type, unsigned int scope_type, unsigned int *decls, unsigned int len) 60 policydb_t *p = (policydb_t *) data; 69 policydb_t *p = (policydb_t *) data; 79 policydb_t *p = (policydb_t *) data; 89 policydb_t *p = (policydb_t *) data; 103 policydb_t *p = (policydb_t *) data [all...] |
test-deps.c | 83 static policydb_t bases_met[NUM_BASES]; 84 static policydb_t bases_notmet[NUM_BASES]; 140 policydb_t *base; 141 policydb_t mod; 142 policydb_t *mods[] = { &mod }; 222 policydb_t *base; 223 policydb_t mod; 224 policydb_t *mods[] = { &mod };
|
test-linker.c | 54 static policydb_t basenomods; 55 static policydb_t linkedbase; 56 static policydb_t *modules[NUM_MODS];
|
/external/libsepol/src/ |
mls.h | 31 const policydb_t * policydb, 35 const policydb_t * policydb, 39 extern int mls_compute_context_len(const policydb_t * policydb, 43 extern void mls_sid_to_context(const policydb_t * policydb, 48 extern int mls_context_to_sid(const policydb_t * policydb, 52 extern int mls_context_isvalid(const policydb_t * p, 55 extern int mls_convert_context(policydb_t * oldp, 56 policydb_t * newp, context_struct_t * context); 58 extern int mls_compute_sid(policydb_t * policydb,
|
context.h | 12 const policydb_t * policydb, 17 const policydb_t * policydb, 23 const policydb_t * policydb, 28 extern int context_is_valid(const policydb_t * policydb, 33 const policydb_t * policydb,
|
booleans.c | 15 policydb_t * policydb, 55 const policydb_t * policydb, 90 policydb_t *policydb = &p->p; 110 const policydb_t *policydb = &p->p; 122 const policydb_t *policydb = &p->p; 145 const policydb_t *policydb = &p->p; 184 const policydb_t *policydb = &p->p;
|
/external/libsepol/include/sepol/policydb/ |
expand.h | 44 extern int expand_module_avrules(sepol_handle_t * handle, policydb_t * base, 45 policydb_t * out, uint32_t * typemap, uint32_t * boolmap, 54 policydb_t * base, policydb_t * out, 58 extern int expand_convert_type_set(policydb_t * p, uint32_t * typemap, 61 extern int type_set_expand(type_set_t * set, ebitmap_t * t, policydb_t * p, 63 extern int role_set_expand(role_set_t * x, ebitmap_t * r, policydb_t * out, policydb_t * base, uint32_t * rolemap); 65 policydb_t *p, sepol_handle_t *h); 67 policydb_t *p, sepol_handle_t *h) [all...] |
avrule_block.h | 30 extern avrule_decl_t *get_avrule_decl(policydb_t * p, uint32_t decl_id); 31 extern cond_list_t *get_decl_cond_list(policydb_t * p, 34 extern int is_id_enabled(char *id, policydb_t * p, int symbol_table); 35 extern int is_perm_enabled(char *class_id, char *perm_id, policydb_t * p);
|
hierarchy.h | 30 extern int hierarchy_check_constraints(sepol_handle_t * handle, policydb_t * p);
|
link.h | 17 policydb_t * b, policydb_t ** mods, int len,
|
util.h | 28 extern char *sepol_av_to_string(policydb_t * policydbp, uint32_t tclass,
|
conditional.h | 93 extern int cond_evaluate_expr(policydb_t * p, cond_expr_t * expr); 97 extern int cond_normalize_expr(policydb_t * p, cond_node_t * cn); 101 extern cond_node_t *cond_node_find(policydb_t * p, 105 extern cond_node_t *cond_node_create(policydb_t * p, cond_node_t * node); 107 extern cond_node_t *cond_node_search(policydb_t * p, cond_node_t * list, 110 extern int evaluate_conds(policydb_t * p); 119 extern int cond_policydb_init(policydb_t * p); 120 extern void cond_policydb_destroy(policydb_t * p); 123 extern int cond_init_bool_indexes(policydb_t * p); 129 extern int cond_read_bool(policydb_t * p, hashtab_t h, struct policy_file *fp) [all...] |
services.h | 26 extern int sepol_set_policydb(policydb_t * p); 30 int sepol_genbools_policydb(policydb_t * policydb, const char *booleans); 33 int sepol_genusers_policydb(policydb_t * policydb, const char *usersdir);
|
policydb.h | 548 } policydb_t; typedef in typeref:struct:policydb 554 extern int policydb_init(policydb_t * p); 557 void *data, size_t len, policydb_t * policydb); 560 policydb_t * policydb, void **newdata, 563 extern int policydb_index_classes(policydb_t * p); 565 extern int policydb_index_bools(policydb_t * p); 567 extern int policydb_index_others(sepol_handle_t * handle, policydb_t * p, 570 extern int policydb_reindex_users(policydb_t * p); 572 extern void policydb_destroy(policydb_t * p); 574 extern int policydb_load_isids(policydb_t * p, sidtab_t * s) [all...] |
/external/checkpolicy/ |
parse_util.h | 33 int read_source_policy(policydb_t * p, const char *file, const char *progname);
|
parse_util.c | 32 extern policydb_t *policydbp; 36 int read_source_policy(policydb_t * p, const char *file, const char *progname)
|