From owner-freebsd-hackers Tue Jun 22 8: 2:36 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 59CC0152D3 for ; Tue, 22 Jun 1999 08:02:10 -0700 (PDT) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.02 #1) id 10wS3T-0000a4-00; Tue, 22 Jun 1999 17:01:43 +0200 From: Sheldon Hearn To: Ben Rosengart Cc: John Baldwin , freebsd-hackers@FreeBSD.ORG, David Malone , John Baldwin Subject: Re: Inetd and wrapping. In-reply-to: Your message of "Tue, 22 Jun 1999 14:53:28 GMT." Date: Tue, 22 Jun 1999 17:01:43 +0200 Message-ID: <2235.930063703@axl.noc.iafrica.com> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. I'm not really opposed to having command-line options for per-case exclusions -- I'm just opposed to doing the work myself if it doesn't gain us anything significant. :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message