From: Dmitry Kasatkin Date: Thu, 20 Sep 2012 19:38:53 +0000 (+0300) Subject: ima: set appraise status in fix mode only when xattr is fixed X-Git-Tag: v3.9-rc1~137^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=def3e8b9ee23cb69036910e48ec4e3eff40e04cb;p=pandora-kernel.git ima: set appraise status in fix mode only when xattr is fixed When a file system is mounted read-only, setting the xattr value in fix mode fails with an error code -EROFS. The xattr should be fixed after the file system is remounted read-write. This patch verifies that the set xattr succeeds, before setting the appraise status value to INTEGRITY_PASS. Signed-off-by: Dmitry Kasatkin Signed-off-by: Mimi Zohar --- Reading git-diff-tree failed