clarification - kernel programming

From: Muthian Sivathanu (muthian@mailcity.com)
Date: Thu Mar 02 2000 - 07:26:33 EST


I would like to create a separate process (given the filename of the binary), WITHIN A SYSTEM CALL. The new process created should not affect the current running process in whose context the system call is executing.
I tried with the do_fork function followed by the do_execve, but making the exec happen on behalf of the process just created would mean forcing a context switch to that process before the exec, which seems quite problematic. Can anybody propose a solution ?

Thanks in advance,
S.Muthian, Chennai, India.

MailCity. Secure Email Anywhere, Anytime!
http://www.mailcity.com

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



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:12 EST