From owner-freebsd-stable Sat Oct 9 9: 6:59 1999 Delivered-To: freebsd-stable@freebsd.org Received: from gw.nectar.com (gw.nectar.com [209.98.143.44]) by hub.freebsd.org (Postfix) with ESMTP id A2F5214D3E for ; Sat, 9 Oct 1999 09:06:55 -0700 (PDT) (envelope-from nectar@nectar.com) Received: from bone.nectar.com (bone.nectar.com [10.0.0.105]) by gw.nectar.com (Postfix) with ESMTP id 5F421C006 for ; Sat, 9 Oct 1999 11:06:54 -0500 (CDT) Received: from bone.nectar.com (localhost [127.0.0.1]) by bone.nectar.com (Postfix) with ESMTP id 314441D87 for ; Sat, 9 Oct 1999 11:06:51 -0500 (CDT) X-Mailer: exmh version 2.0.2 2/24/98 X-PGP-RSAfprint: 00 F9 E6 A2 C5 4D 0A 76 26 8B 8B 57 73 D0 DE EE X-PGP-RSAkey: http://www.nectar.com/nectar-rsa.txt X-PGP-DSSfprint: AB2F 8D71 A4F4 467D 352E 8A41 5D79 22E4 71A2 8C73 X-PGP-DHfprint: 2D50 12E5 AB38 60BA AF4B 0778 7242 4460 1C32 F6B1 X-PGP-DH-DSSkey: http://www.nectar.com/nectar-dh-dss.txt From: Jacques Vidrine To: freebsd-stable@freebsd.org In-reply-to: <19991009100231S.nectar@nectar.com> References: <19991009100231S.nectar@nectar.com> Subject: Re: merging current's jail functionality to stable Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 09 Oct 1999 11:06:50 -0500 Message-Id: <19991009160651.314441D87@bone.nectar.com> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [[ replying to your own message is fun ]] On 9 October 1999 at 10:02, Jacques Vidrine wrote: [snip] > As I see it, there are these options: > = Damn the binary compatibility. Go ahead and commit it. > Inform any known vendors about the change and encourage > them to make the trivial updates needed. > = Wrap these changes with ``options JAIL''. There are over > 130 files that would need ``#ifdef JAIL'' as it is. This > could be reduced, but any way you slice it, a lot of pollutant > would have to be introduced. > = Don't commit it, it is too much trouble. > = Use magic on the 3rd-party KLDs so that calls of suser are > folded to suser_xxx. This can't be perfect, because we'll > lose the accounting info parameter, but it might be better > than breaking the binary. I forgot one more, which is probably the most desirable if there are a significant number of 3rd-party binaries to support: = Don't change suser, but bring in the rest of the changes needed for jail (add suser_xxx and update the 16 or so files that need the new semantics). This means that suser in -STABLE and -CURRENT are still different (as it is today), but it puts of breaking binary compatibility until 4.0-RELEASE. This didn't occur to me earlier, mostly because I would like the suser from -CURRENT to be merged into -STABLE. Strictly speaking, this isn't necessary to support jail. Jacques Vidrine / n@nectar.com / nectar@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message