Home
last modified time | relevance | path

Searched refs:fc_data (Results 1 – 3 of 3) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_post.h33 struct fc_data { struct
39 void cil_post_fc_fill_data(struct fc_data *fc, char *path); argument
Dcil_post.c159 void cil_post_fc_fill_data(struct fc_data *fc, char *path) in cil_post_fc_fill_data()
199 struct fc_data *a_data = cil_malloc(sizeof(*a_data)); in cil_post_filecon_compare()
200 struct fc_data *b_data = cil_malloc(sizeof(*b_data)); in cil_post_filecon_compare()
/external/selinux/libselinux/src/android/
Dandroid_platform.c82 uint8_t *fc_data = NULL; in compute_file_contexts_hash() local
114 fc_data = realloc(fc_data, total_size + sb.st_size); in compute_file_contexts_hash()
115 if (!fc_data) { in compute_file_contexts_hash()
121 memcpy(fc_data + total_size, map, sb.st_size); in compute_file_contexts_hash()
132 SHA1(fc_data, total_size, c_digest); in compute_file_contexts_hash()
140 free(fc_data); in compute_file_contexts_hash()