httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Linux 2.3.99/2.4 Heads Up
Date Wed, 22 Mar 2000 01:26:49 GMT
That was one method, yeah... I still have a copy of the _ipc.c file
for that somewhere.... :)

Dean Gaudet wrote:
> 
> On Tue, 21 Mar 2000, Jim Jagielski wrote:
> 
> > Martin Pool wrote:
> > > 
> > > 
> > > On Tue, 21 Mar 2000, Jim Jagielski wrote:
> > > 
> > > > I'm tending to think that no one should be using SysV IPC. Shared
> > > > mem is pretty good, but the rest of the SysV stuff is amazingly
> > > > strange.
> > > 
> > > It certainly is strange.  Is there any way to pass file descriptors
> > > between processes aside from SysV IPC (and inheritance)?
> > > 
> > 
> > Portably? It's tough. That's one of the things NCSA HTTPd was doing,
> > so there might be some hints there. cmsg works for BSDish systems.
> > SysV uses ioctl with I_SENDFD. Pretty hairy stuff from what I
> > recall.
> 
> oh yeah, the NCSA HTTPd method was to open("/dev/$ppid/fd/$foo") in the
> child.
> 
> Dean
> 


-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
                "Are you suggesting coconuts migrate??"

Mime
View raw message