summaryrefslogtreecommitdiffstats
path: root/security/integrity/ima/ima_appraise.c
diff options
context:
space:
mode:
authorJames Morris <james.l.morris@oracle.com>2014-03-12 06:33:48 +0100
committerJames Morris <james.l.morris@oracle.com>2014-03-12 06:33:48 +0100
commit33b25335184b33dafddb4a83c27270947e525641 (patch)
tree537e9498c9faebd46f513598a212d06fb1c32a23 /security/integrity/ima/ima_appraise.c
parentsecurity: have cap_dentry_init_security return error (diff)
parentevm: enable key retention service automatically (diff)
downloadlinux-33b25335184b33dafddb4a83c27270947e525641.tar.xz
linux-33b25335184b33dafddb4a83c27270947e525641.zip
Merge branch 'next-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity into next
Diffstat (limited to 'security/integrity/ima/ima_appraise.c')
-rw-r--r--security/integrity/ima/ima_appraise.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/integrity/ima/ima_appraise.c b/security/integrity/ima/ima_appraise.c
index 734e9468aca0..291bf0f3a46d 100644
--- a/security/integrity/ima/ima_appraise.c
+++ b/security/integrity/ima/ima_appraise.c
@@ -177,11 +177,11 @@ int ima_appraise_measurement(int func, struct integrity_iint_cache *iint,
struct evm_ima_xattr_data *xattr_value,
int xattr_len)
{
+ static const char op[] = "appraise_data";
+ char *cause = "unknown";
struct dentry *dentry = file->f_dentry;
struct inode *inode = dentry->d_inode;
enum integrity_status status = INTEGRITY_UNKNOWN;
- const char *op = "appraise_data";
- char *cause = "unknown";
int rc = xattr_len, hash_start = 0;
if (!ima_appraise)