nuttx/sched
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
..
clock sched/clock: Remove CLOCK_MONOTONIC option from Kconfig 2022-02-23 01:21:26 +08:00
environ env_dup: Fix copying of env between address environments 2022-04-21 18:38:37 +08:00
group env_dup: Fix copying of env between address environments 2022-04-21 18:38:37 +08:00
init env_dup: Fix copying of env between address environments 2022-04-21 18:38:37 +08:00
irq sched/irq: Fix array overrun in coverity check 2022-04-08 21:02:13 -03:00
module mod_insmod: fix coverity warning 2022-04-02 20:09:42 +08:00
mqueue pid_t: unify usage of special task IDs 2022-03-22 21:22:32 +08:00
paging Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
pthread sched/pthread_create:fix bug,delete data_sem 2022-04-14 01:42:16 +08:00
sched sched/note: correct flatten format 2022-04-08 02:41:25 +08:00
semaphore os init_state: add new state OSINIT_IDLELOOP 2022-02-23 22:05:37 +09:00
signal sigact: get free sigact from freelist always successful 2022-04-01 13:38:29 +08:00
task env_dup: Fix copying of env between address environments 2022-04-21 18:38:37 +08:00
timer sched/timer: remove unused variable 2022-02-27 12:27:35 -05:00
wdog sched/wdog: Remove wd_initialize which isn't really used anymore 2022-03-12 15:06:39 -03:00
wqueue semaphore: fix usage of NXSEM_INITIALIZER 2022-04-17 11:38:34 +08:00
Kconfig sched/Kconfig: Remove CPULOAD_ENTROPY depend on CPULOAD_ONESHOT 2022-03-18 12:43:06 +02:00
Makefile style/Makefile: remove unnecessary trailing whitespace 2020-11-28 12:20:30 +01:00