From owner-freebsd-fs Fri Mar 16 7:41:19 2001 Delivered-To: freebsd-fs@freebsd.org Received: from hand.dotat.at (inch.demon.co.uk [194.222.223.128]) by hub.freebsd.org (Postfix) with ESMTP id 7294B37B718; Fri, 16 Mar 2001 07:41:15 -0800 (PST) (envelope-from fanf@dotat.at) Received: from fanf by hand.dotat.at with local (Exim 3.20 #3) id 14dn4b-0000AF-00; Fri, 16 Mar 2001 05:46:49 +0000 Date: Fri, 16 Mar 2001 05:46:49 +0000 From: Tony Finch To: Peter Pentchev Cc: Duncan Barclay , Kris Kennaway , hackers@FreeBSD.org, fs@FreeBSD.org Subject: Re: httpfs Message-ID: <20010316054649.F385@hand.dotat.at> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010315124244.A442@ringworld.oblivion.bg> Organization: Covalent Technologies, Inc Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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? Tony. -- f.a.n.finch fanf@covalent.net dot@dotat.at To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message