On Thu, Mar 15, 2007 at 10:29:28PM +0800, Krishnappa Abhijith-A21204 wrote:
> Can pls let me know why current->thread.forking = 1 was done before
> calling do_fork() and then reset after that ?
If you look at copy_thread, you will see that there is different
treatment for kernel threads and proces
Hi,
SORRY for bugging you guys so much...
Regarding fork() implementation in UML
I was going through the below code
long sys_fork(void)
{
long ret;
current->thread.forking = 1;
ret = do_fork(SIGCHLD, UPT_SP(¤t->thread.regs.regs),
¤t->thread.regs, 0, NULL, NULL);
curr