Searched hist:def3e8b9ee23cb69036910e48ec4e3eff40e04cb (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/security/integrity/ima/ |
H A D | ima_appraise.c | diff def3e8b9ee23cb69036910e48ec4e3eff40e04cb Thu Sep 20 14:38:53 CDT 2012 Dmitry Kasatkin <dmitry.kasatkin@intel.com> 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 <dmitry.kasatkin@intel.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
|