The CLONE_KERNEL flag is defined as:
#define CLONE_KERNEL    (CLONE_FS | CLONE_FILES | CLONE_SIGHAND)

So as I understand it, when the CLONE_KERNEL flag is passed at the
time of creating a kernel thread, the copy_process function copies the
file descriptors and signal handlers from the currently running
usermode process (denoted by the current macro) if that was running at
the time the kernel thread was created?

Thanks,
-Joel

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to