Bug 171705
Description
David Howells
2005-10-25 13:55:22 UTC
Created attachment 120354 [details]
Add supplementary rights for those in possession of a key
Created attachment 120355 [details]
Export user-defined key type operations
Created attachment 120356 [details]
Move permissions check function into a .c file
Created attachment 120357 [details]
Improve the request_key documentation
Created attachment 120359 [details]
Make possessor permissions additive
Created attachment 120361 [details]
Remove key duplication facility
Created attachment 120363 [details]
Add LSM hooks for key management
Created attachment 120365 [details]
Fix a warning in kmod.c if keys are disabled
Created attachment 120600 [details]
Remove incorrect obsolete logical-NOT operators
This patch removes a couple of incorrect and obsolete '!' operators
left over from the conversion of the key permission functions from true/false
returns to zero/error returns.
Created attachment 121673 [details]
Permission checking fix for key update vs add
This patch fixes a bug in the "Add LSM hooks for key management" patch in which
the wrong logic was applied to the tests when searching a keyring for a match
to determine whether add_key() should update an existing key or create a new
one.
Without this patch, it'll always create a new key and discard the old one from
the keyring. With this patch it'll update an old key if it can.
This got into last night's 2.6.9-25 beta build. So setting state to modified. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2006-0132.html |