evm: Make it independent from 'integrity' LSM
[linux-2.6-block.git] / security / integrity / ima / ima_appraise.c
index 0764511096378f31f99201f71765d8b240e2ff3a..1dd6ee72a20aaccb56fd1e1ea7f623ba374c9c6a 100644 (file)
@@ -520,7 +520,7 @@ int ima_appraise_measurement(enum ima_hooks func,
        }
 
        status = evm_verifyxattr(dentry, XATTR_NAME_IMA, xattr_value,
-                                rc < 0 ? 0 : rc, iint);
+                                rc < 0 ? 0 : rc);
        switch (status) {
        case INTEGRITY_PASS:
        case INTEGRITY_PASS_IMMUTABLE: