Fork and Exec a process within the kernel

From: Eric Masson
Date: Mon Aug 09 2004 - 16:13:00 EST


Hi all,

I know it's not the best approach to the problem I'm attempting to solve, but I'm attempting to fork a thread and exec a process from inside the kernel. I tried creating a kernel thread and attempted to exec from there. I actually make it into my child thread, but the exec doesn't appear to do anything. Any ideas how to do this.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/