diff options
author | David Howells <dhowells@redhat.com> | 2005-12-01 03:51:18 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-01 18:48:56 -0500 |
commit | db1d1d57e97700b4131fe80556dc6ef976d534c4 (patch) | |
tree | abdc78339b1c1bd4e37cb496c68424d9d7d98592 /drivers/char/ec3104_keyb.c | |
parent | 5c72c343719a8c5dba675cd1b27b63c06bfe23d1 (diff) |
[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>
Diffstat (limited to 'drivers/char/ec3104_keyb.c')
0 files changed, 0 insertions, 0 deletions