From patchwork Tue Apr 25 06:24:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Eric Biggers X-Patchwork-Id: 87255 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp3210270vqo; Mon, 24 Apr 2023 23:43:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5tjRH1pX1S/UtGh8P11XYF1juuGnSsbP5O88f5ADfVC1o5LYTL+Th9NOmFeKPY4fxwNfJA X-Received: by 2002:a17:902:ea03:b0:1a9:79e7:2ba with SMTP id s3-20020a170902ea0300b001a979e702bamr7543698plg.23.1682405029580; Mon, 24 Apr 2023 23:43:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682405029; cv=none; d=google.com; s=arc-20160816; b=wzHN8BXYchmvXerlrV1sDOdkSpq/yCh+05FvRGVe9PAuMf84VyGYTymmm5SDQMfI7g +ahZSo4zGZg6ZWM/k3F28kkud1vbAFdHcx6Pj1WHLAAz4G+mD1Y5aqP5VWI6e9jnVd3Z UcmekJuXI3A7X0v3Uf2uY2nqWh2CQfVWFgaInapXbJXyrvWZ/MJG51dTY44Y5L5c7ixd qJYlSMOrgTbjqjcJe0ZjmLW2g+djJE8OvBPOx3NZw+03xzS30xd8vUXoiFmJVmf5+yih RtuFTkonTSY/7BpaYypE/MxGluc0tB3bV17KZZngH9I0xTpoSynY0za9yyz4mXQKMAgl BOIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=RjNBp3kDPMrRACBTwJxnIvep06XqaXTI/y27DJOJeZw=; b=FqJ+jYDwTRU+LgK1qOLpVfolitQjNLAtGVc+jMnSkZveitSiIQwp3V2fLC68xwSRWy +B056+QOvsLpWV1UzDOspq0SeKZFXLoAmCSqrcU6ZlB6swJzhSfKocY0bhDA/rAonikk UzvTDzdEIl6/ECiJ7CzyzVpwOm1uNMJq2dxsjQkrA/kLH05P/DMciE7GEIw4lZwRok2C 6FGamIqQR/Un26ZjNVFL+jjuY/4lOoqGsbaGIXimodQn4qCtnkEVAA+117asn9QY4zV7 Mo7Zm9xp4w6JXM457drDIiiMp/XsJ60A+3vXWZNL0T2AOfLdh99SpuAiVIH9GSbEkxIZ AgyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qd2YARxd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n10-20020a170902e54a00b0019a71e14c19si13884863plf.320.2023.04.24.23.43.34; Mon, 24 Apr 2023 23:43:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qd2YARxd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S233406AbjDYGZA (ORCPT + 99 others); Tue, 25 Apr 2023 02:25:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232430AbjDYGY6 (ORCPT ); Tue, 25 Apr 2023 02:24:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12577B453; Mon, 24 Apr 2023 23:24:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A186462266; Tue, 25 Apr 2023 06:24:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0C10C433EF; Tue, 25 Apr 2023 06:24:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682403893; bh=Mi+ZKZMKXNwM0BSVBqcBzXImZhMGe19r2+9wf6AKP00=; h=Date:From:To:Cc:Subject:From; b=qd2YARxdhCnp9zDPfkwAGEymJRl22vpunNo7D6Kf94aHzlXEpuO/4SdSqZG5QocUE zICDdZyivpfrjT+bffR2bdluSh0nNof8xll2IDnACD8iFk729k9ehWHZxa8ioMbNCS UalK0uZzNzc7SpK7FyIaPXlXv0yb9nAwVbn9mcvcc6zXf6u/ieEpH7X4q3nCpy4N3Q qwxtd66nDEN8HBjvkcbNiYc/rWsLaNQ5oVz4mM5Q7h2KPOirEKUN7S/BiCj/3sSpmH ahP1Zl5I8NR4FQ0rYzSZ7YbNntPm18d1w9r7FTck3rMg+Al5j0f4HKOL8DR3Vr2uI8 ykujtVvntBHcg== Date: Mon, 24 Apr 2023 23:24:51 -0700 From: Eric Biggers To: Linus Torvalds Cc: linux-fscrypt@vger.kernel.org, linux-fsdevel@vger.kernel.org, ceph-devel@vger.kernel.org, linux-kernel@vger.kernel.org, Theodore Ts'o , Jaegeuk Kim Subject: [GIT PULL] fscrypt updates for 6.4 Message-ID: <20230425062451.GA77408@sol.localdomain> MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764129536557331257?= X-GMAIL-MSGID: =?utf-8?q?1764129536557331257?= The following changes since commit 197b6b60ae7bc51dd0814953c562833143b292aa: Linux 6.3-rc4 (2023-03-26 14:40:20 -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 83e57e47906ce0e99bd61c70fae514e69960d274: fscrypt: optimize fscrypt_initialize() (2023-04-06 11:16:39 -0700) ---------------------------------------------------------------- A few cleanups for fs/crypto/, and another patch to prepare for the upcoming CephFS encryption support. ---------------------------------------------------------------- Eric Biggers (3): fs/buffer.c: use b_folio for fscrypt work fscrypt: use WARN_ON_ONCE instead of WARN_ON fscrypt: optimize fscrypt_initialize() Luís Henriques (1): fscrypt: new helper function - fscrypt_prepare_lookup_partial() fs/buffer.c | 4 ++-- fs/crypto/bio.c | 6 +++--- fs/crypto/crypto.c | 19 ++++++++++++------- fs/crypto/fname.c | 4 ++-- fs/crypto/fscrypt_private.h | 6 +++--- fs/crypto/hkdf.c | 4 ++-- fs/crypto/hooks.c | 32 +++++++++++++++++++++++++++++++- fs/crypto/keyring.c | 14 +++++++------- fs/crypto/keysetup.c | 14 +++++++------- fs/crypto/policy.c | 4 ++-- include/linux/fscrypt.h | 7 +++++++ 11 files changed, 78 insertions(+), 36 deletions(-)