Subject: Re: [PATCH 1/2] selinux: place open in the common file perms From: James Carter Reply-To: jwcart2@tycho.nsa.gov To: Stephen Smalley Cc: "Christopher J. PeBenito" , Eric Paris , selinux@tycho.nsa.gov, jmorris@namei.org In-Reply-To: <1271162088.9577.1.camel@moss-pluto.epoch.ncsc.mil> References: <20100412231947.21118.77411.stgit@paris.rdu.redhat.com> <1271161756.2815.211.camel@gorn.columbia.tresys.com> <1271162088.9577.1.camel@moss-pluto.epoch.ncsc.mil> Content-Type: text/plain; charset="UTF-8" Date: Tue, 13 Apr 2010 08:45:30 -0400 Message-ID: <1271162730.23694.3.camel@localhost> Mime-Version: 1.0 Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov On Tue, 2010-04-13 at 08:34 -0400, Stephen Smalley wrote: > On Tue, 2010-04-13 at 08:29 -0400, Christopher J. PeBenito wrote: > > On Mon, 2010-04-12 at 19:19 -0400, Eric Paris wrote: > > > kernel can dynamically remap perms. Drop the open lookup table and put open > > > in the common file perms. > > > > So I need to move open into the common perms in the policy? Thats going > > to be a nasty compatibility problem for older systems. > > No, you don't have to change anything in the policy - that's the point > of the dynamic class/perm discovery support in the kernel. The kernel > will map its notion of open permission to the policy values at policy > load time and will then map access vectors accordingly. > So do common permissions even need to be defined in a policy? -- James Carter National Security Agency -- 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.