nuttx/mm/umm_heap
leisiji dd86c92405 mm/umm_heap: disable KASAN for user-space heap in kernel build
When CONFIG_BUILD_KERNEL is enabled, user-space and kernel-space have
separate address spaces. User-space addresses passed via syscalls
(e.g., open) are registered by KASAN but should not be monitored,
as they are not kernel heap allocations. This causes KASAN to
report false positives on user-space pointers accessed through
system calls.

Mark the user-space heap with nokasan=true so KASAN skips checking
its address range, consistent with how rptun already handles this.

Signed-off-by: leisiji <2265215145@qq.com>
2026-07-03 07:51:11 +02:00
..
CMakeLists.txt mm/umm: Allow customizing the implementation of umm heap 2026-01-27 21:27:53 +08:00
Make.defs mm/umm: Allow customizing the implementation of umm heap 2026-01-27 21:27:53 +08:00
umm_addregion.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
umm_brkaddr.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
umm_calloc.c mm/: remove reference to non-existent readme 2025-10-11 17:07:51 -04:00
umm_checkcorruption.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
umm_extend.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
umm_free.c mm/: remove reference to non-existent readme 2025-10-11 17:07:51 -04:00
umm_globals.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
umm_heap.h userspace: Exclude nuttx/arch.h 2024-11-01 16:59:37 +08:00
umm_heapmember.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
umm_initialize.c mm/umm_heap: disable KASAN for user-space heap in kernel build 2026-07-03 07:51:11 +02:00
umm_mallinfo.c mm: migrate to SPDX identifier 2024-09-13 08:49:05 +08:00
umm_malloc.c mm/: remove reference to non-existent readme 2025-10-11 17:07:51 -04:00
umm_malloc_size.c mm/: remove reference to non-existent readme 2025-10-11 17:07:51 -04:00
umm_memalign.c mm/: remove reference to non-existent readme 2025-10-11 17:07:51 -04:00
umm_memdump.c mm:use Kconfig to control sequence number to save memory 2025-12-20 09:47:22 -03:00
umm_realloc.c mm/: remove reference to non-existent readme 2025-10-11 17:07:51 -04:00
umm_sbrk.c userspace: Exclude nuttx/arch.h 2024-11-01 16:59:37 +08:00
umm_zalloc.c mm/: remove reference to non-existent readme 2025-10-11 17:07:51 -04:00