arch/sim: dataheap should disable exec permission
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
bdcc325e1f
commit
904bb7a6ea
|
@ -108,7 +108,7 @@ void *up_dataheap_memalign(size_t align, size_t size)
|
|||
if (g_dataheap == NULL)
|
||||
{
|
||||
g_dataheap = mm_initialize("dataheap",
|
||||
host_allocheap(SIM_HEAP_SIZE, true),
|
||||
host_allocheap(SIM_HEAP_SIZE, false),
|
||||
SIM_HEAP_SIZE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue