Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dbooleans.c15 policydb_t * policydb, in bool_update()
55 const policydb_t * policydb, in bool_to_record()
87 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
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()
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 const sepol_policydb_t * policydb, in sepol_mls_contains()
707 const sepol_policydb_t * policydb, const char *mls) in sepol_mls_check()
Dpolicydb.c4141 struct policydb *policydb, in policydb_string_to_security_class()
4154 struct policydb *policydb, in policydb_string_to_av_perm()
Dservices.c75 static policydb_t mypolicydb, *policydb = &mypolicydb; variable
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h507 typedef struct policydb { struct
516 /* Set when the policydb is modified such that writing is unsupported */ argument
519 /* Whether this policydb is mls, should always be set */ argument
520 int mls;
523 symtab_t symtab[SYM_NUM];
534 char **sym_val_to_name[SYM_NUM];
545 class_datum_t **class_val_to_struct;
546 role_datum_t **role_val_to_struct;
547 user_datum_t **user_val_to_struct;
548 type_datum_t **type_val_to_struct;
[all …]
/third_party/selinux/libsepol/tests/
Dtest-downgrade.c37 static policydb_t policydb; variable
/third_party/selinux/libselinux/src/
Dload_policy.c62 sepol_policydb_t *policydb; in selinux_mkload_policy() local
Daudit2why.c43 sepol_policydb_t *policydb; member
/third_party/selinux/checkpolicy/test/
Ddispol.c37 static policydb_t policydb; variable
Ddismod.c56 static policydb_t policydb; variable
/third_party/selinux/checkpolicy/
Dcheckpolicy.c95 static policydb_t policydb; variable
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c4076 int __cil_policydb_val_arrays_create(policydb_t *policydb) in __cil_policydb_val_arrays_create()
4313 int cil_binary_create(const struct cil_db *db, sepol_policydb_t **policydb) in cil_binary_create()
4898 int cil_binary_create_allocated_pdb(const struct cil_db *db, sepol_policydb_t *policydb) in cil_binary_create_allocated_pdb()