Home
last modified time | relevance | path

Searched defs:policydb (Results 1 – 25 of 26) 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
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
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
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()
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
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()
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()
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)
Droles.c15 policydb_t *policydb = &p->p; in sepol_role_exists() local
28 policydb_t *policydb = &p->p; in sepol_role_list() local
/external/selinux/policycoreutils/sepolicy/
Dinfo.c93 static PyObject* get_sens(const char *name, const apol_policy_t * policydb) in get_sens()
164 apol_policy_t *policydb = NULL; in qpol_cat_datum_compare() local
204 apol_policy_t *policydb = NULL; in qpol_level_datum_compare() local
236 static PyObject* get_cat_sens(const qpol_cat_t * cat_datum, const apol_policy_t * policydb) in get_cat_sens()
309 static PyObject* get_cats(const char *name, const apol_policy_t * policydb) in get_cats()
366 static PyObject* get_type_aliases(const qpol_type_t * type_datum, const apol_policy_t * policydb) in get_type_aliases()
417 static PyObject* get_attr(const qpol_type_t * type_datum, const apol_policy_t * policydb) in get_attr()
487 static PyObject* get_attribs(const char *name, const apol_policy_t * policydb) in get_attribs()
562 static PyObject* get_type_attrs(const qpol_type_t * type_datum, const apol_policy_t * policydb) in get_type_attrs()
596 static PyObject* get_type(const qpol_type_t * type_datum, const apol_policy_t * policydb) { in get_type()
[all …]
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h487 typedef struct policydb { struct
496 /* Set when the policydb is modified such that writing is unsupported */ argument
499 /* Whether this policydb is mls, should always be set */ argument
500 int mls;
503 symtab_t symtab[SYM_NUM];
514 char **sym_val_to_name[SYM_NUM];
525 class_datum_t **class_val_to_struct;
526 role_datum_t **role_val_to_struct;
527 user_datum_t **user_val_to_struct;
528 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.c234 const sepol_policydb_t *policydb; member
247 const sepol_policydb_t *policydb = arg->policydb; in validate_handler() local
319 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
225 sepol_policydb_t * policydb) in dbase_policydb_attach()
Dgenhomedircon.c94 sepol_policydb_t *policydb; member
1056 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.c60 sepol_policydb_t *policydb; in selinux_mkload_policy() local
Daudit2why.c42 sepol_policydb_t *policydb; member
/external/selinux/policycoreutils/sepolgen-ifgen/
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.c93 static policydb_t policydb; variable
/external/selinux/libsepol/cil/src/
Dcil_binary.c3788 int __cil_policydb_val_arrays_create(policydb_t *policydb) in __cil_policydb_val_arrays_create()
4059 int cil_binary_create(const struct cil_db *db, sepol_policydb_t **policydb) in cil_binary_create()
4626 int cil_binary_create_allocated_pdb(const struct cil_db *db, sepol_policydb_t *policydb) in cil_binary_create_allocated_pdb()

12