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=-11.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 221BDC4338F for ; Mon, 26 Jul 2021 03:58:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0087760E78 for ; Mon, 26 Jul 2021 03:58:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231530AbhGZDSG (ORCPT ); Sun, 25 Jul 2021 23:18:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:53008 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230321AbhGZDSG (ORCPT ); Sun, 25 Jul 2021 23:18:06 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4FA6960EB2; Mon, 26 Jul 2021 03:58:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627271915; bh=WPLxji5Fu3Q2Q6hrxcLMN8a8q3esfgs4pl4CERub5YQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qgmYCrRdhNjrVPAoHCovW00SjzclRfqwwr+TF3YR2+VJF1OfgIcpNJhkK4eByklBX 1XsJZZP4DbXkPdxsLdLYxA0F0+DFSdkn+q82TKancpVQOq8njTx5CMjF365UH0jLct +XR0U8gxeOY8AKCfFMl8mQ4vk8iUZzr5EkvUdRyExEMjbU5Ihr5JHoZbSbzkOIcn1x KnYkutj0MPTAemKe1UU4n1kFuON6bpcSgNOo/rQL9qTHaQ9hC4omSBP1szv45dUwzW D9kauqkb7x7Q6cQlBmkD77q96XTWfchBYyNXTSZkExEq3gQ9n9Bt7ND2MMha2wKIni Y6XgTywBxx92g== Date: Sun, 25 Jul 2021 20:58:34 -0700 From: Eric Biggers To: linux-fscrypt@vger.kernel.org Cc: linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-mtd@lists.infradead.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 0/5] fscrypt: report correct st_size for encrypted symlinks Message-ID: References: <20210702065350.209646-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210702065350.209646-1-ebiggers@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-fscrypt@vger.kernel.org On Thu, Jul 01, 2021 at 11:53:45PM -0700, Eric Biggers wrote: > This series makes the stat() family of syscalls start reporting the > correct size for encrypted symlinks. > > See patch 1 for a detailed explanation of the problem and solution. > > Patch 1 adds a helper function that computes the correct size for an > encrypted symlink. Patches 2-4 make the filesystems with fscrypt > support use it, and patch 5 updates the documentation. > > This series applies to mainline commit 3dbdb38e2869. > > Eric Biggers (5): > fscrypt: add fscrypt_symlink_getattr() for computing st_size > ext4: report correct st_size for encrypted symlinks > f2fs: report correct st_size for encrypted symlinks > ubifs: report correct st_size for encrypted symlinks > fscrypt: remove mention of symlink st_size quirk from documentation > > Documentation/filesystems/fscrypt.rst | 5 --- > fs/crypto/hooks.c | 44 +++++++++++++++++++++++++++ > fs/ext4/symlink.c | 12 +++++++- > fs/f2fs/namei.c | 12 +++++++- > fs/ubifs/file.c | 13 +++++++- > include/linux/fscrypt.h | 7 +++++ > 6 files changed, 85 insertions(+), 8 deletions(-) > > > base-commit: 3dbdb38e286903ec220aaf1fb29a8d94297da246 All applied to fscrypt.git#master for 5.15. - Eric 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=-8.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 99847C4338F for ; Mon, 26 Jul 2021 03:58:57 +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 4E05B60E78; Mon, 26 Jul 2021 03:58:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4E05B60E78 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1m7rlX-0005LS-Uc; Mon, 26 Jul 2021 03:58:55 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7rlX-0005LM-Gd for linux-f2fs-devel@lists.sourceforge.net; Mon, 26 Jul 2021 03:58:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=/wZKk/9M4mrA/k2eksngnMyL5wb+6hSiwwO2LHSHRfI=; b=L3bATCanroqUIxB+47R5TrNIul iLnYPMQPty7/EXOdWCo4uJ1uw54/YRAuEJf9UdDurGOEDMHjJSE/a7Uw0P3YYFiU+ZYs/0nZVKHYT Z/0COt7y93GQ2nf+0eZFUmnhZBXgHi36fgKkvWzy5ejB/WOGkuLV5LRnXQVZ7LK/55ew=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=/wZKk/9M4mrA/k2eksngnMyL5wb+6hSiwwO2LHSHRfI=; b=g8B3Q4m2mdZ0y96+LyTtkPGSJG ceWwoful0+8gfLi4BMMVr1pgeUJu3klqQUBUZHQdDnaVYHMA5D9SikTxYJkmcC/Q+GUk2GbwrL+V2 GB4LmlLEfRca48BQ2vEZggdI0PCQGmViA5xWhCrVgCKt4fkcEFyAq1tpSel5QxkW9l0M=; Received: from mail.kernel.org ([198.145.29.99]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) id 1m7rlN-0007f8-NW for linux-f2fs-devel@lists.sourceforge.net; Mon, 26 Jul 2021 03:58:55 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4FA6960EB2; Mon, 26 Jul 2021 03:58:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627271915; bh=WPLxji5Fu3Q2Q6hrxcLMN8a8q3esfgs4pl4CERub5YQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qgmYCrRdhNjrVPAoHCovW00SjzclRfqwwr+TF3YR2+VJF1OfgIcpNJhkK4eByklBX 1XsJZZP4DbXkPdxsLdLYxA0F0+DFSdkn+q82TKancpVQOq8njTx5CMjF365UH0jLct +XR0U8gxeOY8AKCfFMl8mQ4vk8iUZzr5EkvUdRyExEMjbU5Ihr5JHoZbSbzkOIcn1x KnYkutj0MPTAemKe1UU4n1kFuON6bpcSgNOo/rQL9qTHaQ9hC4omSBP1szv45dUwzW D9kauqkb7x7Q6cQlBmkD77q96XTWfchBYyNXTSZkExEq3gQ9n9Bt7ND2MMha2wKIni Y6XgTywBxx92g== Date: Sun, 25 Jul 2021 20:58:34 -0700 From: Eric Biggers To: linux-fscrypt@vger.kernel.org Message-ID: References: <20210702065350.209646-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210702065350.209646-1-ebiggers@kernel.org> X-Headers-End: 1m7rlN-0007f8-NW Subject: Re: [f2fs-dev] [PATCH 0/5] fscrypt: report correct st_size for encrypted symlinks 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: linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-mtd@lists.infradead.org, linux-f2fs-devel@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On Thu, Jul 01, 2021 at 11:53:45PM -0700, Eric Biggers wrote: > This series makes the stat() family of syscalls start reporting the > correct size for encrypted symlinks. > > See patch 1 for a detailed explanation of the problem and solution. > > Patch 1 adds a helper function that computes the correct size for an > encrypted symlink. Patches 2-4 make the filesystems with fscrypt > support use it, and patch 5 updates the documentation. > > This series applies to mainline commit 3dbdb38e2869. > > Eric Biggers (5): > fscrypt: add fscrypt_symlink_getattr() for computing st_size > ext4: report correct st_size for encrypted symlinks > f2fs: report correct st_size for encrypted symlinks > ubifs: report correct st_size for encrypted symlinks > fscrypt: remove mention of symlink st_size quirk from documentation > > Documentation/filesystems/fscrypt.rst | 5 --- > fs/crypto/hooks.c | 44 +++++++++++++++++++++++++++ > fs/ext4/symlink.c | 12 +++++++- > fs/f2fs/namei.c | 12 +++++++- > fs/ubifs/file.c | 13 +++++++- > include/linux/fscrypt.h | 7 +++++ > 6 files changed, 85 insertions(+), 8 deletions(-) > > > base-commit: 3dbdb38e286903ec220aaf1fb29a8d94297da246 All applied to fscrypt.git#master for 5.15. - Eric _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel 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=-9.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham 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 CF8F1C4338F for ; Mon, 26 Jul 2021 03:59:30 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 9E84960E78 for ; Mon, 26 Jul 2021 03:59:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9E84960E78 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=B15325hNiXmEuwNlEfCPgMBhu0d2XJHxvqvwrJcAxhc=; b=uhFHZ2pbAe/N/J EY89wx1TdnP+lN/7DWO8vD17N2EYkgBvZyNu4S43qASIOM5r46FRezP2GXWiBYEIH0Z3vt3pnjvDv WG+246g4w7BeIHlJeshOPdMRXbepERCgY5Jo5iaNtF9zEwL0N+yTfaMjhdsDmlM5BHSQFH4f+qlpK zGXxfItwQbuPSjgK1RnQKjGLKzeQZpytaI0oXZV8eH1HIyz66udx7r44ptosThaXJTxwsp0v2tdZt TVEBrGSGZClBT5E8dvgmTC4GjokTR3MxuQRO6fW2t1T32JBQJWovB3o2qfyTjPnbwtCBLH1UNBQ1H V596uiPQhbTs3ayDY3NQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m7rlH-009Vpu-1J; Mon, 26 Jul 2021 03:58:39 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m7rlE-009VoS-CA for linux-mtd@lists.infradead.org; Mon, 26 Jul 2021 03:58:37 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4FA6960EB2; Mon, 26 Jul 2021 03:58:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627271915; bh=WPLxji5Fu3Q2Q6hrxcLMN8a8q3esfgs4pl4CERub5YQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qgmYCrRdhNjrVPAoHCovW00SjzclRfqwwr+TF3YR2+VJF1OfgIcpNJhkK4eByklBX 1XsJZZP4DbXkPdxsLdLYxA0F0+DFSdkn+q82TKancpVQOq8njTx5CMjF365UH0jLct +XR0U8gxeOY8AKCfFMl8mQ4vk8iUZzr5EkvUdRyExEMjbU5Ihr5JHoZbSbzkOIcn1x KnYkutj0MPTAemKe1UU4n1kFuON6bpcSgNOo/rQL9qTHaQ9hC4omSBP1szv45dUwzW D9kauqkb7x7Q6cQlBmkD77q96XTWfchBYyNXTSZkExEq3gQ9n9Bt7ND2MMha2wKIni Y6XgTywBxx92g== Date: Sun, 25 Jul 2021 20:58:34 -0700 From: Eric Biggers To: linux-fscrypt@vger.kernel.org Cc: linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-mtd@lists.infradead.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 0/5] fscrypt: report correct st_size for encrypted symlinks Message-ID: References: <20210702065350.209646-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210702065350.209646-1-ebiggers@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210725_205836_472765_C977367A X-CRM114-Status: GOOD ( 13.11 ) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org On Thu, Jul 01, 2021 at 11:53:45PM -0700, Eric Biggers wrote: > This series makes the stat() family of syscalls start reporting the > correct size for encrypted symlinks. > > See patch 1 for a detailed explanation of the problem and solution. > > Patch 1 adds a helper function that computes the correct size for an > encrypted symlink. Patches 2-4 make the filesystems with fscrypt > support use it, and patch 5 updates the documentation. > > This series applies to mainline commit 3dbdb38e2869. > > Eric Biggers (5): > fscrypt: add fscrypt_symlink_getattr() for computing st_size > ext4: report correct st_size for encrypted symlinks > f2fs: report correct st_size for encrypted symlinks > ubifs: report correct st_size for encrypted symlinks > fscrypt: remove mention of symlink st_size quirk from documentation > > Documentation/filesystems/fscrypt.rst | 5 --- > fs/crypto/hooks.c | 44 +++++++++++++++++++++++++++ > fs/ext4/symlink.c | 12 +++++++- > fs/f2fs/namei.c | 12 +++++++- > fs/ubifs/file.c | 13 +++++++- > include/linux/fscrypt.h | 7 +++++ > 6 files changed, 85 insertions(+), 8 deletions(-) > > > base-commit: 3dbdb38e286903ec220aaf1fb29a8d94297da246 All applied to fscrypt.git#master for 5.15. - Eric ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/