From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C82CCA9EC4 for ; Tue, 29 Oct 2019 20:44:06 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 57DBC208E3; Tue, 29 Oct 2019 20:44:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sourceforge.net header.i=@sourceforge.net header.b="dfdJAToc"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sf.net header.i=@sf.net header.b="R7Il0BsX"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="tXVpNGPB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 57DBC208E3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-f2fs-devel-bounces@lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1iPYLV-00058A-W3; Tue, 29 Oct 2019 20:44:05 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1iPYLV-000584-Io for linux-f2fs-devel@lists.sourceforge.net; Tue, 29 Oct 2019 20:44:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-Id: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7dOYlwTNkThCNBR0mYXXIfpN2e6mQHKxm3rZI4qR+lo=; b=dfdJATocyjRxv1zeWMGj8Xbd2O s53AlrrOYTX24P5DVNS8kSmmtqSMsxUS1SWYi48S96baJSCVRnefr0yiGJGyMSmTUIssXixyf/tS4 fkIV8uJOfRiubAs7o80Q8KOYUkzSm0hNSkR8gsYtbEMVjzcSmABIRDQKCXTcZrX/8CX4=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From :Sender:Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=7dOYlwTNkThCNBR0mYXXIfpN2e6mQHKxm3rZI4qR+lo=; b=R 7Il0BsX0Bbr9RmiPqXSBWygJrisVIFGFdDoyEHGoTvkMFsozz3Jf9Mg7b0ti9P1wWH+Z5pv3NDPvd xbjAs6zlXQoLu/28VX2XqD37aBPVVmiE9tHsXgksUTGpbAr7bOSaPVhV11Vd0Llv/yHed8WMlHXm0 qc78/2HE6NP1mFJY=; Received: from mail.kernel.org ([198.145.29.99]) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1iPYLT-009LgS-2g for linux-f2fs-devel@lists.sourceforge.net; Tue, 29 Oct 2019 20:44:05 +0000 Received: from ebiggers-linuxstation.mtv.corp.google.com (unknown [104.132.1.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B1E132087F; Tue, 29 Oct 2019 20:43:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572381835; bh=PO9FWnMviEuNb31RBWbFM6qoAGbqLACtBOE0D5G9jSY=; h=From:To:Cc:Subject:Date:From; b=tXVpNGPBJfZ2HxnE4AwO/rpSHRictz/rj27j8Txw6/U7VlJMoTBH9fL5Cn/eP4RI8 vfqiLz4derg9gYJzw1E4PMXNQf9Tp3CgrcCbyjjmlqTxM9+zOp6SUzKO+QPaJYrhTd 32TVj4HxDWc0jneJIVgxG8SvQxHdfjPbW9H5Eg34= From: Eric Biggers To: linux-fscrypt@vger.kernel.org Date: Tue, 29 Oct 2019 13:41:37 -0700 Message-Id: <20191029204141.145309-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.24.0.rc1.363.gb1bccd3e3d-goog MIME-Version: 1.0 X-Headers-End: 1iPYLT-009LgS-2g Subject: [f2fs-dev] [PATCH 0/4] statx: expose the fs-verity bit X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Theodore Ts'o , linux-api@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, David Howells , linux-fsdevel@vger.kernel.org, Jaegeuk Kim , linux-ext4@vger.kernel.org, Victor Hsieh Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net This patchset exposes the verity bit (a.k.a. FS_VERITY_FL) via statx(). This is useful because it allows applications to check whether a file is a verity file without opening it. Opening a verity file can be expensive because the fsverity_info is set up on open, which involves parsing metadata and optionally verifying a cryptographic signature. This is analogous to how various other bits are exposed through both FS_IOC_GETFLAGS and statx(), e.g. the encrypt bit. This patchset applies to v5.4-rc5. Eric Biggers (4): statx: define STATX_ATTR_VERITY ext4: support STATX_ATTR_VERITY f2fs: support STATX_ATTR_VERITY docs: fs-verity: mention statx() support Documentation/filesystems/fsverity.rst | 8 ++++++++ fs/ext4/inode.c | 5 ++++- fs/f2fs/file.c | 5 ++++- include/linux/stat.h | 3 ++- include/uapi/linux/stat.h | 2 +- 5 files changed, 19 insertions(+), 4 deletions(-) -- 2.24.0.rc1.363.gb1bccd3e3d-goog _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel