Re: fork/clone external to a process?
From: Pjotr Kourzanov
Date: Tue Dec 21 2004 - 18:29:03 EST
Dan Sturtevant wrote:
Hi,
Is there any clean way to fork a process from outside the process itself?
I'm running a commercial application that I only have a binary copy
of. All the usual Posix fork stuff only works from inside the running
process.
Have you tried playing with LD_PRELOAD (libc.so hack)?
Is there any reason it's not possible to do so? Obviously threading
and file desciptors open a whole can of worms, but in the base case,
is it possible?
Thanks in advance, and sorry if it's a stupid question.
Dan Sturtevant
-
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/
-
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/