WSL2-Linux-Kernel/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
..
Makefile
compat.c
internal.h
key.c
keyctl.c
keyring.c
permission.c
proc.c
process_keys.c
request_key.c
request_key_auth.c
user_defined.c