From 0f476a289ff104c311ae3a1dadcc5815665e00ee Mon Sep 17 00:00:00 2001 From: floyd Date: Tue, 6 Aug 2019 17:00:14 +0200 Subject: 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 --- qemu_mode/patches/syscall.diff | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'qemu_mode/patches/syscall.diff') 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 +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 -- cgit 1.4.1