From owner-freebsd-hackers Fri Nov 14 01:01:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id BAA13532 for hackers-outgoing; Fri, 14 Nov 1997 01:01:02 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id BAA13521 for ; Fri, 14 Nov 1997 01:00:59 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id AAA05650; Fri, 14 Nov 1997 00:55:47 -0800 (PST) Received: from UNKNOWN(), claiming to be "current1.whistle.com" via SMTP by alpo.whistle.com, id smtpd005646; Fri Nov 14 00:55:43 1997 Message-ID: <346C119A.ABD322C@whistle.com> Date: Fri, 14 Nov 1997 00:53:46 -0800 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Terry Lambert CC: sos@FreeBSD.dk, hackers@FreeBSD.ORG Subject: Re: SUID-Directories patch References: <199711140118.SAA18982@usr08.primenet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Terry Lambert wrote: > (expecially the kernel vs. exported flags stuff that it > requires to make it work, which frees up 13 bits(!) in the > external flags for yet more mount options (like the rather less > useful -- but still useful -- symbolic link defeating options). actually terry I already snuck those changes into 3.0 as it wasn't really that much of a change. They are not really needed in 2.2, as there are still a couple of free bits and I doubt that 2.2.x will use them all. (if we do then we can do it then). In 3.0 I actually only freed up 3 bits, bringing it to a total of 8 bits free. (5 were recently freed, but I don't want to re-use them as old copies of 'mount' may get upset if I do) There are a couple more that should move, I think, but I'm not sure about them. I didn't notice that they were freed when I posted my first 'out of bits' message, only that the 3 free bits in 2.2 were all used up. Sorry about misleading you. I should have looked better. The total score is, (from memory) 19 exported visible bona-fide bits (including 4 internal status bits) leaving 13. made up of: 1 exportable but invisible (no idea why) 4 command modifiers 8 free, all in 0x0FF00000 I THINK that two of the internal status bits (MNT_LOCAL & MNT_ROOTFS) need not be exported and should also shift. (I've never seen the root one set and do we need to be told that wd0a is local?) (well ok, maybe they can stay.