From bf73db087b93f34489d44b445a8cf34f66570656 Mon Sep 17 00:00:00 2001 From: kdrag0n Date: Thu, 27 Dec 2018 20:52:05 -0800 Subject: [PATCH] arm64: debug: disable self-hosted debug by default Signed-off-by: kdrag0n Signed-off-by: celtare21 --- arch/arm64/kernel/debug-monitors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/debug-monitors.c b/arch/arm64/kernel/debug-monitors.c index 2ccd0a99d8b3..a259c54afbea 100755 --- a/arch/arm64/kernel/debug-monitors.c +++ b/arch/arm64/kernel/debug-monitors.c @@ -62,7 +62,7 @@ NOKPROBE_SYMBOL(mdscr_read); * Allow root to disable self-hosted debug from userspace. * This is useful if you want to connect an external JTAG debugger. */ -static bool debug_enabled = true; +static bool debug_enabled; static int create_debug_debugfs_entry(void) {