From 71d68f1386536a633374f1c4963278953799d2a2 Mon Sep 17 00:00:00 2001 From: Gerard Wagener Date: Tue, 12 Jan 2010 18:14:01 +0100 Subject: [PATCH] Found the place where clones can be traced --- arch/um/sys-i386/syscalls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/um/sys-i386/syscalls.c b/arch/um/sys-i386/syscalls.c index 857ca0b3bde..c1506559b1e 100644 --- a/arch/um/sys-i386/syscalls.c +++ b/arch/um/sys-i386/syscalls.c @@ -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; }