From: Tyler Hicks Date: Wed, 27 Jul 2011 00:47:08 +0000 (-0500) Subject: eCryptfs: Unlock keys needed by ecryptfsd X-Git-Tag: v3.1-rc1~118^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2987a5e05ec7a1af7ca42e5d5349d7a22753031;p=pandora-kernel.git eCryptfs: Unlock keys needed by ecryptfsd Fixes a regression caused by b5695d04634fa4ccca7dcbc05bb4a66522f02e0b Kernel keyring keys containing eCryptfs authentication tokens should not be write locked when calling out to ecryptfsd to wrap and unwrap file encryption keys. The eCryptfs kernel code can not hold the key's write lock because ecryptfsd needs to request the key after receiving such a request from the kernel. Without this fix, all file opens and creates will timeout and fail when using the eCryptfs PKI infrastructure. This is not an issue when using passphrase-based mount keys, which is the most widely deployed eCryptfs configuration. Signed-off-by: Tyler Hicks Acked-by: Roberto Sassu Tested-by: Roberto Sassu Tested-by: Alexis Hafner1 Cc: [2.6.39+] --- Reading git-diff-tree failed