This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch releases/12.7 in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 42ee317eab505792f6cebb7b72e46322660d2af0 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); }
