-
Notifications
You must be signed in to change notification settings - Fork 685
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
Drop setting vm.heap_stack_gap and net.ipv4 sysctl flags #7324
Conversation
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.
kernel-builder change looks good, but unless there's a compelling reason I'd keep the testinfra check.
These are now set via the securedrop-grsec metapackage (see <freedomofpress/kernel-builder#55>). Tests are left in to verify the migration works properly. Refs #7323.
3884e3f
to
37f1827
Compare
This should fail CI now because we haven't built new kernel packages yet, I will see about doing some today or tomorrow. |
The error is: which I guess is an install order issue in that we're installing the new kernel before we try setting grsec kernel flags, so there's no sysctld.conf yet. Let me guard it with an if exists check in the metapackage. |
kernel-builder fix: freedomofpress/kernel-builder#57 |
I've merged freedomofpress/kernel-builder#57, @legoktm, and I'll be happy to re-review this once it passes with kernels rebuilt with it. (Let me know if you'd like me to build them tomorrow.) |
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.
Looks good after 37f1827 and freedomofpress/securedrop-apt-test#258. Thanks, @legoktm.
Status
Ready for review
Description of Changes
These are now set via the securedrop-grsec metapackage (see freedomofpress/kernel-builder#55).
Refs #7323.
Testing
How should the reviewer test this PR?
Deployment
Any special considerations for deployment?
This can only be deployed after a kernel with freedomofpress/kernel-builder#55 is released stable. It's safe to merge ahead of time though once the kernel-builder one is approved.
Checklist