diff options
Diffstat (limited to 'emulators/qemu-devel/files/extra-patch-bsd-user-trapsig')
| -rw-r--r-- | emulators/qemu-devel/files/extra-patch-bsd-user-trapsig | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/emulators/qemu-devel/files/extra-patch-bsd-user-trapsig b/emulators/qemu-devel/files/extra-patch-bsd-user-trapsig deleted file mode 100644 index d19de61578e3..000000000000 --- a/emulators/qemu-devel/files/extra-patch-bsd-user-trapsig +++ /dev/null @@ -1,22 +0,0 @@ -From nox Mon Sep 17 00:00:00 2001 -From: Juergen Lock <nox@jelal.kn-bremen.de> -Date: 06 Jul 2014 16:37:00 +0200 -Subject: bsd-user: writing to readonly page can cause trap 0xc on FreeBSD too - -Signed-off-by: Juergen Lock <nox@jelal.kn-bremen.de> - ---- a/user-exec.c -+++ b/user-exec.c -@@ -230,7 +230,12 @@ int cpu_signal_handler(int host_signum, - - pc = PC_sig(uc); - return handle_cpu_signal(pc, (unsigned long)info->si_addr, -+#if defined(__FreeBSD__) || defined(__DragonFly__) -+ (TRAP_sig(uc) == 0xe || -+ TRAP_sig(uc) == 0xc) ? -+#else - TRAP_sig(uc) == 0xe ? -+#endif - (ERROR_sig(uc) >> 1) & 1 : 0, - &MASK_sig(uc), puc); - } |
