From: Stephen Smalley Date: Thu, 5 Jun 2008 13:21:28 +0000 (-0400) Subject: selinux: simplify ioctl checking X-Git-Tag: v2.6.27-rc1~1109^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=242631c49d4cf396;p=pandora-kernel.git selinux: simplify ioctl checking Simplify and improve the robustness of the SELinux ioctl checking by using the "access mode" bits of the ioctl command to determine the permission check rather than dealing with individual command values. This removes any knowledge of specific ioctl commands from SELinux and follows the same guidance we gave to Smack earlier. Signed-off-by: Stephen Smalley Signed-off-by: James Morris --- Reading git-diff-tree failed