git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aee683b
)
ecryptfs: checking return code of ecryptfs_find_auth_tok_for_sig()
author
Roberto Sassu
<roberto.sassu@polito.it>
Wed, 6 Oct 2010 16:31:15 +0000
(18:31 +0200)
committer
Tyler Hicks
<tyhicks@linux.vnet.ibm.com>
Fri, 29 Oct 2010 15:31:36 +0000
(10:31 -0500)
This patch replaces the check of the 'matching_auth_tok' pointer with
the exit status of ecryptfs_find_auth_tok_for_sig().
This avoids to use authentication tokens obtained through the function
ecryptfs_keyring_auth_tok_for_sig which are not valid.
Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Cc: Dustin Kirkland <kirkland@canonical.com>
Cc: James Morris <jmorris@namei.org>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
fs/ecryptfs/keystore.c
patch
|
blob
|
history
diff --cc
fs/ecryptfs/keystore.c
Simple merge