lkml.org 
[lkml]   [2004]   [Dec]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: fork/clone external to a process?
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@vger.kernel.org
> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.090 / U:0.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site