]> err.no Git - linux-2.6/commit
[PATCH] Keys: Base keyring size on key pointer not key struct
authorDavid Howells <dhowells@redhat.com>
Fri, 8 Jul 2005 00:57:03 +0000 (17:57 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:46 +0000 (18:23 -0700)
commita4014d8f61a6a136d22422cf8aa978e6495dbad9
treebb5d995c2511b99e131ca92020ffc10cafee4447
parent682d4fc93105ebf0bdfbb04a4b85047999b17844
[PATCH] Keys: Base keyring size on key pointer not key struct

The attached patch makes the keyring functions calculate the new size of a
keyring's payload based on the size of pointer to the key struct, not the size
of the key struct itself.

Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/keys/keyring.c