Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dlink.c133 uint32_t sclassi = src_class->s.value - 1; in permission_copy_callback() local
187 if (perm->s.value > mod->perm_map_len[sclassi]) { in permission_copy_callback()
193 memcpy(newmap, mod->perm_map[sclassi], in permission_copy_callback()
194 mod->perm_map_len[sclassi] * sizeof(*newmap)); in permission_copy_callback()
195 free(mod->perm_map[sclassi]); in permission_copy_callback()
196 mod->perm_map[sclassi] = newmap; in permission_copy_callback()
197 mod->perm_map_len[sclassi] = perm->s.value; in permission_copy_callback()
199 mod->perm_map[sclassi][perm->s.value - 1] = dest_perm->s.value; in permission_copy_callback()