kernel: Better support for detached processes.

Call setsid() in the new process to create a new Unix process group
when CREATE_NEW_PROCESS_GROUP, CREATE_NEW_CONSOLE, or DETACHED_PROCESS
are specified.
1 file changed