]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Keys: Fix key quota management on key allocation
authorDavid Howells <dhowells@redhat.com>
Sat, 25 Mar 2006 11:06:51 +0000 (03:06 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 25 Mar 2006 16:22:50 +0000 (08:22 -0800)
commit36710218a2d909e5bf3a82288ade4ef3e3407ee4
tree14c72fa82afa4e325c4aaa3f84c31ab154f60b1d
parentae8d16fa85109c207c6445b911b76d9ea15c3892
[PATCH] Keys: Fix key quota management on key allocation

Make key quota detection generate an error if either quota is exceeded rather
than only if both quotas are exceeded.

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/key.c