about summary refs log tree commit diff
path: root/docs/env_variables.md
diff options
context:
space:
mode:
authorNils Bars <nils.bars@rub.de>2022-10-24 17:52:04 +0200
committerNils Bars <nils.bars@rub.de>2022-10-24 17:54:03 +0200
commit102b749c0734165f1cb121397e4a4c307666b8eb (patch)
treed2a090fa114ede2091e752d3116ba8742f3dbcbb /docs/env_variables.md
parent7512316b46a25180729ff8c568a6061a0ab19fea (diff)
downloadafl++-102b749c0734165f1cb121397e4a4c307666b8eb.tar.gz
AFL_FORK_SERVER_KILL_SIGNAL backwards compatiblity
If `AFL_KILL_SIGNAL` is set, `AFL_FORK_SERVER_KILL_SIGNAL` is set
to the same value.
Diffstat (limited to 'docs/env_variables.md')
-rw-r--r--docs/env_variables.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/env_variables.md b/docs/env_variables.md
index 6fd08910..d1c13e15 100644
--- a/docs/env_variables.md
+++ b/docs/env_variables.md
@@ -418,6 +418,10 @@ checks or alter some of the more exotic semantics of the tool:
     fork server when AFL++ is terminated. Unless you implement your
     fork server, you likely do not have to set it. By default, `SIGTERM`
     (`AFL_FORK_SERVER_KILL_SIGNAL=15`) will be delivered to the fork server.
+    If only `AFL_KILL_SIGNAL` is provided, `AFL_FORK_SERVER_KILL_SIGNAL` will
+    be set to same value as `AFL_KILL_SIGNAL` to provide backward compatibility.
+    If `AFL_FORK_SERVER_KILL_SIGNAL` is also set, it takes precedence.
+
     NOTE: Uncatchable signals, such as `SIGKILL`, cause child processes of
     the fork server to be orphaned and leaves them in a zombie state.