Re: [PATCH 1/2] ima: Do not try to fix hash if file system does notsupport security xattr

From: Mimi Zohar
Date: Tue Feb 12 2013 - 06:45:55 EST

On Mon, 2013-02-11 at 15:11 -0500, Vivek Goyal wrote:
> vfs_getxattr_alloc() returns -EOPNOTSUPP if filesystem does not have
> security label enabled. In that case there is no point in continuing
> further and try to fix hashes (if ima_appraise=fix was specified) as
> that will fail too. Return early

There's a minor discrepancy between the patch title and the patch
description - not supported vs. not enabled. Perhaps the title could be
abbreviated as well to something like "ima: detect security xattrs not



To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at