/external/libsepol/src/ |
roles.c | 15 policydb_t *policydb = &p->p; 28 policydb_t *policydb = &p->p;
|
interfaces.c | 13 const policydb_t * policydb, 67 const policydb_t * policydb, 114 const policydb_t *policydb = &p->p; 139 const policydb_t *policydb = &p->p; 171 policydb_t *policydb = &p->p; 225 const policydb_t *policydb = &p->p; 243 const policydb_t *policydb = &p->p;
|
policydb_convert.c | 11 void *data, size_t len, policydb_t * policydb) 35 policydb_t * policydb, void **newdata, size_t * newlen)
|
context.c | 15 int policydb_context_isvalid(const policydb_t * p, const context_struct_t * c) 34 int context_is_valid(const policydb_t * p, const context_struct_t * c) 88 const policydb_t * policydb, 144 const policydb_t * policydb, 243 const policydb_t * policydb, 292 const policydb_t * policydb,
|
nodes.c | 15 const policydb_t * policydb, 84 const policydb_t * policydb, 153 const policydb_t *policydb = &p->p; 175 const policydb_t *policydb = &p->p; 235 const policydb_t *policydb = &p->p; 301 policydb_t *policydb = &p->p; 351 const policydb_t *policydb = &p->p;
|
ports.c | 42 const policydb_t * policydb, 101 const policydb_t * policydb, 149 const policydb_t *policydb = &p->p; 167 const policydb_t *policydb = &p->p; 205 const policydb_t *policydb = &p->p; 245 policydb_t *policydb = &p->p; 282 const policydb_t *policydb = &p->p;
|
avrule_block.c | 136 cond_list_t *get_decl_cond_list(policydb_t * p, avrule_decl_t * decl, 153 int is_id_enabled(char *id, policydb_t * p, int symbol_table) 177 int is_perm_enabled(char *class_id, char *perm_id, policydb_t * p)
|
users.c | 16 const policydb_t * policydb, 106 policydb_t *policydb = &p->p; 292 const policydb_t *policydb = &p->p; 308 const policydb_t *policydb = &p->p; 320 const policydb_t *policydb = &p->p; 351 const policydb_t *policydb = &p->p;
|
conditional.c | 141 cond_node_t *cond_node_create(policydb_t * p, cond_node_t * node) 174 cond_node_t *cond_node_find(policydb_t * p, 191 cond_node_t *cond_node_search(policydb_t * p, cond_node_t * list, 210 int cond_evaluate_expr(policydb_t * p, cond_expr_t * expr) 308 static int evaluate_cond_node(policydb_t * p, cond_node_t * node) 344 int cond_normalize_expr(policydb_t * p, cond_node_t * cn) 443 int evaluate_conds(policydb_t * p) 456 int cond_policydb_init(policydb_t * p) 515 void cond_policydb_destroy(policydb_t * p) 523 int cond_init_bool_indexes(policydb_t * p [all...] |
mls.c | 43 const policydb_t * policydb, 79 const policydb_t * policydb, 109 int mls_compute_context_len(const policydb_t * policydb, 167 void mls_sid_to_context(const policydb_t * policydb, 258 int mls_context_isvalid(const policydb_t * p, const context_struct_t * c) 329 int mls_context_to_sid(const policydb_t * policydb, 552 int mls_convert_context(policydb_t * oldp, 553 policydb_t * newp, context_struct_t * c) 605 int mls_compute_sid(policydb_t * policydb,
|
policydb.c | 671 static int roles_init(policydb_t * p) 711 int policydb_init(policydb_t * p) 715 memset(p, 0, sizeof(policydb_t)); 767 policydb_t *p; 771 p = (policydb_t *) arg; 785 policydb_t *p; 789 p = (policydb_t *) arg; 829 policydb_t *p; 833 p = (policydb_t *) datap; 843 policydb_t *p [all...] |
assertion.c | 31 policydb_t * p, 80 int check_assertions(sepol_handle_t * handle, policydb_t * p,
|
util.c | 77 char *sepol_av_to_string(policydb_t * policydbp, uint32_t tclass,
|
/external/libsepol/tests/ |
helpers.c | 35 int test_load_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const char *policy_name) 66 avrule_decl_t *test_find_decl_by_sym(policydb_t * p, int symtab, char *sym)
|
test-cond.c | 30 static policydb_t basemod; 31 static policydb_t base_expanded;
|
test-expander-users.c | 29 extern policydb_t user_expanded; 31 static void check_user_roles(policydb_t * p, char *user_name, char **role_names, int num_roles)
|
debug.c | 37 void display_expr(policydb_t * p, cond_expr_t * exp, FILE * fp)
|
test-linker-cond-map.c | 57 void test_cond_expr_mapping(policydb_t * p, avrule_decl_t * d, test_cond_expr_t * bools, int len) 78 void test_bool_state(policydb_t * p, char *bool, int state) 87 void base_cond_tests(policydb_t * base) 118 void module_cond_tests(policydb_t * base)
|
test-linker-roles.c | 55 static void only_dominates_self(policydb_t * p, role_datum_t * role) 70 void base_role_tests(policydb_t * base) 100 void module_role_tests(policydb_t * base)
|
test-linker-types.c | 100 static void test_type_datum(policydb_t * p, char *id, unsigned int *decls, int len, unsigned int primary) 125 void base_type_tests(policydb_t * base) 163 void module_type_tests(policydb_t * base)
|
test-expander-attr-map.c | 29 extern policydb_t base_expanded2;
|
/external/libsepol/include/sepol/policydb/ |
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);
|
/external/checkpolicy/test/ |
dismod.c | 57 static policydb_t policydb; 74 static void render_access_mask(uint32_t mask, uint32_t class, policydb_t * p, 86 policydb_t * p, FILE * fp) 101 static void display_id(policydb_t * p, FILE * fp, uint32_t symbol_type, 115 int display_type_set(type_set_t * set, uint32_t flags, policydb_t * policy, 179 int display_mod_role_set(role_set_t * roles, policydb_t * p, FILE * fp) 214 int display_avrule(avrule_t * avrule, policydb_t * policy, 334 int display_types(policydb_t * p, FILE * fp) 341 int display_users(policydb_t * p, FILE * fp) 360 int display_bools(policydb_t * p, FILE * fp [all...] |
dispol.c | 38 static policydb_t policydb; 46 int render_access_mask(uint32_t mask, avtab_key_t * key, policydb_t * p, 58 int render_type(uint32_t type, policydb_t * p, FILE * fp) 64 int render_key(avtab_key_t * key, policydb_t * p, FILE * fp) 89 policydb_t * p, FILE * fp) 158 int display_avtab(avtab_t * a, uint32_t what, policydb_t * p, FILE * fp) 185 int display_bools(policydb_t * p, FILE * fp) 196 void display_expr(policydb_t * p, cond_expr_t * exp, FILE * fp) 231 int display_cond_expressions(policydb_t * p, FILE * fp) 277 int display_handle_unknown(policydb_t * p, FILE * out_fp [all...] |
/external/checkpolicy/ |
checkmodule.c | 50 static int read_binary_policy(policydb_t * p, char *file, char *progname) 111 static int write_binary_policy(policydb_t * p, char *file, char *progname) 168 policydb_t modpolicydb; 270 policydb_t kernpolicydb;
|