From owner-freebsd-hackers Sun Dec 9 18:25: 3 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id 9A39B37B416; Sun, 9 Dec 2001 18:25:01 -0800 (PST) Received: from pool0370.cvx22-bradley.dialup.earthlink.net ([209.179.199.115] helo=mindspring.com) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16DG7i-0003ui-00; Sun, 09 Dec 2001 18:24:55 -0800 Message-ID: <3C141CFE.3346BDAF@mindspring.com> Date: Sun, 09 Dec 2001 18:25:02 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Dima Dorfman Cc: chris@FreeBSD.ORG, Igor M Podlesny , freebsd-hackers@FreeBSD.ORG Subject: Re: jail.c.patch (allowing to use hostnames when invoking jail(8)) References: <20011209191948.6AB703E3A@bazooka.trit.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This patch will break backward compatability with existing scripts. Since it is an easy matter to call inet_aton() on the buffer, and then call gethostbyname() only if inet_aton() returns INADDR_NONE (which would allow either a host name or an IP address to be used), please use this approach instead. This also implies minor modification to the usage message and the man page, but you are hacking them up anyway. Thanks, -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message