From owner-freebsd-fs Fri Mar 16 7:45:11 2001 Delivered-To: freebsd-fs@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id 477B037B719 for ; Fri, 16 Mar 2001 07:45:07 -0800 (PST) (envelope-from roam@orbitel.bg) Received: (qmail 3455 invoked by uid 1000); 16 Mar 2001 15:44:24 -0000 Date: Fri, 16 Mar 2001 17:44:24 +0200 From: Peter Pentchev To: Tony Finch Cc: Duncan Barclay , Kris Kennaway , hackers@FreeBSD.org, fs@FreeBSD.org Subject: Re: httpfs Message-ID: <20010316174424.A428@ringworld.oblivion.bg> Mail-Followup-To: Tony Finch , Duncan Barclay , Kris Kennaway , hackers@FreeBSD.org, fs@FreeBSD.org References: <20010310031515.A8998@mollari.cthul.hu> <20010315095533.C12432@ringworld.oblivion.bg> <000d01c0ad3c$0ed83fb0$d26020c2@Cadence.COM> <000d01c0ad3c$0ed83fb0$d26020c2@Cadence.COM>; <20010315124244.A442@ringworld.oblivion.bg> <20010316054649.F385@hand.dotat.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010316054649.F385@hand.dotat.at>; from dot@dotat.at on Fri, Mar 16, 2001 at 05:46:49AM +0000 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Mar 16, 2001 at 05:46:49AM +0000, Tony Finch wrote: > Peter Pentchev wrote: > > > >What I did was implement an 'exec' portal method, which executes a program > >with given arguments, obtained from the path components and portal.conf > >rules, and returns a - basically read-only - descriptor connected to its > >stdout and stderr. Kind of simple, pipe(), fork(), dup2(), exec().. > > Nice. Is there any reason not to add some bidirectional support by > connecting the descriptor to stdin as well? There was at the time - socketpair(2) had totally slipped my mind ;) G'luck, Peter -- This sentence contradicts itself - or rather - well, no, actually it doesn't! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message