From: Pjotr Kourzanov <peter.kourzanov@xs4all.nl>
To: Dan Sturtevant <sturtx@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: fork/clone external to a process?
Date: Wed, 22 Dec 2004 00:26:32 +0100 [thread overview]
Message-ID: <41C8B128.7010201@xs4all.nl> (raw)
In-Reply-To: <7d92433304122107491b8b624a@mail.gmail.com>
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/
>
next prev parent reply other threads:[~2004-12-21 23:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-21 15:49 fork/clone external to a process? Dan Sturtevant
2004-12-21 23:26 ` Pjotr Kourzanov [this message]
2004-12-22 0:36 ` Dan Sturtevant
[not found] ` <41C936AF.7060707@xs4all.nl>
2004-12-22 13:50 ` Dan Sturtevant
2004-12-25 22:26 ` Pavel Machek
2005-02-24 0:01 ` Dan Sturtevant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41C8B128.7010201@xs4all.nl \
--to=peter.kourzanov@xs4all.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=sturtx@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox