git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@60982
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
return;
}
unlink(buf);
+
+ eina_mmap_safety_enabled_set(EINA_TRUE);
+
dst = mmap(NULL, size,
PROT_READ | PROT_WRITE,
MAP_SHARED,
free(m);
return NULL;
}
+
+ eina_mmap_safety_enabled_set(EINA_TRUE);
+
m->data = mmap(NULL, m->size, PROT_READ | PROT_WRITE, MAP_SHARED, m->fd, 0);
if (m->data == MAP_FAILED)
{
{
void *addr;
+ eina_mmap_safety_enabled_set(EINA_TRUE);
+
// mmap
addr = mmap(NULL, w * h * sizeof(DATA32),
PROT_READ, MAP_SHARED, fd, 0);