eCryptfs: Validate global auth tok keys
authorTyler Hicks <tyhicks@linux.vnet.ibm.com>
Wed, 26 Aug 2009 06:54:56 +0000 (01:54 -0500)
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>
Wed, 23 Sep 2009 14:10:32 +0000 (09:10 -0500)
commit3891959846709a19f76628e33478cd85edb0e79f
tree5916035dc686c93b42c6b6b0045059db7c066f9c
parentdf6ad33ba1b9846bd5f0e2b9016c30c20bc2d948
eCryptfs: Validate global auth tok keys

When searching through the global authentication tokens for a given key
signature, verify that a matching key has not been revoked and has not
expired.  This allows the `keyctl revoke` command to be properly used on
keys in use by eCryptfs.

Acked-by: Serge Hallyn <serue@us.ibm.com>
Cc: ecryptfs-devel@lists.launchpad.net
Cc: stable <stable@kernel.org>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
fs/ecryptfs/keystore.c