/external/libsepol/include/sepol/ |
D | policydb.h | 13 typedef struct sepol_policydb sepol_policydb_t; typedef 56 extern int sepol_policydb_create(sepol_policydb_t ** p); 57 extern void sepol_policydb_free(sepol_policydb_t * p); 77 extern int sepol_policydb_set_typevers(sepol_policydb_t * p, unsigned int type); 84 extern int sepol_policydb_set_vers(sepol_policydb_t * p, unsigned int vers); 90 extern int sepol_policydb_set_handle_unknown(sepol_policydb_t * p, 98 extern int sepol_policydb_read(sepol_policydb_t * p, sepol_policy_file_t * pf); 105 extern int sepol_policydb_write(sepol_policydb_t * p, sepol_policy_file_t * pf); 114 sepol_policydb_t * p); 124 sepol_policydb_t * p, [all …]
|
D | ports.h | 10 const sepol_policydb_t * p, unsigned int *response); 14 const sepol_policydb_t * policydb, 19 const sepol_policydb_t * policydb, 25 sepol_policydb_t * policydb, 36 const sepol_policydb_t * policydb,
|
D | nodes.h | 10 const sepol_policydb_t * p, unsigned int *response); 14 const sepol_policydb_t * policydb, 19 const sepol_policydb_t * policydb, 25 sepol_policydb_t * policydb, 36 const sepol_policydb_t * policydb,
|
D | interfaces.h | 10 const sepol_policydb_t * policydb, 15 const sepol_policydb_t * policydb, 21 const sepol_policydb_t * policydb, 28 sepol_policydb_t * policydb, 39 const sepol_policydb_t * policydb,
|
D | users.h | 28 sepol_policydb_t * policydb, 34 const sepol_policydb_t * p, unsigned int *response); 38 const sepol_policydb_t * policydb, 43 const sepol_policydb_t * p, 53 const sepol_policydb_t * policydb,
|
D | booleans.h | 29 sepol_policydb_t * policydb, 35 const sepol_policydb_t * p, unsigned int *response); 39 const sepol_policydb_t * policydb, 44 const sepol_policydb_t * p, 55 const sepol_policydb_t * policydb,
|
D | module.h | 53 extern sepol_policydb_t *sepol_module_package_get_policy(sepol_module_package_t 74 sepol_policydb_t * base, 75 sepol_policydb_t ** modules, 79 sepol_policydb_t * base, 80 sepol_policydb_t * out, int verbose, int check);
|
D | context.h | 15 const sepol_policydb_t * policydb, 19 const sepol_policydb_t * policydb, 24 const sepol_policydb_t * policydb, const char *mls);
|
D | roles.h | 4 extern int sepol_role_exists(const sepol_policydb_t * policydb, 7 extern int sepol_role_list(const sepol_policydb_t * policydb,
|
/external/libsepol/src/ |
D | policydb_public.c | 62 int sepol_policydb_create(sepol_policydb_t ** sp) in sepol_policydb_create() 65 *sp = malloc(sizeof(sepol_policydb_t)); in sepol_policydb_create() 78 void sepol_policydb_free(sepol_policydb_t * p) in hidden_def() 98 int sepol_policydb_set_typevers(sepol_policydb_t * sp, unsigned int type) in sepol_policydb_set_typevers() 116 int sepol_policydb_set_vers(sepol_policydb_t * sp, unsigned int vers) in sepol_policydb_set_vers() 137 int sepol_policydb_set_handle_unknown(sepol_policydb_t * sp, in sepol_policydb_set_handle_unknown() 155 int sepol_policydb_read(sepol_policydb_t * p, sepol_policy_file_t * pf) in sepol_policydb_read() 160 int sepol_policydb_write(sepol_policydb_t * p, sepol_policy_file_t * pf) in sepol_policydb_write() 166 void *data, size_t len, sepol_policydb_t * p) in sepol_policydb_from_image() 172 sepol_policydb_t * p, void **newdata, in sepol_policydb_to_image() [all …]
|
D | booleans.c | 83 sepol_policydb_t * p, in sepol_bool_set() 107 const sepol_policydb_t * p, unsigned int *response) in sepol_bool_count() 118 const sepol_policydb_t * p, in sepol_bool_exists() 141 const sepol_policydb_t * p, in sepol_bool_query() 179 const sepol_policydb_t * p, in sepol_bool_iterate()
|
D | interfaces.c | 110 const sepol_policydb_t * p, in sepol_iface_exists() 135 const sepol_policydb_t * p, in sepol_iface_query() 166 sepol_policydb_t * p, in sepol_iface_modify() 220 const sepol_policydb_t * p, unsigned int *response) in sepol_iface_count() 238 const sepol_policydb_t * p, in sepol_iface_iterate()
|
D | ports.c | 144 const sepol_policydb_t * p, unsigned int *response) in sepol_port_count() 163 const sepol_policydb_t * p, in sepol_port_exists() 201 const sepol_policydb_t * p, in sepol_port_query() 241 sepol_policydb_t * p, in sepol_port_modify() 277 const sepol_policydb_t * p, in sepol_port_iterate()
|
D | roles.c | 12 sepol_policydb_t * p, const char *role, int *response) in sepol_role_exists() 25 sepol_policydb_t * p, char ***roles, unsigned int *nroles) in sepol_role_list()
|
D | users.c | 102 sepol_policydb_t * p, in sepol_user_modify() 288 const sepol_policydb_t * p, in sepol_user_exists() 305 const sepol_policydb_t * p, unsigned int *response) in sepol_user_count() 316 const sepol_policydb_t * p, in sepol_user_query() 346 const sepol_policydb_t * p, in sepol_user_iterate()
|
D | nodes.c | 148 const sepol_policydb_t * p, unsigned int *response) in sepol_node_count() 171 const sepol_policydb_t * p, in sepol_node_exists() 231 const sepol_policydb_t * p, in sepol_node_query() 297 sepol_policydb_t * p, in sepol_node_modify() 346 const sepol_policydb_t * p, in sepol_node_iterate()
|
D | module.c | 213 sepol_policydb_t *sepol_module_package_get_policy(sepol_module_package_t * p) in sepol_module_package_get_policy() 973 sepol_policydb_t * base, in sepol_link_modules() 974 sepol_policydb_t ** modules, size_t len, int verbose) in sepol_link_modules() 981 sepol_policydb_t * base, in sepol_expand_module() 982 sepol_policydb_t * out, int verbose, int check) in sepol_expand_module()
|
D | mls.c | 652 sepol_policydb_t * policydb, in sepol_mls_contains() 691 sepol_policydb_t * policydb, const char *mls) in sepol_mls_check()
|
D | context.c | 329 const sepol_policydb_t * policydb, in sepol_context_check()
|
/external/libsepol/include/sepol/policydb/ |
D | module.h | 34 sepol_policydb_t *policy;
|
/external/sepolicy/tools/ |
D | check_seapp.c | 120 sepol_policydb_t *db; 213 int check_type(sepol_policydb_t *db, char *type) { in check_type()
|
/external/checkpolicy/test/ |
D | dismod.c | 730 package->policy = (sepol_policydb_t *) policy; in read_policy()
|