about summary refs log tree commit diff
path: root/qemu_mode
diff options
context:
space:
mode:
authorfloyd <floyd@floyd.ch>2019-08-06 17:00:14 +0200
committerfloyd <floyd@floyd.ch>2019-08-06 17:00:14 +0200
commit0f476a289ff104c311ae3a1dadcc5815665e00ee (patch)
tree9cdb5c9ea0c667456d846a559a860bbb93504f49 /qemu_mode
parent1315021388c456f3d4f342255612da32fe0e2b87 (diff)
downloadafl++-0f476a289ff104c311ae3a1dadcc5815665e00ee.tar.gz
Ugly patch for this issue https://lists.sr.ht/~philmd/qemu/patches/6224#%3C20190617114005.24603-1-berrange@redhat.com%3E+linux-user/syscall.c in QEMU with ubuntu 19.10
Diffstat (limited to 'qemu_mode')
-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