This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 904bb7a6ea3cfbeba7bc00090c62f0a19b375d06 Author: Xiang Xiao <[email protected]> AuthorDate: Mon Mar 11 20:34:47 2024 +0800 arch/sim: dataheap should disable exec permission Signed-off-by: Xiang Xiao <[email protected]> --- 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); }
