mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
nixos/hardened: disable ftrace by default
This commit is contained in:
parent
44b6999614
commit
c233e24d54
|
@ -89,4 +89,7 @@ with lib;
|
||||||
#
|
#
|
||||||
# The value is taken from the KSPP recommendations (Debian uses 4096).
|
# The value is taken from the KSPP recommendations (Debian uses 4096).
|
||||||
boot.kernel.sysctl."vm.mmap_min_addr" = mkDefault 65536;
|
boot.kernel.sysctl."vm.mmap_min_addr" = mkDefault 65536;
|
||||||
|
|
||||||
|
# Disable ftrace debugging
|
||||||
|
boot.kernel.sysctl."kernel.ftrace_enabled" = mkDefault false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue