6047a9fe14
Two things need to be done when vfork'ing: - Must attach to parent's address environment (the addrenv is shared) - Must allocate a kernel stack (where would the register context go otherwise) Note that this code assumes the address environment is shared, since we don't support fork() which would _clone_ the address environment instead. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
exit.c | ||
Make.defs | ||
spawn.h | ||
task_activate.c | ||
task_cancelpt.c | ||
task_create.c | ||
task_delete.c | ||
task_execve.c | ||
task_exit.c | ||
task_exithook.c | ||
task_fork.c | ||
task_getgroup.c | ||
task_getpid.c | ||
task_getppid.c | ||
task_gettid.c | ||
task_init.c | ||
task_join.c | ||
task_posixspawn.c | ||
task_prctl.c | ||
task_recover.c | ||
task_reparent.c | ||
task_restart.c | ||
task_setup.c | ||
task_spawn.c | ||
task_spawnparms.c | ||
task_start.c | ||
task_starthook.c | ||
task_terminate.c | ||
task.h |