IMA: don't propagate opened through the entire thing
[muen/linux.git] / security / integrity / ima / ima.h
index 354bb5716ce329a39e43413a9ed373008c901b1e..e4c1a236976cb4650413160d928dabb3b51b28ec 100644 (file)
@@ -238,7 +238,7 @@ int ima_appraise_measurement(enum ima_hooks func,
                             struct integrity_iint_cache *iint,
                             struct file *file, const unsigned char *filename,
                             struct evm_ima_xattr_data *xattr_value,
-                            int xattr_len, int opened);
+                            int xattr_len);
 int ima_must_appraise(struct inode *inode, int mask, enum ima_hooks func);
 void ima_update_xattr(struct integrity_iint_cache *iint, struct file *file);
 enum integrity_status ima_get_cache_status(struct integrity_iint_cache *iint,
@@ -254,7 +254,7 @@ static inline int ima_appraise_measurement(enum ima_hooks func,
                                           struct file *file,
                                           const unsigned char *filename,
                                           struct evm_ima_xattr_data *xattr_value,
-                                          int xattr_len, int opened)
+                                          int xattr_len)
 {
        return INTEGRITY_UNKNOWN;
 }