android_kernel_xiaomi_sm8350/security/keys
David Howells db1d1d57e9 [PATCH] Keys: Fix permissions check for update vs add
Permit add_key() to once again update a matching key rather than adding a
new one if a matching key already exists in the target keyring.

This bug causes add_key() to always add a new key, displacing the old from
the target keyring.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-12-01 15:48:56 -08:00
..
compat.c
internal.h
key.c [PATCH] kfree cleanup: security 2005-11-07 07:54:06 -08:00
keyctl.c [PATCH] Keys: Add LSM hooks for key management [try #3] 2005-10-30 17:37:23 -08:00
keyring.c [PATCH] Keys: Fix permissions check for update vs add 2005-12-01 15:48:56 -08:00
Makefile [PATCH] Keys: Split key permissions checking into a .c file 2005-10-08 14:53:31 -07:00
permission.c [PATCH] Keys: Add LSM hooks for key management [try #3] 2005-10-30 17:37:23 -08:00
proc.c
process_keys.c [PATCH] Keys: Add LSM hooks for key management [try #3] 2005-10-30 17:37:23 -08:00
request_key_auth.c [PATCH] Keys: Add request-key process documentation 2005-10-08 14:53:31 -07:00
request_key.c [PATCH] Keys: Add request-key process documentation 2005-10-08 14:53:31 -07:00
user_defined.c [PATCH] Keys: Export user-defined keyring operations 2005-10-30 17:37:22 -08:00