Re: [PATCH 1/2] ima: Do not try to fix hash if file system does notsupport security xattr
From: Vivek Goyal
Date: Tue Feb 12 2013 - 09:27:34 EST
On Tue, Feb 12, 2013 at 06:45:06AM -0500, Mimi Zohar wrote:
> 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
> enabled".
Sure will change it.
Thanks
Vivek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/