/third_party/selinux/libsepol/include/sepol/ |
D | policydb.h | 17 typedef struct sepol_policydb sepol_policydb_t; typedef 60 extern int sepol_policydb_create(sepol_policydb_t ** p); 61 extern void sepol_policydb_free(sepol_policydb_t * p); 81 extern int sepol_policydb_set_typevers(sepol_policydb_t * p, unsigned int type); 88 extern int sepol_policydb_set_vers(sepol_policydb_t * p, unsigned int vers); 94 extern int sepol_policydb_set_handle_unknown(sepol_policydb_t * p, 100 extern int sepol_policydb_set_target_platform(sepol_policydb_t * p, 106 extern int sepol_policydb_optimize(sepol_policydb_t * p); 113 extern int sepol_policydb_read(sepol_policydb_t * p, sepol_policy_file_t * pf); 120 extern int sepol_policydb_write(sepol_policydb_t * p, sepol_policy_file_t * pf); [all …]
|
D | nodes.h | 14 const sepol_policydb_t * p, unsigned int *response); 18 const sepol_policydb_t * policydb, 23 const sepol_policydb_t * policydb, 29 sepol_policydb_t * policydb, 40 const sepol_policydb_t * policydb,
|
D | interfaces.h | 14 const sepol_policydb_t * policydb, 19 const sepol_policydb_t * policydb, 25 const sepol_policydb_t * policydb, 32 sepol_policydb_t * policydb, 43 const sepol_policydb_t * policydb,
|
D | ibendports.h | 14 const sepol_policydb_t *p, 19 const sepol_policydb_t *policydb, 24 const sepol_policydb_t *policydb, 30 sepol_policydb_t *policydb, 41 const sepol_policydb_t *policydb,
|
D | booleans.h | 15 sepol_policydb_t * policydb, 21 const sepol_policydb_t * p, unsigned int *response); 25 const sepol_policydb_t * policydb, 30 const sepol_policydb_t * p, 41 const sepol_policydb_t * policydb,
|
D | users.h | 15 sepol_policydb_t * policydb, 21 const sepol_policydb_t * p, unsigned int *response); 25 const sepol_policydb_t * policydb, 30 const sepol_policydb_t * p, 40 const sepol_policydb_t * policydb,
|
D | ports.h | 14 const sepol_policydb_t * p, unsigned int *response); 18 const sepol_policydb_t * policydb, 23 const sepol_policydb_t * policydb, 29 sepol_policydb_t * policydb, 40 const sepol_policydb_t * policydb,
|
D | ibpkeys.h | 15 const sepol_policydb_t *p, unsigned int *response); 19 const sepol_policydb_t *policydb, 24 const sepol_policydb_t *policydb, 30 sepol_policydb_t *policydb, 41 const sepol_policydb_t *policydb,
|
D | module.h | 57 extern sepol_policydb_t *sepol_module_package_get_policy(sepol_module_package_t 78 sepol_policydb_t * base, 79 sepol_policydb_t ** modules, 83 sepol_policydb_t * base, 84 sepol_policydb_t * out, int verbose, int check);
|
D | context.h | 19 const sepol_policydb_t * policydb, 23 const sepol_policydb_t * policydb, 28 const sepol_policydb_t * policydb, const char *mls);
|
/third_party/selinux/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 sepol_policydb_free() 97 int sepol_policydb_set_typevers(sepol_policydb_t * sp, unsigned int type) in sepol_policydb_set_typevers() 115 int sepol_policydb_set_vers(sepol_policydb_t * sp, unsigned int vers) in sepol_policydb_set_vers() 136 int sepol_policydb_set_handle_unknown(sepol_policydb_t * sp, in sepol_policydb_set_handle_unknown() 154 int sepol_policydb_set_target_platform(sepol_policydb_t * sp, in sepol_policydb_set_target_platform() 171 int sepol_policydb_optimize(sepol_policydb_t * p) in sepol_policydb_optimize() 176 int sepol_policydb_read(sepol_policydb_t * p, sepol_policy_file_t * pf) in sepol_policydb_read() 181 int sepol_policydb_write(sepol_policydb_t * p, sepol_policy_file_t * pf) in sepol_policydb_write() [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() 117 const sepol_policydb_t * p, in sepol_bool_exists() 140 const sepol_policydb_t * p, in sepol_bool_query() 179 const sepol_policydb_t * p, in sepol_bool_iterate()
|
D | ibendports.c | 110 const sepol_policydb_t *p, unsigned int *response) in sepol_ibendport_count() 127 const sepol_policydb_t *p, in sepol_ibendport_exists() 154 const sepol_policydb_t *p, in sepol_ibendport_query() 189 sepol_policydb_t *p, in sepol_ibendport_modify() 220 const sepol_policydb_t *p, in sepol_ibendport_iterate()
|
D | interfaces.c | 110 const sepol_policydb_t * p, in sepol_iface_exists() 134 const sepol_policydb_t * p, in sepol_iface_query() 165 sepol_policydb_t * p, in sepol_iface_modify() 219 const sepol_policydb_t * p, unsigned int *response) in sepol_iface_count() 236 const sepol_policydb_t * p, in sepol_iface_iterate()
|
D | ibpkeys.c | 104 const sepol_policydb_t *p, unsigned int *response) in sepol_ibpkey_count() 121 const sepol_policydb_t *p, in sepol_ibpkey_exists() 151 const sepol_policydb_t *p, in sepol_ibpkey_query() 187 sepol_policydb_t *p, in sepol_ibpkey_modify() 217 const sepol_policydb_t *p, in sepol_ibpkey_iterate()
|
D | ports.c | 158 const sepol_policydb_t * p, unsigned int *response) in sepol_port_count() 176 const sepol_policydb_t * p, in sepol_port_exists() 214 const sepol_policydb_t * p, in sepol_port_query() 254 sepol_policydb_t * p, in sepol_port_modify() 290 const sepol_policydb_t * p, in sepol_port_iterate()
|
D | users.c | 105 sepol_policydb_t * p, in sepol_user_modify() 288 const sepol_policydb_t * p, in sepol_user_exists() 303 const sepol_policydb_t * p, unsigned int *response) in sepol_user_count() 313 const sepol_policydb_t * p, in sepol_user_query() 342 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() 170 const sepol_policydb_t * p, in sepol_node_exists() 230 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 | 234 sepol_policydb_t *sepol_module_package_get_policy(sepol_module_package_t * p) in sepol_module_package_get_policy() 988 sepol_policydb_t * base, in sepol_link_modules() 989 sepol_policydb_t ** modules, size_t len, int verbose) in sepol_link_modules() 996 sepol_policydb_t * base, in sepol_expand_module() 997 sepol_policydb_t * out, int verbose, int check) in sepol_expand_module()
|
D | mls.c | 668 const sepol_policydb_t * policydb, in sepol_mls_contains() 707 const sepol_policydb_t * policydb, const char *mls) in sepol_mls_check()
|
/third_party/selinux/libselinux/src/ |
D | load_policy.c | 62 sepol_policydb_t *policydb; in selinux_mkload_policy() 70 int (*policydb_create)(sepol_policydb_t **) = NULL; in selinux_mkload_policy() 71 void (*policydb_free)(sepol_policydb_t *) = NULL; in selinux_mkload_policy() 72 int (*policydb_read)(sepol_policydb_t *, sepol_policy_file_t *) = NULL; in selinux_mkload_policy() 73 int (*policydb_set_vers)(sepol_policydb_t *, unsigned int) = NULL; in selinux_mkload_policy() 74 int (*policydb_to_image)(sepol_handle_t *, sepol_policydb_t *, void **, size_t *) = NULL; in selinux_mkload_policy()
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_binary.h | 47 int cil_binary_create(const struct cil_db *db, sepol_policydb_t **pdb); 63 int cil_binary_create_allocated_pdb(const struct cil_db *db, sepol_policydb_t *pdb);
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | module.h | 38 sepol_policydb_t *policy;
|
/third_party/selinux/libsepol/fuzz/ |
D | secilc-fuzzer.c | 28 sepol_policydb_t *pdb = NULL; in LLVMFuzzerTestOneInput()
|
/third_party/selinux/libsepol/cil/include/cil/ |
D | cil.h | 48 extern int cil_build_policydb(cil_db_t *db, sepol_policydb_t **sepol_db);
|