Subject: Re: [PATCH] SELinux: allow userspace to read policy back out of the kernel From: Stephen Smalley To: Eric Paris Cc: selinux@tycho.nsa.gov, jmorris@namei.org In-Reply-To: <20100803181900.30719.37674.stgit@paris.rdu.redhat.com> References: <20100803181900.30719.37674.stgit@paris.rdu.redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Wed, 04 Aug 2010 14:49:03 -0400 Message-ID: <1280947743.21957.210.camel@moss-pluto.epoch.ncsc.mil> Mime-Version: 1.0 Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov On Tue, 2010-08-03 at 14:19 -0400, Eric Paris wrote: > There is interest in being able to see what the actual policy is that was > loaded into the kernel. The patch creates a new selinuxfs file > /selinux/policy which can be read by userspace. The actual policy that is > loaded into the kernel will be written back out to userspace. > > Signed-off-by: Eric Paris Oh, and we still need to change the rangetr_cmp definition to deterministically order the range transition list so that we can get a consistent result. -- Stephen Smalley 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.