summaryrefslogtreecommitdiffstats
path: root/fs/xattr_acl.c
diff options
context:
space:
mode:
authorRoberto Sassu <roberto.sassu@polito.it>2011-03-21 16:00:54 +0100
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>2011-03-28 08:49:42 +0200
commit950983fc04e02232e0d25717903461578a755ebb (patch)
treee78bd71ecfd12b87237db398116ac2c19082505b /fs/xattr_acl.c
parenteCryptfs: verify authentication tokens before their use (diff)
downloadlinux-950983fc04e02232e0d25717903461578a755ebb.tar.xz
linux-950983fc04e02232e0d25717903461578a755ebb.zip
eCryptfs: move ecryptfs_find_auth_tok_for_sig() call before mutex_lock
The ecryptfs_find_auth_tok_for_sig() call is moved before the mutex_lock(s->tfm_mutex) instruction in order to avoid possible deadlocks that may occur by holding the lock on the two semaphores 'key->sem' and 's->tfm_mutex' in reverse order. Signed-off-by: Roberto Sassu <roberto.sassu@polito.it> Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Diffstat (limited to 'fs/xattr_acl.c')
0 files changed, 0 insertions, 0 deletions