mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 03:06:10 +00:00
Found the place where clones can be traced
This commit is contained in:
parent
165804ff13
commit
71d68f1386
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
/*
|
||||
/*
|
||||
* Copyright (C) 2000 - 2003 Jeff Dike (jdike@addtoit.com)
|
||||
* Licensed under the GPL
|
||||
*/
|
||||
|
@ -81,6 +81,7 @@ long sys_clone(unsigned long clone_flags, unsigned long newsp,
|
|||
current->thread.forking = 1;
|
||||
ret = do_fork(clone_flags, newsp, ¤t->thread.regs, 0, parent_tid,
|
||||
child_tid);
|
||||
printk("Process %d created %d\n",current->pid,ret);
|
||||
current->thread.forking = 0;
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue