kernel-hacking-2024-linux-s.../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 [SELinux]: Add support for DCCP 2006-12-02 21:22:24 -08:00
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 [PATCH] selinux endianness annotations 2006-12-04 19:32:44 -08:00
avc_ss.h SELinux: export object class and permission definitions 2006-11-28 12:04:36 -05:00
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 SELinux: rename selinux_netlabel.h to netlabel.h 2007-04-26 01:35:50 -04:00
objsec.h NetLabel: SELinux cleanups 2006-12-02 21:24:13 -08:00
security.h selinux: add selinuxfs structure for object class discovery 2007-07-11 22:52:20 -04:00
xfrm.h [SELINUX]: Fix 2.6.20-rc6 build when no xfrm 2007-01-26 19:03:48 -08:00