about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-08-08 09:08:51 +0200
committerGitHub <noreply@github.com>2019-08-08 09:08:51 +0200
commit65a3a9773d2e00c549a0fc54e9942c323d8d2a55 (patch)
treebed174ebff6f2ec73877f6207d5506b3d1386b5e
parent07df1e303419a642b96750411af99b586d0ea5a0 (diff)
parent0f476a289ff104c311ae3a1dadcc5815665e00ee (diff)
downloadafl++-65a3a9773d2e00c549a0fc54e9942c323d8d2a55.tar.gz
Merge pull request #39 from floyd-fuh/master
Workaround patch for QEMU
-rw-r--r--qemu_mode/patches/syscall.diff5
1 files changed, 3 insertions, 2 deletions
diff --git a/qemu_mode/patches/syscall.diff b/qemu_mode/patches/syscall.diff
index cb2acfcd..60b5905e 100644
--- a/qemu_mode/patches/syscall.diff
+++ b/qemu_mode/patches/syscall.diff
@@ -2,9 +2,10 @@ diff --git a/linux-user/syscall.c b/linux-user/syscall.c
 index 280137da..8c0e749f 100644
 --- a/linux-user/syscall.c
 +++ b/linux-user/syscall.c
-@@ -112,6 +112,8 @@
+@@ -112,6 +112,9 @@
  #include "qemu.h"
  #include "fd-trans.h"
++#include <linux/sockios.h>
  
 +extern unsigned int afl_forksrv_pid;
 +
@@ -32,4 +33,4 @@ index 280137da..8c0e749f 100644
 +        }
  
  #ifdef TARGET_NR_set_robust_list
-     case TARGET_NR_set_robust_list:
+     case TARGET_NR_set_robust_list:
\ No newline at end of file