lin-club  

Re: Detaching and Attaching a Process [was Re: Project Proposal ]

mulix
Sun, 05 Aug 2001 04:59:51 -0700

On Sun, 5 Aug 2001, Shlomi Fish wrote:

> Yes, but the question is if it is possible that a process will redirect
> the stdin/stdout/stderr of another process after the process is running?
> Guy, is there a predefined API for this, or will it require some kernel
> hacking? If such an API exists, is it Linux specific, or is
> something standard?

no predefined api.
no kernel hacking necessary (i think).

but it will most definitely be a hack. and a cool one, too ;)

for more information, read the following linux-il thread:
http://plasma-gate.weizmann.ac.il/Linux/maillists/01/06/msg00217.html

-- 
mulix
http://www.advogato.com/person/mulix

linux/reboot.h: #define LINUX_REBOOT_MAGIC1 0xfee1dead