From: Yuichi Nakamura Date: Fri, 14 Sep 2007 00:27:07 +0000 (+0900) Subject: SELinux: Improve read/write performance X-Git-Tag: v2.6.24-rc1~824^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=788e7dd4c22e6f41b3a118fd8c291f831f6fddbb;p=pandora-kernel.git SELinux: Improve read/write performance It reduces the selinux overhead on read/write by only revalidating permissions in selinux_file_permission if the task or inode labels have changed or the policy has changed since the open-time check. A new LSM hook, security_dentry_open, is added to capture the necessary state at open time to allow this optimization. (see http://marc.info/?l=selinux&m=118972995207740&w=2) Signed-off-by: Yuichi Nakamura Acked-by: Stephen Smalley Signed-off-by: James Morris --- Reading git-diff-tree failed