nixos/hardened: disable ftrace by default

This commit is contained in:
Joachim Fasting 2019-07-04 18:50:48 +02:00
parent 44b6999614
commit c233e24d54
No known key found for this signature in database
GPG key ID: 5C204DF675C90294

View file

@ -89,4 +89,7 @@ with lib;
#
# The value is taken from the KSPP recommendations (Debian uses 4096).
boot.kernel.sysctl."vm.mmap_min_addr" = mkDefault 65536;
# Disable ftrace debugging
boot.kernel.sysctl."kernel.ftrace_enabled" = mkDefault false;
}