about summary refs log tree commit diff
path: root/include/forkserver.h
diff options
context:
space:
mode:
authorNils Bars <nils.bars@rub.de>2022-10-21 12:13:43 +0200
committerNils Bars <nils.bars@rub.de>2022-10-21 12:47:00 +0200
commit7512316b46a25180729ff8c568a6061a0ab19fea (patch)
tree81db6020d1d6e1c8d8f050fe647a25c79f1dd37d /include/forkserver.h
parentf84ea696606b3dd6ae40006e5efb9f178651e916 (diff)
downloadafl++-7512316b46a25180729ff8c568a6061a0ab19fea.tar.gz
Add AFL_FORK_SERVER_KILL_SIGNAL environment variable.
The AFL_FORK_SERVER_KILL_SIGNAL variable allows to configure the signal
used to kill the fork server on termination.
Diffstat (limited to 'include/forkserver.h')
-rw-r--r--include/forkserver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/forkserver.h b/include/forkserver.h
index 59624194..bfd441d4 100644
--- a/include/forkserver.h
+++ b/include/forkserver.h
@@ -164,6 +164,8 @@ typedef struct afl_forkserver {
   void (*add_extra_func)(void *afl_ptr, u8 *mem, u32 len);
 
   u8 child_kill_signal;
+  u8 fsrv_kill_signal;
+
   u8 persistent_mode;
 
 #ifdef __linux__