Linux Process Management(13) > vfork() as: > clone (CLONE_VFORK CLONE_VM SIGCHLD, 0); > >- clone() Flags: > > Flag Meaning > ============== ====================================================== > CLONE_CLEARTID clear the TID > CLONE_DETACHED the parent does not want a SIGCHLD signal send on exit > CLONE_FILES parent and child share open files > CLONE_FS parent and child share filesystem information > CLONE_IDLETASK set PID to zero (only used by the idle tasks) > CLONE_NEWNS create a new namespace for the child > CLONE_PARENT child is to have same parent as its parent > CLONE_PTRACE continue tracing child > CLONE_SETTID write the PID back to user-space > CLONE_SETTLS create a new TLS for the child > CLONE_SIGHAND parent and child share signal handlers > CLONE_SYSVSEM parent and child share System V SEM_UNDO semantics > CLONE_THREAD parent and child aew in the same thread group > CLONE_VFORK vfork() was used and the parent will sleep until the > child wakes it > CLONE_VM parent and child share address space > ============== ====================================================== > > > 11. P.26 Kernel Threads > 1. Kernel Threads is often useful for the kernel to perform > some operations in the background -- standard processes