From: Roberto Sassu Date: Mon, 21 Mar 2011 15:00:53 +0000 (+0100) Subject: eCryptfs: verify authentication tokens before their use X-Git-Tag: v2.6.39-rc1~18^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e1fc5ef470cc1d157005c437a434868d59fead4;p=pandora-kernel.git eCryptfs: verify authentication tokens before their use Authentication tokens content may change if another requestor calls the update() method of the corresponding key. The new function ecryptfs_verify_auth_tok_from_key() retrieves the authentication token from the provided key and verifies if it is still valid before being used to encrypt or decrypt an eCryptfs file. Signed-off-by: Roberto Sassu [tyhicks: Minor formatting changes] Signed-off-by: Tyler Hicks --- Reading git-diff-tree failed