Home
last modified time | relevance | path

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

/external/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
122 const policydb_t *policydb = &p->p; in sepol_bool_exists() local
145 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
139 const policydb_t *policydb = &p->p; in sepol_iface_query() local
171 policydb_t *policydb = &p->p; in sepol_iface_modify() local
225 const policydb_t *policydb = &p->p; in sepol_iface_count() local
243 const policydb_t *policydb = &p->p; in sepol_iface_iterate() local
Dusers.c16 const policydb_t * policydb, in user_to_record()
106 policydb_t *policydb = &p->p; in sepol_user_modify() local
292 const policydb_t *policydb = &p->p; in sepol_user_exists() local
308 const policydb_t *policydb = &p->p; in sepol_user_count() local
320 const policydb_t *policydb = &p->p; in sepol_user_query() local
351 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
175 const policydb_t *policydb = &p->p; in sepol_node_exists() local
235 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()
329 const sepol_policydb_t * policydb, in sepol_context_check()
Dports.c42 const policydb_t * policydb, in port_from_record()
101 const policydb_t * policydb, in port_to_record()
149 const policydb_t *policydb = &p->p; in sepol_port_count() local
167 const policydb_t *policydb = &p->p; in sepol_port_exists() local
205 const policydb_t *policydb = &p->p; in sepol_port_query() local
245 policydb_t *policydb = &p->p; in sepol_port_modify() local
282 const policydb_t *policydb = &p->p; in sepol_port_iterate() local
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
28 policydb_t *policydb = &p->p; in sepol_role_list() local
Dgenbools.c66 static int load_booleans(struct policydb *policydb, const char *path,
151 struct policydb policydb; local
195 int hidden sepol_genbools_policydb(policydb_t * policydb, const char *booleans)
212 struct policydb policydb; local
Dgenusers.c35 static int load_users(struct policydb *policydb, const char *path)
295 struct policydb policydb; local
323 int hidden sepol_genusers_policydb(policydb_t * policydb, const char *usersdir)
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()
605 int mls_compute_sid(policydb_t * policydb, in mls_compute_sid()
652 sepol_policydb_t * policydb, in sepol_mls_contains()
691 sepol_policydb_t * policydb, const char *mls) in sepol_mls_check()
Dservices.c77 static policydb_t mypolicydb, *policydb = &mypolicydb; variable
/external/libsepol/include/sepol/policydb/
Dpolicydb.h460 typedef struct policydb { struct
469 /* Set when the policydb is modified such that writing is unsupported */ argument
472 /* Whether this policydb is mls, should always be set */ argument
473 int mls;
476 symtab_t symtab[SYM_NUM];
487 char **sym_val_to_name[SYM_NUM];
498 class_datum_t **class_val_to_struct;
499 role_datum_t **role_val_to_struct;
500 user_datum_t **user_val_to_struct;
501 type_datum_t **type_val_to_struct;
[all …]
/external/libsepol/tests/
Dtest-downgrade.c37 static policydb_t policydb; variable
/external/checkpolicy/test/
Ddispol.c38 static policydb_t policydb; variable
Ddismod.c57 static policydb_t policydb; variable
/external/checkpolicy/
Dcheckpolicy.c92 static policydb_t policydb; variable