Received: from jazzhorn.ncsc.mil (mummy.ncsc.mil [144.51.88.129]) by tycho.ncsc.mil (8.12.8/8.12.8) with ESMTP id k17BxMXf021467 for ; Tue, 7 Feb 2006 06:59:23 -0500 (EST) Received: from smtp.sws.net.au (jazzhorn.ncsc.mil [144.51.5.9]) by jazzhorn.ncsc.mil (8.12.10/8.12.10) with ESMTP id k17Bw0xN007486 for ; Tue, 7 Feb 2006 11:58:01 GMT From: Russell Coker Reply-To: russell@coker.com.au To: "Christopher J. PeBenito" , James Morris Subject: Re: MCS policy patch Date: Tue, 7 Feb 2006 22:59:06 +1100 Cc: SELinux List , Daniel Walsh References: <200602040118.10784.russell@coker.com.au> <1139267067.13925.27.camel@sgc> <200602071419.13087.russell@coker.com.au> In-Reply-To: <200602071419.13087.russell@coker.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Message-Id: <200602072259.16871.russell@coker.com.au> Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov My previous message was unclear. On Tuesday 07 February 2006 14:19, Russell Coker wrote: > > We can't have these hardcoded types. What we need is similar to how the > > mls constraints are handled. Attributes and interfaces need to be added > > to the mls module, then the above domains would use the interfaces to > > gain these attributes. > > Actually I never planned to have it like that. But the lack of support for > range transition statements outside the base module prevents me from doing > what I want. What I want to do is to have the init scripts run at SystemHigh and have a range transition for every daemon that doesn't need such access (most daemons), doing this without range_transition in all modules would be a gross hack. Also I am considering having some daemons such as Postfix run with some processes at SystemHigh and some at s0. Another thing, I think that a default user login should not have SystemHigh, maybe s0:c0.c127. The reason is that the administrator will add accounts, have a running system with files labelled on disk and in backup storage, and THEN they will decide that they want one particular account to have more access than the default. This will be a major PITA if every account already has all the categories. If we make the default level be s0:c0.c127 then that still gives plenty of levels to choose from (it shouldn't restrict real use of the system) and it allows adding new users with more access than the default. This one only just occurred to me, but it's something that I think is quite important to be in FC5T3 to avoid the current situation propagating too far. -- http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.