From: Eric Paris Date: Fri, 23 Jul 2010 15:44:15 +0000 (-0400) Subject: SELinux: Move execmod to the common perms X-Git-Tag: v2.6.36-rc1~584^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b424485abe2b16580a178b469917a7b6ee0c152a;p=pandora-kernel.git SELinux: Move execmod to the common perms execmod "could" show up on non regular files and non chr files. The current implementation would actually make these checks against non-existant bits since the code assumes the execmod permission is same for all file types. To make this line up for chr files we had to define execute_no_trans and entrypoint permissions. These permissions are unreachable and only existed to to make FILE__EXECMOD and CHR_FILE__EXECMOD the same. This patch drops those needless perms as well. Signed-off-by: Eric Paris Acked-by: Stephen D. Smalley Signed-off-by: James Morris --- Reading git-diff-tree failed