[PATCH v6 4/6] ima: use fs method to read integrity data

Jan Kara jack at suse.cz
Wed Aug 16 13:17:48 UTC 2017


On Tue 15-08-17 10:43:55, Mimi Zohar wrote:
> From: Christoph Hellwig <hch at lst.de>
> 
> Add a new ->integrity_read file operation to read data for integrity
> hash collection.  This is defined to be equivalent to ->read_iter,
> except that it will be called with the i_rwsem held exclusively.
> 
> (Based on Christoph's original patch.)
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Cc: Matthew Garrett <mjg59 at srcf.ucam.org>
> Cc: Jan Kara <jack at suse.com>
> Cc: "Theodore Ts'o" <tytso at mit.edu>
> Cc: Andreas Dilger <adilger.kernel at dilger.ca>
> Cc: Jaegeuk Kim <jaegeuk at kernel.org>
> Cc: Chao Yu <yuchao0 at huawei.com>
> Cc: Steven Whitehouse <swhiteho at redhat.com>
> Cc: Bob Peterson <rpeterso at redhat.com>
> Cc: David Woodhouse <dwmw2 at infradead.org>
> Cc: Dave Kleikamp <shaggy at kernel.org>
> Cc: Ryusuke Konishi <konishi.ryusuke at lab.ntt.co.jp>
> Cc: Mark Fasheh <mfasheh at versity.com>
> Cc: Joel Becker <jlbec at evilplan.org>
> Cc: Richard Weinberger <richard at nod.at>
> Cc: "Darrick J. Wong" <darrick.wong at oracle.com>
> Cc: Hugh Dickins <hughd at google.com>
> Cc: Chris Mason <clm at fb.com>
> Signed-off-by: Mimi Zohar <zohar at linux.vnet.ibm.com>

Looks good to me. You can add:

Reviewed-by: Jan Kara <jack at suse.cz>

								Honza
-- 
Jan Kara <jack at suse.com>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the Linux-security-module-archive mailing list