eCryptfs: write lock requested keys
authorRoberto Sassu <roberto.sassu@polito.it>
Mon, 21 Mar 2011 15:00:55 +0000 (16:00 +0100)
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>
Mon, 28 Mar 2011 06:49:43 +0000 (01:49 -0500)
commitb5695d04634fa4ccca7dcbc05bb4a66522f02e0b
tree568155380ea1b1fa3b9e68f68dd74cdd9d651229
parent950983fc04e02232e0d25717903461578a755ebb
eCryptfs: write lock requested keys

A requested key is write locked in order to prevent modifications on the
authentication token while it is being used.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
fs/ecryptfs/keystore.c
fs/ecryptfs/main.c