nuttx/binfmt
hujun5 6f4cb9f457 sched/task: move kernel stack allocation to task initialization
Move kernel stack allocation from exec_module() (binary format execution) to
nxtask_init() (task initialization) with proper type checking. Add conditional
check to allocate kernel stack only for non-kernel tasks (ttype != TCB_FLAG_TTYPE_KERNEL).
Enables kernel stack allocation for both exec'd tasks and regular task_create()
calls in protected builds, allowing userspace to create tasks with proper kernel
stack isolation.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-01-18 23:05:11 +08:00
..
libnxflat
binfmt.h
binfmt_copyactions.c
binfmt_copyargv.c
binfmt_dumpmodule.c
binfmt_exec.c binfmt: refactor loadable module cleanup mechanism 2026-01-18 08:30:15 -03:00
binfmt_execmodule.c sched/task: move kernel stack allocation to task initialization 2026-01-18 23:05:11 +08:00
binfmt_execsymtab.c
binfmt_exit.c
binfmt_globals.c
binfmt_initialize.c
binfmt_loadmodule.c
binfmt_register.c
binfmt_unloadmodule.c
binfmt_unregister.c
builtin.c
CMakeLists.txt
elf.c
Kconfig
Makefile
nxflat.c