[PATCH] SELINUX: add policyvers to selinuxfs
commitaa9a90bf00d9d80a21eb906afdb590b765246f61
authorAndrew Morton <akpm@osdl.org>
Thu, 16 Oct 2003 00:30:28 +0000 (15 17:30 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 16 Oct 2003 00:30:28 +0000 (15 17:30 -0700)
tree3b7587cbf479b04460de3fcf8362c99f9c975251
parent517251c16ffb89b7550137e4ffc7aaed57c118e6
[PATCH] SELINUX: add policyvers to selinuxfs

From: James Morris <jmorris@redhat.com>

This patch adds a file to the root selinuxfs directory which returns the
security policy version associated with the currently running kernel.  Its
purpose is to allow scripts to determine which version of policy to load.
security/selinux/include/security.h
security/selinux/selinuxfs.c
security/selinux/ss/policydb.h