selinux: generate flask headers during kernel build
authorStephen Smalley <sds@tycho.nsa.gov>
Wed, 30 Sep 2009 17:41:02 +0000 (13:41 -0400)
committerJames Morris <jmorris@namei.org>
Wed, 7 Oct 2009 10:56:44 +0000 (21:56 +1100)
Add a simple utility (scripts/selinux/genheaders) and invoke it to
generate the kernel-private class and permission indices in flask.h
and av_permissions.h automatically during the kernel build from the
security class mapping definitions in classmap.h.  Adding new kernel
classes and permissions can then be done just by adding them to classmap.h.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>

No differences found