Home
last modified time | relevance | path

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

/external/libsepol/include/sepol/
Dpolicydb.h13 typedef struct sepol_policydb sepol_policydb_t; typedef
56 extern int sepol_policydb_create(sepol_policydb_t ** p);
57 extern void sepol_policydb_free(sepol_policydb_t * p);
77 extern int sepol_policydb_set_typevers(sepol_policydb_t * p, unsigned int type);
84 extern int sepol_policydb_set_vers(sepol_policydb_t * p, unsigned int vers);
90 extern int sepol_policydb_set_handle_unknown(sepol_policydb_t * p,
98 extern int sepol_policydb_read(sepol_policydb_t * p, sepol_policy_file_t * pf);
105 extern int sepol_policydb_write(sepol_policydb_t * p, sepol_policy_file_t * pf);
114 sepol_policydb_t * p);
124 sepol_policydb_t * p,
[all …]
Dports.h10 const sepol_policydb_t * p, unsigned int *response);
14 const sepol_policydb_t * policydb,
19 const sepol_policydb_t * policydb,
25 sepol_policydb_t * policydb,
36 const sepol_policydb_t * policydb,
Dnodes.h10 const sepol_policydb_t * p, unsigned int *response);
14 const sepol_policydb_t * policydb,
19 const sepol_policydb_t * policydb,
25 sepol_policydb_t * policydb,
36 const sepol_policydb_t * policydb,
Dinterfaces.h10 const sepol_policydb_t * policydb,
15 const sepol_policydb_t * policydb,
21 const sepol_policydb_t * policydb,
28 sepol_policydb_t * policydb,
39 const sepol_policydb_t * policydb,
Dusers.h28 sepol_policydb_t * policydb,
34 const sepol_policydb_t * p, unsigned int *response);
38 const sepol_policydb_t * policydb,
43 const sepol_policydb_t * p,
53 const sepol_policydb_t * policydb,
Dbooleans.h29 sepol_policydb_t * policydb,
35 const sepol_policydb_t * p, unsigned int *response);
39 const sepol_policydb_t * policydb,
44 const sepol_policydb_t * p,
55 const sepol_policydb_t * policydb,
Dmodule.h53 extern sepol_policydb_t *sepol_module_package_get_policy(sepol_module_package_t
74 sepol_policydb_t * base,
75 sepol_policydb_t ** modules,
79 sepol_policydb_t * base,
80 sepol_policydb_t * out, int verbose, int check);
Dcontext.h15 const sepol_policydb_t * policydb,
19 const sepol_policydb_t * policydb,
24 const sepol_policydb_t * policydb, const char *mls);
Droles.h4 extern int sepol_role_exists(const sepol_policydb_t * policydb,
7 extern int sepol_role_list(const sepol_policydb_t * policydb,
/external/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 hidden_def()
98 int sepol_policydb_set_typevers(sepol_policydb_t * sp, unsigned int type) in sepol_policydb_set_typevers()
116 int sepol_policydb_set_vers(sepol_policydb_t * sp, unsigned int vers) in sepol_policydb_set_vers()
137 int sepol_policydb_set_handle_unknown(sepol_policydb_t * sp, in sepol_policydb_set_handle_unknown()
155 int sepol_policydb_read(sepol_policydb_t * p, sepol_policy_file_t * pf) in sepol_policydb_read()
160 int sepol_policydb_write(sepol_policydb_t * p, sepol_policy_file_t * pf) in sepol_policydb_write()
166 void *data, size_t len, sepol_policydb_t * p) in sepol_policydb_from_image()
172 sepol_policydb_t * p, void **newdata, in sepol_policydb_to_image()
[all …]
Dbooleans.c83 sepol_policydb_t * p, in sepol_bool_set()
107 const sepol_policydb_t * p, unsigned int *response) in sepol_bool_count()
118 const sepol_policydb_t * p, in sepol_bool_exists()
141 const sepol_policydb_t * p, in sepol_bool_query()
179 const sepol_policydb_t * p, in sepol_bool_iterate()
Dinterfaces.c110 const sepol_policydb_t * p, in sepol_iface_exists()
135 const sepol_policydb_t * p, in sepol_iface_query()
166 sepol_policydb_t * p, in sepol_iface_modify()
220 const sepol_policydb_t * p, unsigned int *response) in sepol_iface_count()
238 const sepol_policydb_t * p, in sepol_iface_iterate()
Dports.c144 const sepol_policydb_t * p, unsigned int *response) in sepol_port_count()
163 const sepol_policydb_t * p, in sepol_port_exists()
201 const sepol_policydb_t * p, in sepol_port_query()
241 sepol_policydb_t * p, in sepol_port_modify()
277 const sepol_policydb_t * p, in sepol_port_iterate()
Droles.c12 sepol_policydb_t * p, const char *role, int *response) in sepol_role_exists()
25 sepol_policydb_t * p, char ***roles, unsigned int *nroles) in sepol_role_list()
Dusers.c102 sepol_policydb_t * p, in sepol_user_modify()
288 const sepol_policydb_t * p, in sepol_user_exists()
305 const sepol_policydb_t * p, unsigned int *response) in sepol_user_count()
316 const sepol_policydb_t * p, in sepol_user_query()
346 const sepol_policydb_t * p, in sepol_user_iterate()
Dnodes.c148 const sepol_policydb_t * p, unsigned int *response) in sepol_node_count()
171 const sepol_policydb_t * p, in sepol_node_exists()
231 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.c213 sepol_policydb_t *sepol_module_package_get_policy(sepol_module_package_t * p) in sepol_module_package_get_policy()
973 sepol_policydb_t * base, in sepol_link_modules()
974 sepol_policydb_t ** modules, size_t len, int verbose) in sepol_link_modules()
981 sepol_policydb_t * base, in sepol_expand_module()
982 sepol_policydb_t * out, int verbose, int check) in sepol_expand_module()
Dmls.c652 sepol_policydb_t * policydb, in sepol_mls_contains()
691 sepol_policydb_t * policydb, const char *mls) in sepol_mls_check()
Dcontext.c329 const sepol_policydb_t * policydb, in sepol_context_check()
/external/libsepol/include/sepol/policydb/
Dmodule.h34 sepol_policydb_t *policy;
/external/sepolicy/tools/
Dcheck_seapp.c120 sepol_policydb_t *db;
213 int check_type(sepol_policydb_t *db, char *type) { in check_type()
/external/checkpolicy/test/
Ddismod.c730 package->policy = (sepol_policydb_t *) policy; in read_policy()