Received: from msux-gh1-uea01.nsa.gov (msux-gh1-uea01.nsa.gov [63.239.67.1]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with ESMTP id n93FDJoP007953 for ; Sat, 3 Oct 2009 11:13:19 -0400 Received: from QMTA04.westchester.pa.mail.comcast.net (localhost [127.0.0.1]) by msux-gh1-uea01.nsa.gov (8.12.10/8.12.10) with ESMTP id n93FCVMi029746 for ; Sat, 3 Oct 2009 15:12:31 GMT Subject: Re: [PATCH v4 2/2] selinux: generate flask headers during kernel build From: Chris PeBenito To: Stephen Smalley Cc: James Morris , KaiGai Kohei , selinux@tycho.nsa.gov, Eric Paris , Paul Moore , Joshua Brindle In-Reply-To: <1254400360.30591.105.camel@moss-pluto.epoch.ncsc.mil> References: <1254244173.2252.138.camel@moss-pluto.epoch.ncsc.mil> <1254244459.2252.143.camel@moss-pluto.epoch.ncsc.mil> <1254247383.2252.192.camel@moss-pluto.epoch.ncsc.mil> <4AC2C32D.3010405@ak.jp.nec.com> <1254314361.30591.11.camel@moss-pluto.epoch.ncsc.mil> <1254315215.30591.18.camel@moss-pluto.epoch.ncsc.mil> <1254400360.30591.105.camel@moss-pluto.epoch.ncsc.mil> Content-Type: text/plain Date: Fri, 02 Oct 2009 20:33:45 -0400 Message-Id: <1254530025.12997.4.camel@defiant.pebenito.net> Mime-Version: 1.0 Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov On Thu, 2009-10-01 at 08:32 -0400, Stephen Smalley wrote: > On Thu, 2009-10-01 at 07:46 +1000, James Morris wrote: > > On Wed, 30 Sep 2009, Stephen Smalley wrote: > > > > > Does anyone think we still need to support policy versions < > > > POLICYDB_VERSION_NLCLASS (18)? If not, then we can just drop the > > > dynamic remapping of netlink classes in the security server: > > > if (policydb_loaded_version < POLICYDB_VERSION_NLCLASS) > > > if (tclass >= SECCLASS_NETLINK_ROUTE_SOCKET && > > > tclass <= SECCLASS_NETLINK_DNRT_SOCKET) > > > tclass = SECCLASS_NETLINK_SOCKET; > > > > > > I think RHEL4 shipped with policy.18. > > > > Was any distro shipped with a lower policy version? If not, then I think > > it should be ok. > > policy.18 was first supported by Linux 2.6.8. > I think the only distro to ship with SELinux enabled and Linux < 2.6.8 > would have been Fedora Core 2, which is long since EOL'd and even akpm > doesn't run it anymore. Not sure about Hardened Gentoo - Chris and/or > Joshua? No objection here. Gentoo has several kernels, but none that old. -- Chris PeBenito Developer, Hardened Gentoo Linux Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE6AF9243 Key fingerprint = B0E6 877A 883F A57A 8E6A CB00 BC8E E42D E6AF 9243 -- 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.