From b39c01b69cb279e54a21b69087cd2b4b4ab98872 Mon Sep 17 00:00:00 2001 From: Brandon Weeks Date: Sun, 9 Jan 2022 11:41:33 -0800 Subject: [PATCH] linux: enable DEBUG_LIST --- pkgs/os-specific/linux/kernel/common-config.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index a861d38ac662..29653314d1b5 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -449,6 +449,8 @@ let }; security = { + # https://googleprojectzero.blogspot.com/2019/11/bad-binder-android-in-wild-exploit.html + DEBUG_LIST = yes; # Detect writes to read-only module pages DEBUG_SET_MODULE_RONX = { optional = true; tristate = whenOlder "4.11" "y"; }; RANDOMIZE_BASE = option yes;