diff --git a/src/compartment.c b/src/compartment.c index e632f57..d5f1942 100644 --- a/src/compartment.c +++ b/src/compartment.c @@ -243,7 +243,6 @@ comp_map(struct Compartment *to_map) if (to_map->libs[i]->tls_data_size != 0) { assert(to_map->libs[i]->tls_sec_addr); - // TODO why sizeof(void*) ? memcpy((char *) to_map->libs_tls_sects->region_start + tls_allocd, to_map->libs[i]->tls_sec_addr, to_map->libs[i]->tls_data_size); tls_allocd += to_map->libs[i]->tls_sec_size;