arch/sim: dataheap should disable exec permission

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2024-03-11 20:34:47 +08:00 committed by Xiang Xiao
parent bdcc325e1f
commit 904bb7a6ea
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ void *up_dataheap_memalign(size_t align, size_t size)
if (g_dataheap == NULL) if (g_dataheap == NULL)
{ {
g_dataheap = mm_initialize("dataheap", g_dataheap = mm_initialize("dataheap",
host_allocheap(SIM_HEAP_SIZE, true), host_allocheap(SIM_HEAP_SIZE, false),
SIM_HEAP_SIZE); SIM_HEAP_SIZE);
} }