-
Notifications
You must be signed in to change notification settings - Fork 681
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
sysctl_kernel_randomize_va_space: Check sysctl.d/*.conf in addition to sysctl.conf #1066
Conversation
Can one of the admins verify this patch? |
[ok to test] |
Ditto. Will look at this one too. |
Sorry for the commit after the fact. I'm new to creating pull requests and did not realize it would attach to this pull request. |
Hello Josh, thank you for the contribution.
Regarding the pull request: It's actually expected the commit to be attached to the pull request. But rather than pushing the intended feature changes directly in the the
Then someone from SSG upstream would review your pull request, and if it got approved (it got ACK within a comment), they would merge it. If there would be some issues reported, they should be corrected by the contributor via subsequent commits and pushes into the very same feature branch of your fork. Regarding the code changes themselves: Your proposal is trying to change by hand OVAL check that has been created by the OVAL template (or supposed to be created by OVAL template). This can be observed by presence of Rather than try to edit such a file manually by hand, it's better to modify the corresponding CSV file, and copy the already created OVAL file into the intended location (
As can be seen these templates already count with four different locations ( So what's expected to be done:
Side note: The Here's an example how the pull request (list of changed files) looked like in the case Once all of the above is done:
Hope the above being helpful (speak out if some parts of the above got left unclear yet). Regards, Jan. |
Thanks for the guidance. I'll be in touch if I have any additional questions before I submit a new pull request. |
Currently, sysctl_kernel_randomize_va_space only checks the sysctl.conf file. This modification allows sysctl_kernel_randomize_va_space be configured in sysctl.d/*.conf or sysctl.conf.
Please let me know if this is not the proper place to make this edit.