SELinux: export object class and permission definitions
authorChad Sellers <csellers@tresys.com>
Mon, 6 Nov 2006 17:38:16 +0000 (12:38 -0500)
committerJames Morris <jmorris@namei.org>
Tue, 28 Nov 2006 17:04:36 +0000 (12:04 -0500)
commit5c45899879e8caadb78f04c9c639f4c2025b9f00
treeee47228ccb816e523ac1051cfe41927059bc5ef9
parent5a64d4438ed1e759ccd30d9e90842bf360f19298
SELinux: export object class and permission definitions

Moves the definition of the 3 structs containing object class and
permission definitions from avc.c to avc_ss.h so that the security
server can access them for validation on policy load. This also adds
a new struct type, defined_classes_perms_t, suitable for allowing the
security server to access these data structures from the avc.

Signed-off-by: Chad Sellers <csellers@tresys.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/avc.c
security/selinux/include/avc_ss.h