From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752320AbcDCFXj (ORCPT ); Sun, 3 Apr 2016 01:23:39 -0400 Received: from mail-ig0-f193.google.com ([209.85.213.193]:36558 "EHLO mail-ig0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751672AbcDCFXh (ORCPT ); Sun, 3 Apr 2016 01:23:37 -0400 From: Eric Biggers To: linux-fsdevel@vger.kernel.org Cc: linux-f2fs-devel@lists.sourceforge.net, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, jaegeuk@kernel.org, tytso@mit.edu, mhalcrow@google.com, Eric Biggers Subject: [PATCH 00/13] fscrypto: cleanups and fixes Date: Sun, 3 Apr 2016 00:21:51 -0500 Message-Id: <1459660924-2960-1-git-send-email-ebiggers3@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset includes various cleanups for the new filesystem encryption code as well as some bug fixes for the FS_IOC_SET_ENCRYPTION_POLICY ioctl. Eric Biggers (13): fscrypto: remove unnecessary includes fscrypto: rename some functions for clarity fscrypto: rename functions to load and unload inode encryption info fscrypto: return bool instead of int where appropriate fscrypto: comment improvements and fixes fscrypto: crypto_alloc_skcipher() always returns an ERR_PTR(), never NULL fscrypto: simplify building key descriptor string fscrypto: use standard macros from kernel.h fscrypto: make fname_encrypt() actually return length of ciphertext fscrypto: restrict setting new policy to empty files and directories only fscrypto: restrict setting encryption policy to inode owner fscrypto: require write access to mount to set encryption policy fscrypto: improve error handling in fscrypt_set_policy() fs/crypto/crypto.c | 25 +++++---- fs/crypto/fname.c | 72 ++++++++++++++++---------- fs/crypto/keyinfo.c | 47 ++++++++--------- fs/crypto/policy.c | 131 +++++++++++++++++++++++++++-------------------- fs/f2fs/dir.c | 4 +- fs/f2fs/f2fs.h | 6 +-- fs/f2fs/file.c | 10 ++-- fs/f2fs/inode.c | 2 +- fs/f2fs/namei.c | 10 ++-- fs/f2fs/super.c | 2 +- include/linux/fscrypto.h | 81 +++++++++++++++++++++-------- 11 files changed, 236 insertions(+), 154 deletions(-) -- 2.7.4