-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow for user-defined libraries #4
base: master
Are you sure you want to change the base?
Conversation
Create a mutator for LIBRARIES for cases where keyutil library names are not CentOS default.
|
||
# Public: Update the shared library names, for systems with different | ||
# libraries that CentOS installations. | ||
# |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing whitespace detected.
@@ -25,6 +25,14 @@ module KeyControl | |||
def self.library_names | |||
LIBRARIES | |||
end | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing whitespace detected.
I'll be honest, I don't know how to submit a new patch which is why I haven't. |
The contributor guidelines assume you're going through a standard fork + branch workflow. I'm unsure how you'd update a submitted patch. Don't worry about dealing with the whitespace issues; I'll commit the fix with some minor adjustments over the weekend. |
Create a mutator for
LIBRARIES
for cases wherekeyutil
library names are not CentOS default.I needed this for two use cases:
jruby
it didn't seem to raise the same exception, but rather aLoadError
which would terminate the process early.There is an edge case for systems that don't have it named in the same way as CentOS (which I couldn't find, although I didn't try too hard), if the calling application checks the ELF header of
keyctl
and identifies the correct library, it can then callkey_control
with that library.