arch/sim: dataheap should disable exec permission
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
593768e11e
commit
42ee317eab
@ -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
Block a user