[GIT PULL] eCryptfs fixes for 3.9-rc2

From: Tyler Hicks
Date: Wed Mar 06 2013 - 20:15:37 EST


Hi Linus,

The following changes since commit dfdebc24837ed0a1d6ad73b108a10d3c88d1b6e8:

Merge tag 'for-linus-v3.8-rc4' of git://oss.sgi.com/xfs/xfs (2013-01-16 16:19:54 -0800)

are available in the git repository at:


git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs.git tags/ecryptfs-3.9-rc2-fixes

for you to fetch changes up to 290502bee239062499297916bb7d21d205e99d62:

eCryptfs: allow userspace messaging to be disabled (2013-03-03 23:59:59 -0800)

----------------------------------------------------------------
Minor code cleanups and new Kconfig option to disable /dev/ecryptfs

The code cleanups fix up W=1 compiler warnings and some unnecessary checks. The
new Kconfig option, defaulting to N, allows the rarely used eCryptfs kernel to
userspace communication channel to be compiled out. This may be the first step
in it being eventually removed.

----------------------------------------------------------------
Dan Carpenter (1):
eCryptfs: remove unneeded checks in virt_to_scatterlist()

Kees Cook (1):
eCryptfs: allow userspace messaging to be disabled

Simon Que (1):
eCryptfs: initialize payload_len in keystore.c

Tim Gardner (2):
eCryptfs: decrypt_pki_encrypted_session_key(): remove kfree() redundant null check
ecryptfs: ecryptfs_msg_ctx_alloc_to_free(): remove kfree() redundant null check

Tyler Hicks (3):
eCryptfs: Fix -Wunused-but-set-variable warnings
eCryptfs: Fix -Wmissing-prototypes warnings
eCryptfs: Fix redundant error check on ecryptfs_find_daemon_by_euid()

fs/ecryptfs/Kconfig | 8 ++++++++
fs/ecryptfs/Makefile | 7 +++++--
fs/ecryptfs/crypto.c | 9 +++------
fs/ecryptfs/dentry.c | 2 --
fs/ecryptfs/ecryptfs_kernel.h | 40 ++++++++++++++++++++++++++++++++++++++--
fs/ecryptfs/file.c | 2 --
fs/ecryptfs/inode.c | 8 ++++----
fs/ecryptfs/keystore.c | 9 ++++-----
fs/ecryptfs/messaging.c | 5 ++---
include/linux/ecryptfs.h | 12 ++----------
10 files changed, 66 insertions(+), 36 deletions(-)

Attachment: signature.asc
Description: Digital signature