linux-stable-rt/security/selinux/include
Christopher J. PeBenito e47c8fc582 selinux: add selinuxfs structure for object class discovery
The structure is as follows (relative to selinuxfs root):

/class/file/index
/class/file/perms/read
/class/file/perms/write
...

Each class is allocated 33 inodes, 1 for the class index and 32 for
permissions.  Relative to SEL_CLASS_INO_OFFSET, the inode of the index file
DIV 33 is the class number.  The inode of the permission file % 33 is the
index of the permission for that class.

Signed-off-by: Christopher J. PeBenito <cpebenito@tresys.com>
Signed-off-by: James Morris <jmorris@namei.org>
2007-07-11 22:52:20 -04:00
..
av_inherit.h
av_perm_to_string.h selinux: remove userland security class and permission definitions 2007-04-26 01:35:58 -04:00
av_permissions.h selinux: remove userland security class and permission definitions 2007-04-26 01:35:58 -04:00
avc.h
avc_ss.h
class_to_string.h selinux: remove userland security class and permission definitions 2007-04-26 01:35:58 -04:00
common_perm_to_string.h
conditional.h
flask.h selinux: remove userland security class and permission definitions 2007-04-26 01:35:58 -04:00
initial_sid_to_string.h
netif.h
netlabel.h
objsec.h
security.h selinux: add selinuxfs structure for object class discovery 2007-07-11 22:52:20 -04:00
xfrm.h