Message ID | 1498069110-10009-10-git-send-email-zohar@linux.vnet.ibm.com |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wtChB3Bsvz9s5L for <incoming@patchwork.ozlabs.org>; Thu, 22 Jun 2017 04:20:58 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZsiFeCZb"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id: References:In-Reply-To:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=sTLw3QbG0hSxPHmsdkQnY+DkG6ezXAsSl3Wl5+v2LIc=; b=ZsiFeCZb+JaYAUawSh96lS9/K+ Ttzy7QrMdWanxWTiVr/tYJ0Kkcw8NFAXoWOsG/ZTyUyivqvG/oF45+qfHSbfIB3cNoelFK0fc7LWE azJ4rQigEpgG7aUSkd/R9JQDb+FCeG6YmYoIdB8GjaP9Cz5fSDpUE9t180N9Prg7KHsoLym1w1aF6 zk5VScJN72G17b3kxuewdlj/blNW6723rxsrkYHlyw3XtA5BKp+2KcvnS0W/EJjxVsNRcAOdVfJBT ZnazqTAXSvPmgtHIkV7AkemGGIh9Ag60FwbwTKQyHe515ebyJSmA1JmnA93D0qozYBEAwEntTsfyP fZd9VYXg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dNkFH-000160-Fy; Wed, 21 Jun 2017 18:20:51 +0000 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dNkF3-0000Xx-5c for linux-mtd@lists.infradead.org; Wed, 21 Jun 2017 18:20:41 +0000 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v5LIIUOu130672 for <linux-mtd@lists.infradead.org>; Wed, 21 Jun 2017 14:20:17 -0400 Received: from e23smtp01.au.ibm.com (e23smtp01.au.ibm.com [202.81.31.143]) by mx0a-001b2d01.pphosted.com with ESMTP id 2b7v51wam5-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for <linux-mtd@lists.infradead.org>; Wed, 21 Jun 2017 14:20:16 -0400 Received: from localhost by e23smtp01.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <linux-mtd@lists.infradead.org> from <zohar@linux.vnet.ibm.com>; Thu, 22 Jun 2017 04:20:14 +1000 Received: from d23relay06.au.ibm.com (202.81.31.225) by e23smtp01.au.ibm.com (202.81.31.207) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 22 Jun 2017 04:20:11 +1000 Received: from d23av05.au.ibm.com (d23av05.au.ibm.com [9.190.234.119]) by d23relay06.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v5LIK3la45809846 for <linux-mtd@lists.infradead.org>; Thu, 22 Jun 2017 04:20:11 +1000 Received: from d23av05.au.ibm.com (localhost [127.0.0.1]) by d23av05.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id v5LIJchv028549 for <linux-mtd@lists.infradead.org>; Thu, 22 Jun 2017 04:19:38 +1000 Received: from localhost.localdomain.com ([9.80.97.110]) by d23av05.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id v5LIJ1gb027128; Thu, 22 Jun 2017 04:19:34 +1000 From: Mimi Zohar <zohar@linux.vnet.ibm.com> To: Christoph Hellwig <hch@lst.de>, Al Viro <viro@zeniv.linux.org.uk> Subject: [PATCH v2 09/10] ubifs: define integrity_read method Date: Wed, 21 Jun 2017 14:18:29 -0400 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1498069110-10009-1-git-send-email-zohar@linux.vnet.ibm.com> References: <1498069110-10009-1-git-send-email-zohar@linux.vnet.ibm.com> X-TM-AS-MML: disable x-cbid: 17062118-1617-0000-0000-000001E989FA X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17062118-1618-0000-0000-000048309B18 Message-Id: <1498069110-10009-10-git-send-email-zohar@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-06-21_04:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1706210306 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170621_112037_367272_2F272FDA X-CRM114-Status: GOOD ( 10.33 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [148.163.156.1 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [148.163.156.1 listed in wl.mailspike.net] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.7 KHOP_DYNAMIC Relay looks like a dynamic address -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list <linux-mtd.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mtd/> List-Post: <mailto:linux-mtd@lists.infradead.org> List-Help: <mailto:linux-mtd-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe> Cc: Artem Bityutskiy <dedekind1@gmail.com>, Richard Weinberger <richard@nod.at>, James Morris <jmorris@namei.org>, Adrian Hunter <adrian.hunter@intel.com>, linux-ima-devel@lists.sourceforge.net, linux-security-module@vger.kernel.org, linux-mtd@lists.infradead.org, linux-fsdevel@vger.kernel.org, Mimi Zohar <zohar@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" <linux-mtd-bounces@lists.infradead.org> Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
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.
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, };
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(+)