| /third_party/selinux/libsepol/fuzz/ |
| H A D | binpolicy-fuzzer.c | 20 policydb_t policydb = {}; in LLVMFuzzerTestOneInput() local [all...] |
| /third_party/selinux/libsepol/src/ |
| H A D | policydb_convert.c | 10 policydb_from_image(sepol_handle_t * handle, void *data, size_t len, policydb_t * policydb) policydb_from_image() argument 34 policydb_to_image(sepol_handle_t * handle, policydb_t * policydb, void **newdata, size_t * newlen) policydb_to_image() argument [all...] |
| H A D | ibendports.c | 114 const policydb_t *policydb = &p->p; in sepol_ibendport_count() local 130 const policydb_t *policydb = &p->p; in sepol_ibendport_exists() local 14 ibendport_from_record(sepol_handle_t *handle, const policydb_t *policydb, ocontext_t **ibendport, const sepol_ibendport_t *data) ibendport_from_record() argument 71 ibendport_to_record(sepol_handle_t *handle, const policydb_t *policydb, ocontext_t *ibendport, sepol_ibendport_t **record) ibendport_to_record() argument 158 const policydb_t *policydb = &p->p; sepol_ibendport_query() local 193 policydb_t *policydb = &p->p; sepol_ibendport_modify() local 224 const policydb_t *policydb = &p->p; sepol_ibendport_iterate() local [all...] |
| H A D | interfaces.c | 114 const policydb_t *policydb = &p->p; in sepol_iface_exists() local 12 iface_from_record(sepol_handle_t * handle, const policydb_t * policydb, ocontext_t ** iface, const sepol_iface_t * record) iface_from_record() argument 66 iface_to_record(sepol_handle_t * handle, const policydb_t * policydb, ocontext_t * iface, sepol_iface_t ** record) iface_to_record() argument 138 const policydb_t *policydb = &p->p; sepol_iface_query() local 170 policydb_t *policydb = &p->p; sepol_iface_modify() local 224 const policydb_t *policydb = &p->p; sepol_iface_count() local 241 const policydb_t *policydb = &p->p; sepol_iface_iterate() local [all...] |
| H A D | booleans.c | 87 policydb_t *policydb in sepol_bool_set() local 14 bool_update(sepol_handle_t * handle, policydb_t * policydb, const sepol_bool_key_t * key, const sepol_bool_t * data) bool_update() argument 54 bool_to_record(sepol_handle_t * handle, const policydb_t * policydb, int bool_idx, sepol_bool_t ** record) bool_to_record() argument 110 const policydb_t *policydb = &p->p; sepol_bool_count() local 121 const policydb_t *policydb = &p->p; sepol_bool_exists() local 144 const policydb_t *policydb = &p->p; sepol_bool_query() local 184 const policydb_t *policydb = &p->p; sepol_bool_iterate() local [all...] |
| H A D | ibpkeys.c | 108 const policydb_t *policydb = &p->p; in sepol_ibpkey_count() local 124 const policydb_t *policydb = &p->p; in sepol_ibpkey_exists() local 16 ibpkey_from_record(sepol_handle_t *handle, const policydb_t *policydb, ocontext_t **ibpkey, const sepol_ibpkey_t *data) ibpkey_from_record() argument 68 ibpkey_to_record(sepol_handle_t *handle, const policydb_t *policydb, ocontext_t *ibpkey, sepol_ibpkey_t **record) ibpkey_to_record() argument 154 const policydb_t *policydb = &p->p; sepol_ibpkey_query() local 190 policydb_t *policydb = &p->p; sepol_ibpkey_modify() local 221 const policydb_t *policydb = &p->p; sepol_ibpkey_iterate() local [all...] |
| H A D | ports.c | 163 const policydb_t *policydb = &p->p; in sepol_port_count() local 180 const policydb_t *policydb = &p->p; in sepol_port_exists() local 55 port_from_record(sepol_handle_t * handle, const policydb_t * policydb, ocontext_t ** port, const sepol_port_t * data) port_from_record() argument 114 port_to_record(sepol_handle_t * handle, const policydb_t * policydb, ocontext_t * port, sepol_port_t ** record) port_to_record() argument 218 const policydb_t *policydb = &p->p; sepol_port_query() local 258 policydb_t *policydb = &p->p; sepol_port_modify() local 295 const policydb_t *policydb = &p->p; sepol_port_iterate() local [all...] |
| H A D | context.c | 87 context_to_string(sepol_handle_t * handle, const policydb_t * policydb, const context_struct_t * context, char **result, size_t * result_len) context_to_string() argument 143 context_from_record(sepol_handle_t * handle, const policydb_t * policydb, context_struct_t ** cptr, const sepol_context_t * record) context_from_record() argument 242 context_to_record(sepol_handle_t * handle, const policydb_t * policydb, const context_struct_t * context, sepol_context_t ** record) context_to_record() argument 291 context_from_string(sepol_handle_t * handle, const policydb_t * policydb, context_struct_t ** cptr, const char *con_str, size_t con_str_len) context_from_string() argument 333 sepol_context_check(sepol_handle_t * handle, const sepol_policydb_t * policydb, const sepol_context_t * context) sepol_context_check() argument [all...] |
| H A D | nodes.c | 153 const policydb_t *policydb = &p->p; in sepol_node_count() local 174 const policydb_t *policydb in sepol_node_exists() local 14 node_from_record(sepol_handle_t * handle, const policydb_t * policydb, ocontext_t ** node, const sepol_node_t * data) node_from_record() argument 83 node_to_record(sepol_handle_t * handle, const policydb_t * policydb, ocontext_t * node, int proto, sepol_node_t ** record) node_to_record() argument 234 const policydb_t *policydb = &p->p; sepol_node_query() local 301 policydb_t *policydb = &p->p; sepol_node_modify() local 351 const policydb_t *policydb = &p->p; sepol_node_iterate() local [all...] |
| H A D | users.c | 15 user_to_record(sepol_handle_t * handle, const policydb_t * policydb, int user_idx, sepol_user_t ** record) user_to_record() argument 109 policydb_t *policydb = &p->p; sepol_user_modify() local 292 const policydb_t *policydb = &p->p; sepol_user_exists() local 306 const policydb_t *policydb = &p->p; sepol_user_count() local 317 const policydb_t *policydb = &p->p; sepol_user_query() local 347 const policydb_t *policydb = &p->p; sepol_user_iterate() local [all...] |
| H A D | mls.c | 109 int mls_compute_context_len(const policydb_t * policydb, in mls_compute_context_len() argument 42 mls_to_string(sepol_handle_t * handle, const policydb_t * policydb, const context_struct_t * mls, char **str) mls_to_string() argument 78 mls_from_string(sepol_handle_t * handle, const policydb_t * policydb, const char *str, context_struct_t * mls) mls_from_string() argument 167 mls_sid_to_context(const policydb_t * policydb, const context_struct_t * context, char **scontext) mls_sid_to_context() argument 329 mls_context_to_sid(const policydb_t * policydb, char oldc, char **scontext, context_struct_t * context) mls_context_to_sid() argument 603 mls_compute_sid(policydb_t * policydb, const context_struct_t * scontext, const context_struct_t * tcontext, sepol_security_class_t tclass, uint32_t specified, context_struct_t * newcontext) mls_compute_sid() argument 667 sepol_mls_contains(sepol_handle_t * handle, const sepol_policydb_t * policydb, const char *mls1, const char *mls2, int *response) sepol_mls_contains() argument 706 sepol_mls_check(sepol_handle_t * handle, const sepol_policydb_t * policydb, const char *mls) sepol_mls_check() argument [all...] |
| H A D | services.c | 75 static policydb_t mypolicydb, *policydb = &mypolicydb; variable [all...] |
| H A D | policydb.c | 4176 policydb_string_to_security_class( struct policydb *policydb, const char *class_name) policydb_string_to_security_class() argument 4189 policydb_string_to_av_perm( struct policydb *policydb, sepol_security_class_t tclass, const char *perm_name) policydb_string_to_av_perm() argument [all...] |
| /third_party/selinux/libsepol/tests/ |
| H A D | test-downgrade.c | 37 static policydb_t policydb; variable [all...] |
| /third_party/selinux/libselinux/src/ |
| H A D | load_policy.c | 62 sepol_policydb_t *policydb; in selinux_mkload_policy() local
|
| H A D | audit2why.c | 43 sepol_policydb_t *policydb; member [all...] |
| /third_party/selinux/checkpolicy/test/ |
| H A D | dispol.c | 37 static policydb_t policydb; variable [all...] |
| H A D | dismod.c | 56 static policydb_t policydb; variable [all...] |
| /third_party/selinux/checkpolicy/ |
| H A D | checkpolicy.c | 95 static policydb_t policydb; variable [all...] |
| /third_party/selinux/libsepol/cil/src/ |
| H A D | cil_binary.c | 4210 static int __cil_policydb_val_arrays_create(policydb_t *policydb) in __cil_policydb_val_arrays_create() argument 4447 cil_binary_create(const struct cil_db *db, sepol_policydb_t **policydb) cil_binary_create() argument 5044 cil_binary_create_allocated_pdb(const struct cil_db *db, sepol_policydb_t *policydb) cil_binary_create_allocated_pdb() argument [all...] |
| /third_party/selinux/libsepol/include/sepol/policydb/ |
| H A D | policydb.h | 508 typedef struct policydb { struct [all...] |