aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_linux.h
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2019-10-07 21:54:59 +0200
committerMarco Elver <marco.elver@gmail.com>2019-10-08 15:04:54 +0200
commit137e37cac241dfee41f3899d3b97eca4e62b8359 (patch)
tree0e72d1f4e08fb7bad51fc8e50e87fde559e6aefb /executor/common_linux.h
parent64612bfd3c83d7246467cd9731f01a36b6331598 (diff)
Change KCSAN info file to debugfs
Diffstat (limited to 'executor/common_linux.h')
-rw-r--r--executor/common_linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h
index 13bc71011..de9db05ff 100644
--- a/executor/common_linux.h
+++ b/executor/common_linux.h
@@ -2782,7 +2782,7 @@ static void setup_binfmt_misc()
#if SYZ_EXECUTOR || SYZ_ENABLE_KCSAN
static void setup_kcsan()
{
- if (!write_file("/proc/kcsaninfo", "on"))
+ if (!write_file("/sys/kernel/debug/kcsan", "on"))
fail("failed to enable KCSAN");
}
#endif