selinux: place open in the common file perms
authorEric Paris <eparis@redhat.com>
Fri, 23 Jul 2010 15:44:09 +0000 (11:44 -0400)
committerJames Morris <jmorris@namei.org>
Mon, 2 Aug 2010 05:35:08 +0000 (15:35 +1000)
commit49b7b8de46d293113a0a0bb026ff7bd833c73367
treeff29778c49a8ac1511249cc268ddbb2c6ddb86a9
parentb782e0a68d17894d9a618ffea55b33639faa6bb4
selinux: place open in the common file perms

kernel can dynamically remap perms.  Drop the open lookup table and put open
in the common file perms.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Stephen D. Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/hooks.c
security/selinux/include/classmap.h