eCryptfs: allow userspace messaging to be disabled
authorKees Cook <keescook@chromium.org>
Thu, 28 Feb 2013 08:39:37 +0000 (00:39 -0800)
committerTyler Hicks <tyhicks@canonical.com>
Mon, 4 Mar 2013 07:59:59 +0000 (23:59 -0800)
commit290502bee239062499297916bb7d21d205e99d62
treea9ec1729138c7f71c1c4e3e09ce12cf40db767e3
parent1111eae90fb64a9d9ed133e410712f1e34fdce4a
eCryptfs: allow userspace messaging to be disabled

When the userspace messaging (for the less common case of userspace key
wrap/unwrap via ecryptfsd) is not needed, allow eCryptfs to build with
it removed. This saves on kernel code size and reduces potential attack
surface by removing the /dev/ecryptfs node.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
fs/ecryptfs/Kconfig
fs/ecryptfs/Makefile
fs/ecryptfs/ecryptfs_kernel.h
fs/ecryptfs/keystore.c
include/linux/ecryptfs.h