Home
last modified time | relevance | path

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

12

/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()
111 policydb_t *policydb = &p->p; in sepol_user_modify() local
297 const policydb_t *policydb = &p->p; in sepol_user_exists() local
311 const policydb_t *policydb = &p->p; in sepol_user_count() local
322 const policydb_t *policydb = &p->p; in sepol_user_query() local
352 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
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
Dcontext.c89 const policydb_t * policydb, in context_to_string()
145 const policydb_t * policydb, in context_from_record()
244 const policydb_t * policydb, in context_to_record()
293 const policydb_t * policydb, in context_from_string()
335 const sepol_policydb_t * policydb, in sepol_context_check()
Dgenbools.c77 static int load_booleans(struct policydb *policydb, const char *path,
162 struct policydb policydb; local
206 int hidden sepol_genbools_policydb(policydb_t * policydb, const char *booleans)
223 struct policydb policydb; 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()
331 int mls_context_to_sid(const policydb_t * policydb, in mls_context_to_sid()
607 int mls_compute_sid(policydb_t * policydb, in mls_compute_sid()
670 sepol_policydb_t * policydb, in sepol_mls_contains()
709 sepol_policydb_t * policydb, const char *mls) in sepol_mls_check()
Dgenusers.c35 static int load_users(struct policydb *policydb, const char *path)
296 struct policydb policydb; local
324 int hidden sepol_genusers_policydb(policydb_t * policydb, const char *usersdir)
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
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h505 typedef struct policydb { struct
514 /* Set when the policydb is modified such that writing is unsupported */ argument
517 /* Whether this policydb is mls, should always be set */ argument
518 int mls;
521 symtab_t symtab[SYM_NUM];
532 char **sym_val_to_name[SYM_NUM];
543 class_datum_t **class_val_to_struct;
544 role_datum_t **role_val_to_struct;
545 user_datum_t **user_val_to_struct;
546 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.c113 sepol_policydb_t *policydb; member
1365 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.c67 sepol_policydb_t *policydb; in selinux_mkload_policy() 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

12