incubator-nuttx/sched/init
Ville Juven 4c1b66246d env_dup: Fix copying of env between address environments
If address environments are in use, it is not possible to simply
memcpy from from one process to another. The current implementation
of env_dup does precisely this and thus, it fails at once when it is
attempted between two user processes.

The solution is to use the kernel's heap as an intermediate buffer.
This is a simple, effective and common way to do a fork().

Obviously this is not needed for kernel processes.
2022-04-21 18:38:37 +08:00
..
Make.defs
init.h init: move USERMAIN_XX out of INIT_ENTRYPOINT 2021-12-24 08:23:30 -06:00
nx_bringup.c env_dup: Fix copying of env between address environments 2022-04-21 18:38:37 +08:00
nx_smpstart.c
nx_start.c sched/init: drivers_initialize() should be late than up_initialize() 2022-04-12 07:51:34 +09:00