From 904bb7a6ea3cfbeba7bc00090c62f0a19b375d06 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Mon, 11 Mar 2024 20:34:47 +0800 Subject: [PATCH] arch/sim: dataheap should disable exec permission Signed-off-by: Xiang Xiao --- arch/sim/src/sim/sim_sectionheap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sim/src/sim/sim_sectionheap.c b/arch/sim/src/sim/sim_sectionheap.c index 411190b51b..c23f98bebf 100644 --- a/arch/sim/src/sim/sim_sectionheap.c +++ b/arch/sim/src/sim/sim_sectionheap.c @@ -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); }