about summary refs log tree commit diff
path: root/include/config.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-07-08 11:16:39 +0200
committervan Hauser <vh@thc.org>2020-07-08 11:16:39 +0200
commit83790d65afb52a055d093451a50ce55690a25002 (patch)
treee8bb9f04e8f90453f05f19b015025655c8950cd3 /include/config.h
parent70bd0f799de1a907627b28ad80a447634299839b (diff)
downloadafl++-83790d65afb52a055d093451a50ce55690a25002.tar.gz
eliminate race condition for cpu affinity on -M/-S
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 7de74009..4503c3e9 100644
--- a/include/config.h
+++ b/include/config.h
@@ -380,6 +380,10 @@
 
 #define CMPLOG_SHM_ENV_VAR "__AFL_CMPLOG_SHM_ID"
 
+/* CPU Affinity lockfile env var */
+
+#define CPU_AFFINITY_ENV_VAR "__AFL_LOCKFILE"
+
 /* Uncomment this to use inferior block-coverage-based instrumentation. Note
    that you need to recompile the target binary for this to have any effect: */