From patchwork Tue May 7 23:30:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Theodore Ts'o X-Patchwork-Id: 10933871 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1F57F1390 for ; Tue, 7 May 2019 23:30:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0A3E32870C for ; Tue, 7 May 2019 23:30:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ECD572880D; Tue, 7 May 2019 23:30:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 601632870C for ; Tue, 7 May 2019 23:30:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726276AbfEGXar (ORCPT ); Tue, 7 May 2019 19:30:47 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:41862 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726091AbfEGXar (ORCPT ); Tue, 7 May 2019 19:30:47 -0400 Received: from callcc.thunk.org (guestnat-104-133-0-109.corp.google.com [104.133.0.109] (may be forged)) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id x47NUgJk013851 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 7 May 2019 19:30:43 -0400 Received: by callcc.thunk.org (Postfix, from userid 15806) id 55148420024; Tue, 7 May 2019 19:30:42 -0400 (EDT) Date: Tue, 7 May 2019 19:30:42 -0400 From: "Theodore Ts'o" To: torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org, linux-fscrypt@vger.kernel.org Subject: [GIT PULL] fscrypt updates for 5.2 Message-ID: <20190507233042.GA28476@mit.edu> Mail-Followup-To: Theodore Ts'o , torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, linux-fscrypt@vger.kernel.org MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-fscrypt-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fscrypt@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The following changes since commit dc4060a5dc2557e6b5aa813bf5b73677299d62d2: Linux 5.1-rc5 (2019-04-14 15:17:41 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt.git tags/fscrypt_for_linus for you to fetch changes up to 2c58d548f5706d085c4b009f6abb945220460632: fscrypt: cache decrypted symlink target in ->i_link (2019-04-17 12:43:29 -0400) ---------------------------------------------------------------- Clean up fscrypt's dcache revalidation support, and other miscellaneous cleanups. ---------------------------------------------------------------- Eric Biggers (10): fscrypt: drop inode argument from fscrypt_get_ctx() fscrypt: remove WARN_ON_ONCE() when decryption fails fscrypt: use READ_ONCE() to access ->i_crypt_info fscrypt: clean up and improve dentry revalidation fscrypt: fix race allowing rename() and link() of ciphertext dentries fs, fscrypt: clear DCACHE_ENCRYPTED_NAME when unaliasing directory fscrypt: only set dentry_operations on ciphertext dentries fscrypt: fix race where ->lookup() marks plaintext dentry as ciphertext vfs: use READ_ONCE() to access ->i_link fscrypt: cache decrypted symlink target in ->i_link fs/crypto/bio.c | 8 +++----- fs/crypto/crypto.c | 74 ++++++++++++++++++++++++++++++++++------------------------------------- fs/crypto/fname.c | 5 +++-- fs/crypto/hooks.c | 68 +++++++++++++++++++++++++++++++++++++++++++++++++---------------- fs/crypto/keyinfo.c | 25 ++++++++++++++++++++++-- fs/crypto/policy.c | 6 +++--- fs/dcache.c | 2 ++ fs/ext4/ext4.h | 62 ++++++++++++++++++++++++++++++++++++++++++++--------------- fs/ext4/namei.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++----------------------- fs/ext4/readpage.c | 2 +- fs/ext4/super.c | 3 +++ fs/f2fs/namei.c | 17 ++++++++++------- fs/f2fs/super.c | 3 +++ fs/namei.c | 4 ++-- fs/ubifs/dir.c | 8 +++----- fs/ubifs/super.c | 3 +++ include/linux/dcache.h | 2 +- include/linux/fscrypt.h | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++--------------------- 18 files changed, 298 insertions(+), 144 deletions(-)