Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp752370ybl; Tue, 28 Jan 2020 11:26:00 -0800 (PST) X-Google-Smtp-Source: APXvYqxq/udxaPC50l5O9tb5wGeU1ML+LWMEmQthDxwxNe/pMvm32Qn5Vsudod2t0vw7gTvpy9u7 X-Received: by 2002:aca:2210:: with SMTP id b16mr3837737oic.32.1580239560720; Tue, 28 Jan 2020 11:26:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580239560; cv=none; d=google.com; s=arc-20160816; b=qqPgyu6s+IHjUOJ3T2eGXU81sX8nKYiEXHXJHI2dY/dCwk8TL5r7i+rs3FvV0cWet+ 32R5a21XGpxzdXjDk6hyABuEBr6SnLLN5Jt5FBPP7aGHg3KQuACAM6X3g/GdjJapRAJu MdAfQ/au+JU7f9T2hD6pCESjIylJH2xIaYidf5Uf/Yvb62qCD3c54/O+pSbkc9NAnh0Q Gx1pPPEQAEP6aMCbujTq+a43M3LcA+DWpSVysfKIsHpkuaZqsiPqhryoRe67h8h/z0qq 4sXFTUfLACQziaXHnDdxgTMnROvibw68KR/immatKUx+s9E6b68zlrokmduK63bV2IVm hlEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+wb5QnhsxxiWxVevFo3rcYs5500P9NHKkAqpSPYp9mY=; b=OHZPI/e3VCvS+XnYsngQDGGfnxCfx3Lj59fMKuezGssZDdiw0kJFEs1T2VOsL30cQv 8D47pSzzOToyb5G1gqCqWwHt092yt3Si9Edj6u3ienHsobxWNeV14L16QfrBdgIqZvMV yevkmKaRarSCoXgBPVMpStMylvK6YFv45bV5EbeX436gwHkoG2ltfgIthyIsiLp2P1Zs +u8u8iwatb1K2quSnp7S5dPWSfMYbL/wkEJaCRFpOsu+wMnhc1w+7k5aNdwBCmmakWJM cEK6v6cQEsqPSWkbdr66Fw11E0rjP8EWn6MxqugIOB0EOIxxng1YNdrTg1398TrX7OI1 vSfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wTXco5V7; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p25si9231829oto.191.2020.01.28.11.25.40; Tue, 28 Jan 2020 11:26:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wTXco5V7; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726162AbgA1TZh (ORCPT + 99 others); Tue, 28 Jan 2020 14:25:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:49548 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726002AbgA1TZh (ORCPT ); Tue, 28 Jan 2020 14:25:37 -0500 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 4AA6C2467E; Tue, 28 Jan 2020 19:25:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580239536; bh=M3Y7uG3L87hHEIblJRkwGCUrIWxfUyUuQcFB65l6IOU=; h=From:To:Cc:Subject:Date:From; b=wTXco5V78aTgUxIfwidPR1INdxREciyqDqF7/pont4zqUkKXRrsNfKNTjuIRuIHZi HsblQFNH95dkMKqBw5aclAbH+itf7iLvYRjERPOvlbxYPyvh1sZPAml/cAuxvPEZN8 trvb/I0cedRqTxCE15eKdSyDtZLYoF5gFJyGdWOI= From: Eric Biggers To: mtk.manpages@gmail.com Cc: linux-man@vger.kernel.org, linux-fscrypt@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org Subject: [man-pages PATCH v2] statx.2: document STATX_ATTR_VERITY Date: Tue, 28 Jan 2020 11:24:49 -0800 Message-Id: <20200128192449.260550-1-ebiggers@kernel.org> X-Mailer: git-send-email 2.25.0.341.g760bfbb309-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org From: Eric Biggers Document the verity attribute for statx(), which was added in Linux 5.5. For more context, see the fs-verity documentation: https://www.kernel.org/doc/html/latest/filesystems/fsverity.html Signed-off-by: Eric Biggers --- man2/statx.2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/man2/statx.2 b/man2/statx.2 index d2f1b07b8..d015ee73d 100644 --- a/man2/statx.2 +++ b/man2/statx.2 @@ -461,6 +461,11 @@ See .TP .B STATX_ATTR_ENCRYPTED A key is required for the file to be encrypted by the filesystem. +.TP +.B STATX_ATTR_VERITY +Since Linux 5.5: the file has fs-verity enabled. It cannot be written to, and +all reads from it will be verified against a cryptographic hash that covers the +entire file, e.g. via a Merkle tree. .SH RETURN VALUE On success, zero is returned. On error, \-1 is returned, and -- 2.25.0.341.g760bfbb309-goog