nixos/hardened: disable ftrace by default
This commit is contained in:
parent
44b6999614
commit
c233e24d54
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue