From: Mimi Zohar Date: Wed, 2 Sep 2009 15:40:32 +0000 (-0400) Subject: IMA: open new file for read X-Git-Tag: v2.6.32-rc1~737^2^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c1488fd581a447ec87c4b59f0d33f95f0aa441b;p=pandora-kernel.git IMA: open new file for read When creating a new file, ima_path_check() assumed the new file was being opened for write. Call ima_path_check() with the appropriate acc_mode so that the read/write counters are incremented correctly. Signed-off-by: Mimi Zohar Signed-off-by: James Morris --- Reading git-diff-tree failed