Home
last modified time | relevance | path

Searched defs:policydb (Results 1 – 25 of 25) sorted by relevance

/external/selinux/libsepol/src/
Dbooleans.c15 policydb_t * policydb, in bool_update()
55 const policydb_t * policydb, in bool_to_record()
90 policydb_t *policydb = &p->p; in sepol_bool_set() local
110 const policydb_t *policydb = &p->p; in sepol_bool_count() local
121 const policydb_t *policydb = &p->p; in sepol_bool_exists() local
144 const policydb_t *policydb = &p->p; in sepol_bool_query() local
184 const policydb_t *policydb = &p->p; in sepol_bool_iterate() local
Dinterfaces.c13 const policydb_t * policydb, in iface_from_record()
67 const policydb_t * policydb, in iface_to_record()
114 const policydb_t *policydb = &p->p; in sepol_iface_exists() local
138 const policydb_t *policydb = &p->p; in sepol_iface_query() local
170 policydb_t *policydb = &p->p; in sepol_iface_modify() local
224 const policydb_t *policydb = &p->p; in sepol_iface_count() local
241 const policydb_t *policydb = &p->p; in sepol_iface_iterate() local
Dibendports.c15 const policydb_t *policydb, in ibendport_from_record()
72 const policydb_t *policydb, in ibendport_to_record()
114 const policydb_t *policydb = &p->p; in sepol_ibendport_count() local
130 const policydb_t *policydb = &p->p; in sepol_ibendport_exists() local
158 const policydb_t *policydb = &p->p; in sepol_ibendport_query() local
193 policydb_t *policydb = &p->p; in sepol_ibendport_modify() local
224 const policydb_t *policydb = &p->p; in sepol_ibendport_iterate() local
Dibpkeys.c17 const policydb_t *policydb, in ibpkey_from_record()
69 const policydb_t *policydb, in ibpkey_to_record()
108 const policydb_t *policydb = &p->p; in sepol_ibpkey_count() local
124 const policydb_t *policydb = &p->p; in sepol_ibpkey_exists() local
154 const policydb_t *policydb = &p->p; in sepol_ibpkey_query() local
190 policydb_t *policydb = &p->p; in sepol_ibpkey_modify() local
221 const policydb_t *policydb = &p->p; in sepol_ibpkey_iterate() local
Dusers.c16 const policydb_t * policydb, in user_to_record()
109 policydb_t *policydb = &p->p; in sepol_user_modify() local
292 const policydb_t *policydb = &p->p; in sepol_user_exists() local
306 const policydb_t *policydb = &p->p; in sepol_user_count() local
317 const policydb_t *policydb = &p->p; in sepol_user_query() local
347 const policydb_t *policydb = &p->p; in sepol_user_iterate() local
Dnodes.c15 const policydb_t * policydb, in node_from_record()
84 const policydb_t * policydb, in node_to_record()
153 const policydb_t *policydb = &p->p; in sepol_node_count() local
174 const policydb_t *policydb = &p->p; in sepol_node_exists() local
234 const policydb_t *policydb = &p->p; in sepol_node_query() local
301 policydb_t *policydb = &p->p; in sepol_node_modify() local
351 const policydb_t *policydb = &p->p; in sepol_node_iterate() local
Dcontext.c88 const policydb_t * policydb, in context_to_string()
144 const policydb_t * policydb, in context_from_record()
243 const policydb_t * policydb, in context_to_record()
292 const policydb_t * policydb, in context_from_string()
334 const sepol_policydb_t * policydb, in sepol_context_check()
Dports.c56 const policydb_t * policydb, in port_from_record()
115 const policydb_t * policydb, in port_to_record()
163 const policydb_t *policydb = &p->p; in sepol_port_count() local
180 const policydb_t *policydb = &p->p; in sepol_port_exists() local
218 const policydb_t *policydb = &p->p; in sepol_port_query() local
258 policydb_t *policydb = &p->p; in sepol_port_modify() local
295 const policydb_t *policydb = &p->p; in sepol_port_iterate() local
Dmls.c43 const policydb_t * policydb, in mls_to_string()
79 const policydb_t * policydb, in mls_from_string()
109 int mls_compute_context_len(const policydb_t * policydb, in mls_compute_context_len()
167 void mls_sid_to_context(const policydb_t * policydb, in mls_sid_to_context()
329 int mls_context_to_sid(const policydb_t * policydb, in mls_context_to_sid()
603 int mls_compute_sid(policydb_t * policydb, in mls_compute_sid()
668 sepol_policydb_t * policydb, in sepol_mls_contains()
707 sepol_policydb_t * policydb, const char *mls) in sepol_mls_check()
Dpolicydb_convert.c11 void *data, size_t len, policydb_t * policydb) in policydb_from_image()
35 policydb_t * policydb, void **newdata, size_t * newlen) in policydb_to_image()
Droles.c15 policydb_t *policydb = &p->p; in sepol_role_exists() local
26 policydb_t *policydb = &p->p; in sepol_role_list() local
Dservices.c78 static policydb_t mypolicydb, *policydb = &mypolicydb; variable
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h506 typedef struct policydb { struct
515 /* Set when the policydb is modified such that writing is unsupported */ argument
518 /* Whether this policydb is mls, should always be set */ argument
519 int mls;
522 symtab_t symtab[SYM_NUM];
533 char **sym_val_to_name[SYM_NUM];
544 class_datum_t **class_val_to_struct;
545 role_datum_t **role_val_to_struct;
546 user_datum_t **user_val_to_struct;
547 type_datum_t **type_val_to_struct;
[all …]
/external/selinux/libsemanage/src/
Dfcontexts_local.c84 const sepol_policydb_t *policydb; member
95 const sepol_policydb_t *policydb = arg->policydb; in validate_handler() local
122 const sepol_policydb_t * policydb) in semanage_fcontext_validate_local()
Dseusers_local.c239 const sepol_policydb_t *policydb; member
252 const sepol_policydb_t *policydb = arg->policydb; in validate_handler() local
324 const sepol_policydb_t * policydb) in semanage_seuser_validate_local()
Ddatabase_policydb.c37 sepol_policydb_t *policydb; member
94 sepol_policydb_t *policydb = NULL; in dbase_policydb_cache() local
224 sepol_policydb_t * policydb) in dbase_policydb_attach()
Dgenhomedircon.c115 sepol_policydb_t *policydb; member
1367 sepol_policydb_t * policydb, in semanage_genhomedircon()
/external/selinux/libsepol/tests/
Dtest-downgrade.c37 static policydb_t policydb; variable
/external/selinux/libselinux/src/
Dload_policy.c63 sepol_policydb_t *policydb; in hidden_def() local
Daudit2why.c43 sepol_policydb_t *policydb; member
/external/selinux/python/audit2allow/
Dsepolgen-ifgen-attr-helper.c147 policydb_t *policydb; in load_policy() local
/external/selinux/checkpolicy/test/
Ddispol.c37 static policydb_t policydb; variable
Ddismod.c57 static policydb_t policydb; variable
/external/selinux/checkpolicy/
Dcheckpolicy.c99 static policydb_t policydb; variable
/external/selinux/libsepol/cil/src/
Dcil_binary.c3991 int __cil_policydb_val_arrays_create(policydb_t *policydb) in __cil_policydb_val_arrays_create()
4228 int cil_binary_create(const struct cil_db *db, sepol_policydb_t **policydb) in cil_binary_create()
4797 int cil_binary_create_allocated_pdb(const struct cil_db *db, sepol_policydb_t *policydb) in cil_binary_create_allocated_pdb()