linux-uconsole/fs/ecryptfs
Tim Sally 6c0e763318 eCryptfs: check for eCryptfs cipher support at mount
commit 5f5b331d5c upstream.

The issue occurs when eCryptfs is mounted with a cipher supported by
the crypto subsystem but not by eCryptfs. The mount succeeds and an
error does not occur until a write. This change checks for eCryptfs
cipher support at mount time.

Resolves Launchpad issue #338914, reported by Tyler Hicks in 03/2009.
https://bugs.launchpad.net/ecryptfs/+bug/338914

Signed-off-by: Tim Sally <tsally@atomicpeace.com>
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Cc: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-11-26 11:34:55 -08:00
..
crypto.c eCryptfs: Fix oops when printing debug info in extent crypto functions 2012-02-03 09:18:51 -08:00
debug.c eCryptfs: update comment and debug statement 2007-10-16 09:43:11 -07:00
dentry.c eCryptfs: Handle NULL nameidata pointers 2011-02-21 14:45:57 -06:00
ecryptfs_kernel.h eCryptfs: Remove ecryptfs_header_cache_2 2011-05-29 14:24:25 -05:00
file.c eCryptfs: Flush file in vma close 2011-12-09 08:52:18 -08:00
inode.c eCryptfs: Copy up attributes of the lower target inode after rename 2012-10-02 09:47:23 -07:00
Kconfig eCryptfs: Remove Kconfig NET dependency and select MD5 2009-10-08 11:31:36 -05:00
keystore.c eCryptfs: Unlock keys needed by ecryptfsd 2011-08-04 21:58:39 -07:00
kthread.c eCryptfs: Properly check for O_RDONLY flag before doing privileged open 2012-07-16 08:47:50 -07:00
main.c eCryptfs: check for eCryptfs cipher support at mount 2012-11-26 11:34:55 -08:00
Makefile eCryptfs: remove netlink transport 2008-10-16 11:21:39 -07:00
messaging.c ecryptfs: properly mark init functions 2010-08-27 10:50:52 -05:00
miscdev.c eCryptfs: Fix lockdep warning in miscdev operations 2012-07-16 08:47:49 -07:00
mmap.c eCryptfs: Unlock page in write_begin error path 2011-03-28 01:47:46 -05:00
read_write.c eCryptfs: Infinite loop due to overflow in ecryptfs_write() 2012-02-13 11:06:09 -08:00
super.c eCryptfs: Consolidate inode functions into inode.c 2011-05-29 12:49:53 -05:00