Home
last modified time | relevance | path

Searched refs:sepol_policydb_t (Results 1 – 25 of 31) sorted by relevance

12

/third_party/selinux/libsepol/include/sepol/
Dpolicydb.h17 typedef struct sepol_policydb sepol_policydb_t; typedef
60 extern int sepol_policydb_create(sepol_policydb_t ** p);
61 extern void sepol_policydb_free(sepol_policydb_t * p);
81 extern int sepol_policydb_set_typevers(sepol_policydb_t * p, unsigned int type);
88 extern int sepol_policydb_set_vers(sepol_policydb_t * p, unsigned int vers);
94 extern int sepol_policydb_set_handle_unknown(sepol_policydb_t * p,
100 extern int sepol_policydb_set_target_platform(sepol_policydb_t * p,
106 extern int sepol_policydb_optimize(sepol_policydb_t * p);
113 extern int sepol_policydb_read(sepol_policydb_t * p, sepol_policy_file_t * pf);
120 extern int sepol_policydb_write(sepol_policydb_t * p, sepol_policy_file_t * pf);
[all …]
Dnodes.h14 const sepol_policydb_t * p, unsigned int *response);
18 const sepol_policydb_t * policydb,
23 const sepol_policydb_t * policydb,
29 sepol_policydb_t * policydb,
40 const sepol_policydb_t * policydb,
Dinterfaces.h14 const sepol_policydb_t * policydb,
19 const sepol_policydb_t * policydb,
25 const sepol_policydb_t * policydb,
32 sepol_policydb_t * policydb,
43 const sepol_policydb_t * policydb,
Dibendports.h14 const sepol_policydb_t *p,
19 const sepol_policydb_t *policydb,
24 const sepol_policydb_t *policydb,
30 sepol_policydb_t *policydb,
41 const sepol_policydb_t *policydb,
Dbooleans.h15 sepol_policydb_t * policydb,
21 const sepol_policydb_t * p, unsigned int *response);
25 const sepol_policydb_t * policydb,
30 const sepol_policydb_t * p,
41 const sepol_policydb_t * policydb,
Dusers.h15 sepol_policydb_t * policydb,
21 const sepol_policydb_t * p, unsigned int *response);
25 const sepol_policydb_t * policydb,
30 const sepol_policydb_t * p,
40 const sepol_policydb_t * policydb,
Dports.h14 const sepol_policydb_t * p, unsigned int *response);
18 const sepol_policydb_t * policydb,
23 const sepol_policydb_t * policydb,
29 sepol_policydb_t * policydb,
40 const sepol_policydb_t * policydb,
Dibpkeys.h15 const sepol_policydb_t *p, unsigned int *response);
19 const sepol_policydb_t *policydb,
24 const sepol_policydb_t *policydb,
30 sepol_policydb_t *policydb,
41 const sepol_policydb_t *policydb,
Dmodule.h57 extern sepol_policydb_t *sepol_module_package_get_policy(sepol_module_package_t
78 sepol_policydb_t * base,
79 sepol_policydb_t ** modules,
83 sepol_policydb_t * base,
84 sepol_policydb_t * out, int verbose, int check);
Dcontext.h19 const sepol_policydb_t * policydb,
23 const sepol_policydb_t * policydb,
28 const sepol_policydb_t * policydb, const char *mls);
/third_party/selinux/libsepol/src/
Dpolicydb_public.c62 int sepol_policydb_create(sepol_policydb_t ** sp) in sepol_policydb_create()
65 *sp = malloc(sizeof(sepol_policydb_t)); in sepol_policydb_create()
78 void sepol_policydb_free(sepol_policydb_t * p) in sepol_policydb_free()
97 int sepol_policydb_set_typevers(sepol_policydb_t * sp, unsigned int type) in sepol_policydb_set_typevers()
115 int sepol_policydb_set_vers(sepol_policydb_t * sp, unsigned int vers) in sepol_policydb_set_vers()
136 int sepol_policydb_set_handle_unknown(sepol_policydb_t * sp, in sepol_policydb_set_handle_unknown()
154 int sepol_policydb_set_target_platform(sepol_policydb_t * sp, in sepol_policydb_set_target_platform()
171 int sepol_policydb_optimize(sepol_policydb_t * p) in sepol_policydb_optimize()
176 int sepol_policydb_read(sepol_policydb_t * p, sepol_policy_file_t * pf) in sepol_policydb_read()
181 int sepol_policydb_write(sepol_policydb_t * p, sepol_policy_file_t * pf) in sepol_policydb_write()
[all …]
Dbooleans.c83 sepol_policydb_t * p, in sepol_bool_set()
107 const sepol_policydb_t * p, unsigned int *response) in sepol_bool_count()
117 const sepol_policydb_t * p, in sepol_bool_exists()
140 const sepol_policydb_t * p, in sepol_bool_query()
179 const sepol_policydb_t * p, in sepol_bool_iterate()
Dibendports.c110 const sepol_policydb_t *p, unsigned int *response) in sepol_ibendport_count()
127 const sepol_policydb_t *p, in sepol_ibendport_exists()
154 const sepol_policydb_t *p, in sepol_ibendport_query()
189 sepol_policydb_t *p, in sepol_ibendport_modify()
220 const sepol_policydb_t *p, in sepol_ibendport_iterate()
Dinterfaces.c110 const sepol_policydb_t * p, in sepol_iface_exists()
134 const sepol_policydb_t * p, in sepol_iface_query()
165 sepol_policydb_t * p, in sepol_iface_modify()
219 const sepol_policydb_t * p, unsigned int *response) in sepol_iface_count()
236 const sepol_policydb_t * p, in sepol_iface_iterate()
Dibpkeys.c104 const sepol_policydb_t *p, unsigned int *response) in sepol_ibpkey_count()
121 const sepol_policydb_t *p, in sepol_ibpkey_exists()
151 const sepol_policydb_t *p, in sepol_ibpkey_query()
187 sepol_policydb_t *p, in sepol_ibpkey_modify()
217 const sepol_policydb_t *p, in sepol_ibpkey_iterate()
Dports.c158 const sepol_policydb_t * p, unsigned int *response) in sepol_port_count()
176 const sepol_policydb_t * p, in sepol_port_exists()
214 const sepol_policydb_t * p, in sepol_port_query()
254 sepol_policydb_t * p, in sepol_port_modify()
290 const sepol_policydb_t * p, in sepol_port_iterate()
Dusers.c105 sepol_policydb_t * p, in sepol_user_modify()
288 const sepol_policydb_t * p, in sepol_user_exists()
303 const sepol_policydb_t * p, unsigned int *response) in sepol_user_count()
313 const sepol_policydb_t * p, in sepol_user_query()
342 const sepol_policydb_t * p, in sepol_user_iterate()
Dnodes.c148 const sepol_policydb_t * p, unsigned int *response) in sepol_node_count()
170 const sepol_policydb_t * p, in sepol_node_exists()
230 const sepol_policydb_t * p, in sepol_node_query()
297 sepol_policydb_t * p, in sepol_node_modify()
346 const sepol_policydb_t * p, in sepol_node_iterate()
Dmodule.c234 sepol_policydb_t *sepol_module_package_get_policy(sepol_module_package_t * p) in sepol_module_package_get_policy()
988 sepol_policydb_t * base, in sepol_link_modules()
989 sepol_policydb_t ** modules, size_t len, int verbose) in sepol_link_modules()
996 sepol_policydb_t * base, in sepol_expand_module()
997 sepol_policydb_t * out, int verbose, int check) in sepol_expand_module()
Dmls.c668 const sepol_policydb_t * policydb, in sepol_mls_contains()
707 const sepol_policydb_t * policydb, const char *mls) in sepol_mls_check()
/third_party/selinux/libselinux/src/
Dload_policy.c62 sepol_policydb_t *policydb; in selinux_mkload_policy()
70 int (*policydb_create)(sepol_policydb_t **) = NULL; in selinux_mkload_policy()
71 void (*policydb_free)(sepol_policydb_t *) = NULL; in selinux_mkload_policy()
72 int (*policydb_read)(sepol_policydb_t *, sepol_policy_file_t *) = NULL; in selinux_mkload_policy()
73 int (*policydb_set_vers)(sepol_policydb_t *, unsigned int) = NULL; in selinux_mkload_policy()
74 int (*policydb_to_image)(sepol_handle_t *, sepol_policydb_t *, void **, size_t *) = NULL; in selinux_mkload_policy()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.h47 int cil_binary_create(const struct cil_db *db, sepol_policydb_t **pdb);
63 int cil_binary_create_allocated_pdb(const struct cil_db *db, sepol_policydb_t *pdb);
/third_party/selinux/libsepol/include/sepol/policydb/
Dmodule.h38 sepol_policydb_t *policy;
/third_party/selinux/libsepol/fuzz/
Dsecilc-fuzzer.c28 sepol_policydb_t *pdb = NULL; in LLVMFuzzerTestOneInput()
/third_party/selinux/libsepol/cil/include/cil/
Dcil.h48 extern int cil_build_policydb(cil_db_t *db, sepol_policydb_t **sepol_db);

12