]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] keys: sort out key quota system
authorDavid Howells <dhowells@redhat.com>
Mon, 26 Jun 2006 07:24:50 +0000 (00:24 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:18 +0000 (09:58 -0700)
commit2181a02bd1b25e25db077110a1964af2b894133e
tree97656e2c56a27be9d1da451dde627b693b8643f2
parent2f0e5d48f603f47833a28219b267c128f9cedcf6
[PATCH] keys: sort out key quota system

Add the ability for key creation to overrun the user's quota in some
circumstances - notably when a session keyring is created and assigned to a
process that didn't previously have one.

This means it's still possible to log in, should PAM require the creation of a
new session keyring, and fix an overburdened key quota.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/key.h
include/linux/security.h
security/dummy.c
security/keys/internal.h
security/keys/key.c
security/keys/keyctl.c
security/keys/keyring.c
security/keys/process_keys.c
security/keys/request_key.c
security/keys/request_key_auth.c
security/selinux/hooks.c