public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 08/10] jffs2: define integrity_read method
       [not found] <1498069110-10009-1-git-send-email-zohar@linux.vnet.ibm.com>
@ 2017-06-21 18:18 ` Mimi Zohar
  2017-06-28 14:39   ` Christoph Hellwig
  2017-06-21 18:18 ` [PATCH v2 09/10] ubifs: " Mimi Zohar
  1 sibling, 1 reply; 4+ messages in thread
From: Mimi Zohar @ 2017-06-21 18:18 UTC (permalink / raw)
  To: Christoph Hellwig, Al Viro
  Cc: Mimi Zohar, James Morris, linux-fsdevel, linux-ima-devel,
	linux-security-module, David Woodhouse, linux-mtd

Define an ->integrity_read file operation method to read data for
integrity hash collection.

Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
---
 fs/jffs2/file.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/jffs2/file.c b/fs/jffs2/file.c
index c12476e309c6..5a63034cccf5 100644
--- a/fs/jffs2/file.c
+++ b/fs/jffs2/file.c
@@ -57,6 +57,7 @@ const struct file_operations jffs2_file_operations =
 	.mmap =		generic_file_readonly_mmap,
 	.fsync =	jffs2_fsync,
 	.splice_read =	generic_file_splice_read,
+	.integrity_read = generic_file_read_iter,
 };
 
 /* jffs2_file_inode_operations */
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v2 09/10] ubifs: define integrity_read method
       [not found] <1498069110-10009-1-git-send-email-zohar@linux.vnet.ibm.com>
  2017-06-21 18:18 ` [PATCH v2 08/10] jffs2: define integrity_read method Mimi Zohar
@ 2017-06-21 18:18 ` Mimi Zohar
  2017-06-28 14:39   ` Christoph Hellwig
  1 sibling, 1 reply; 4+ messages in thread
From: Mimi Zohar @ 2017-06-21 18:18 UTC (permalink / raw)
  To: Christoph Hellwig, Al Viro
  Cc: Mimi Zohar, James Morris, linux-fsdevel, linux-ima-devel,
	linux-security-module, Richard Weinberger, Artem Bityutskiy,
	Adrian Hunter, linux-mtd

Define an ->integrity_read file operation method to read data for
integrity hash collection.

Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
---
 fs/ubifs/file.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/ubifs/file.c b/fs/ubifs/file.c
index 2cda3d67e2d0..eeb4e872e47a 100644
--- a/fs/ubifs/file.c
+++ b/fs/ubifs/file.c
@@ -1754,4 +1754,5 @@ const struct file_operations ubifs_file_operations = {
 #ifdef CONFIG_COMPAT
 	.compat_ioctl   = ubifs_compat_ioctl,
 #endif
+	.integrity_read = generic_file_read_iter,
 };
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2 08/10] jffs2: define integrity_read method
  2017-06-21 18:18 ` [PATCH v2 08/10] jffs2: define integrity_read method Mimi Zohar
@ 2017-06-28 14:39   ` Christoph Hellwig
  0 siblings, 0 replies; 4+ messages in thread
From: Christoph Hellwig @ 2017-06-28 14:39 UTC (permalink / raw)
  To: Mimi Zohar
  Cc: Christoph Hellwig, Al Viro, James Morris, linux-fsdevel,
	linux-ima-devel, linux-security-module, David Woodhouse,
	linux-mtd

should be folded into patch 2.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2 09/10] ubifs: define integrity_read method
  2017-06-21 18:18 ` [PATCH v2 09/10] ubifs: " Mimi Zohar
@ 2017-06-28 14:39   ` Christoph Hellwig
  0 siblings, 0 replies; 4+ messages in thread
From: Christoph Hellwig @ 2017-06-28 14:39 UTC (permalink / raw)
  To: Mimi Zohar
  Cc: Christoph Hellwig, Al Viro, James Morris, linux-fsdevel,
	linux-ima-devel, linux-security-module, Richard Weinberger,
	Artem Bityutskiy, Adrian Hunter, linux-mtd

On Wed, Jun 21, 2017 at 02:18:29PM -0400, Mimi Zohar wrote:
> Define an ->integrity_read file operation method to read data for
> integrity hash collection.

should be folded into patch 2.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-28 14:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1498069110-10009-1-git-send-email-zohar@linux.vnet.ibm.com>
2017-06-21 18:18 ` [PATCH v2 08/10] jffs2: define integrity_read method Mimi Zohar
2017-06-28 14:39   ` Christoph Hellwig
2017-06-21 18:18 ` [PATCH v2 09/10] ubifs: " Mimi Zohar
2017-06-28 14:39   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox