httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p.@sweng.stortek.com
Subject Re: Linux 2.3.99/2.4 Heads Up
Date Wed, 22 Mar 2000 05:25:20 GMT
In a recent note, Dean Gaudet said:

> Date: Tue, 21 Mar 2000 16:21:16 -0800 (PST)
> 
> > Martin Pool wrote:
> > > 
> > > It certainly is strange.  Is there any way to pass file descriptors
> > > between processes aside from SysV IPC (and inheritance)?
> 
> oh yeah, the NCSA HTTPd method was to open("/dev/$ppid/fd/$foo") in the
> child.
> 
Does this work on any OS other than Linux?  (And isn't it actually
/dev/proc/$ppid/fd/$foo?)  And how does the parent process create the
descriptor?  pipe()?

Are sockets not a solution?  Or is the objective to pass a handle to
an existing descriptor, not to create a new descriptor?

-- gil
-- 
StorageTek
INFORMATION made POWERFUL

Mime
View raw message