grsecurity module: enforce size overflows by default
It is better to make this conditional on whether the configuration contains a known size overflow that could prevent the system from booting.
This commit is contained in:
parent
e04019d690
commit
c606b9876f
@ -48,10 +48,6 @@ in
|
|||||||
(isYES "GRKERNSEC_SYSCTL_DISTRO")
|
(isYES "GRKERNSEC_SYSCTL_DISTRO")
|
||||||
];
|
];
|
||||||
|
|
||||||
# Crashing on an overflow in kernel land is user unfriendly and may prevent
|
|
||||||
# the system from booting, which is too severe for our use case.
|
|
||||||
boot.kernelParams = [ "pax_size_overflow_report_only" ];
|
|
||||||
|
|
||||||
# Install PaX related utillities into the system profile. Eventually, we
|
# Install PaX related utillities into the system profile. Eventually, we
|
||||||
# also want to include gradm here.
|
# also want to include gradm here.
|
||||||
environment.systemPackages = with pkgs; [ paxctl pax-utils ];
|
environment.systemPackages = with pkgs; [ paxctl pax-utils ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user