Lines Matching refs:sepol_policydb_t
62 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_set_target_platform(sepol_policydb_t * sp, in sepol_policydb_set_target_platform()
172 int sepol_policydb_read(sepol_policydb_t * p, sepol_policy_file_t * pf) in sepol_policydb_read()
177 int sepol_policydb_write(sepol_policydb_t * p, sepol_policy_file_t * pf) in sepol_policydb_write()
183 void *data, size_t len, sepol_policydb_t * p) in sepol_policydb_from_image()
189 sepol_policydb_t * p, void **newdata, in sepol_policydb_to_image()
195 int sepol_policydb_mls_enabled(const sepol_policydb_t * p) in sepol_policydb_mls_enabled()
206 int sepol_policydb_compat_net(const sepol_policydb_t * p) in sepol_policydb_compat_net()