From: Linus Torvalds Date: Fri, 28 Aug 2009 17:05:33 +0000 (-0700) Subject: Do not call 'ima_path_check()' for each path component X-Git-Tag: v2.6.32-rc1~739^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8e66ed25b5cbeebed69c475f6c108e52078a3b3;p=pandora-kernel.git Do not call 'ima_path_check()' for each path component Not only is that a supremely timing-critical path, but it's hopefully some day going to be lockless for the common case, and ima can't do that. Plus the integrity code doesn't even care about non-regular files, so it was always a total waste of time and effort. Acked-by: Serge Hallyn Acked-by: Mimi Zohar Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed