diff options
| author | Dmitry Kasatkin <[email protected]> | 2012-09-20 19:38:53 +0000 |
|---|---|---|
| committer | Mimi Zohar <[email protected]> | 2013-01-16 20:47:07 +0000 |
| commit | def3e8b9ee23cb69036910e48ec4e3eff40e04cb (patch) | |
| tree | 0840ab9e618f15f4c3c5e8ee6fafe5a17c814af2 /lib/mpi | |
| parent | evm: remove unused cleanup functions (diff) | |
| download | kernel-def3e8b9ee23cb69036910e48ec4e3eff40e04cb.tar.gz kernel-def3e8b9ee23cb69036910e48ec4e3eff40e04cb.zip | |
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 <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions
