forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eCryptfs: Unlock keys needed by ecryptfsd
Fixes a regression caused by b5695d0 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 <[email protected]> Acked-by: Roberto Sassu <[email protected]> Tested-by: Roberto Sassu <[email protected]> Tested-by: Alexis Hafner1 <[email protected]> Cc: <[email protected]> [2.6.39+]
- Loading branch information
Tyler Hicks
committed
Jul 29, 2011
1 parent
55f9c40
commit b2987a5
Showing
1 changed file
with
25 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters