Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 1999 15:02:42 +0000 (GMT)
From:      Ben Rosengart <ben@skunk.org>
To:        Sheldon Hearn <sheldonh@uunet.co.za>
Cc:        John Baldwin <jobaldwi@vt.edu>, freebsd-hackers@FreeBSD.ORG, David Malone <dwmalone@maths.tcd.ie>, John Baldwin <jobaldwi@smtp2.erols.com>
Subject:   Re: Inetd and wrapping. 
Message-ID:  <Pine.BSF.4.05.9906221502030.15693-100000@penelope.skunk.org>
In-Reply-To: <2235.930063703@axl.noc.iafrica.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Jun 1999, Sheldon Hearn wrote:

> On Tue, 22 Jun 1999 14:53:28 GMT, Ben Rosengart wrote:
> 
> > But if you can turn off wrapping, you can save a fork()/exec() per
> > connection.
> 
> The only exec is an execv() at line 740 of inetd.c, which launches the
> program that will service a request. It's done irrespective of wrapping.
> So you can save a fork, not an exec. Forks are cheap.

Oh, duh.  I was still thinking in terms of tcpd, not libwrap.

--
 Ben

UNIX Systems Engineer, Skunk Group
StarMedia Network, Inc.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9906221502030.15693-100000>