From patchwork Mon Oct 30 04:04:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 13439968 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 4B61FC4332F for ; Mon, 30 Oct 2023 04:04:40 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1qxJW1-0003hJ-8b; Mon, 30 Oct 2023 04:04:37 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qxJW0-0003hD-0I for linux-f2fs-devel@lists.sourceforge.net; Mon, 30 Oct 2023 04:04:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:MIME-Version: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:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=M0/er4qz3Vn17zN+A6+aVAlrWBsIixD3smsud6voVdk=; b=JMYWXbLyb4Zo1Ome92asLBhUzJ vVkqaAUmm5nNA7LBD/f3Wa+3YKqu4/H+dag5CTDA+Z+KWjrNyddrIxOFFvomvPAxi0xufAjkSSMy+ zsZK3Kf4lXtcFNcE08DIxRaQSJMWRK6T+sp2dBSfBdmif63GMgxkj8wRRLNJLIn8ypmU=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:MIME-Version: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:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=M0/er4qz3Vn17zN+A6+aVAlrWBsIixD3smsud6voVdk=; b=A 5NJ8YSIRmwg2s7MTiN1zghl/ldBGyN7XLpTLjk6GCg7NjXefe9F9uJnozGRROpoVikLIax+M/4aLE VqcgoQhvPJM2mvQBBn2T7GegFP2mTVMOv1yp+5m3flgXbK6o5/eSSoouSGwd01IlqMHdkhHnIO5od ZYBKJHMMMO0SYwUM=; Received: from sin.source.kernel.org ([145.40.73.55]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1qxJVy-00020e-0x for linux-f2fs-devel@lists.sourceforge.net; Mon, 30 Oct 2023 04:04:35 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 615B5CE11EA; Mon, 30 Oct 2023 04:04:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F4AAC433C8; Mon, 30 Oct 2023 04:04:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698638661; bh=UkCm3OTWARRE3MTGj4hMs3g9sGwjnFjvdJrOft2PCWM=; h=Date:From:To:Cc:Subject:From; b=RtH8udXQmHNy7sD8UiM8laIiFptr75k6TMDW5G9xwNZO/XRRhqsNvv29IlUG12jJ7 FWDTxb/On3c0tvaBgpRQUqbSlrbpIRsOO06xVIbl7m0VWoUAs3QUp3kKDQp3rzEpuI a3DCf/YWO6mh+iSMitfF8NrvLF+49M6X8ytT7Socn2iewAC6lGOKoT1QZOOqgEsnl6 TUzvzXejaKIN7/j0DOQ0lmZNJvxJrDTs1E0BWzC3iY4Gu8YOrhiHcasSDoDZN5CKAh IQdbK+cLayLqnQDGxYZgFAl9HboHL5tWPC1agPrMnBrG2AIRZA5UQNniYmLR7nvAAv rELkLw3Fzf4Sg== Date: Sun, 29 Oct 2023 21:04:19 -0700 From: Eric Biggers To: Linus Torvalds Message-ID: <20231030040419.GA43439@sol.localdomain> MIME-Version: 1.0 Content-Disposition: inline X-Headers-End: 1qxJVy-00020e-0x Subject: [f2fs-dev] [GIT PULL] fscrypt updates for 6.7 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-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-fscrypt@vger.kernel.org, linux-fsdevel@vger.kernel.org, Jaegeuk Kim , linux-ext4@vger.kernel.org, linux-btrfs@vger.kernel.org Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net The following changes since commit 6465e260f48790807eef06b583b38ca9789b6072: Linux 6.6-rc3 (2023-09-24 14:31:13 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/fs/fscrypt/linux.git tags/fscrypt-for-linus for you to fetch changes up to 15baf55481de700f8c4494cddb80ec4f4575548b: fscrypt: track master key presence separately from secret (2023-10-16 21:23:45 -0700) ---------------------------------------------------------------- This update adds support for configuring the crypto data unit size (i.e. the granularity of file contents encryption) to be less than the filesystem block size. This can allow users to use inline encryption hardware in some cases when it wouldn't otherwise be possible. In addition, there are two commits that are prerequisites for the extent-based encryption support that the btrfs folks are working on. ---------------------------------------------------------------- Eric Biggers (6): fscrypt: make it clearer that key_prefix is deprecated fscrypt: make the bounce page pool opt-in instead of opt-out fscrypt: compute max_lblk_bits from s_maxbytes and block size fscrypt: replace get_ino_and_lblk_bits with just has_32bit_inodes fscrypt: support crypto data unit size less than filesystem block size fscrypt: track master key presence separately from secret Josef Bacik (1): fscrypt: rename fscrypt_info => fscrypt_inode_info Documentation/filesystems/fscrypt.rst | 121 ++++++++++++++++++------- fs/ceph/crypto.c | 1 + fs/crypto/bio.c | 39 ++++---- fs/crypto/crypto.c | 163 ++++++++++++++++++--------------- fs/crypto/fname.c | 6 +- fs/crypto/fscrypt_private.h | 164 ++++++++++++++++++++++------------ fs/crypto/hooks.c | 4 +- fs/crypto/inline_crypt.c | 32 +++---- fs/crypto/keyring.c | 82 ++++++++++------- fs/crypto/keysetup.c | 62 +++++++------ fs/crypto/keysetup_v1.c | 20 +++-- fs/crypto/policy.c | 83 +++++++++++------ fs/ext4/crypto.c | 13 +-- fs/f2fs/super.c | 13 +-- fs/ubifs/crypto.c | 3 +- include/linux/fs.h | 4 +- include/linux/fscrypt.h | 82 ++++++++++------- include/uapi/linux/fscrypt.h | 3 +- 18 files changed, 546 insertions(+), 349 deletions(-)