diff options
Diffstat (limited to 'www/chromium-uc/patches/patch-v8_src_trap-handler_handler-inside-posix_cc')
| -rw-r--r-- | www/chromium-uc/patches/patch-v8_src_trap-handler_handler-inside-posix_cc | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/www/chromium-uc/patches/patch-v8_src_trap-handler_handler-inside-posix_cc b/www/chromium-uc/patches/patch-v8_src_trap-handler_handler-inside-posix_cc deleted file mode 100644 index a4cf617..0000000 --- a/www/chromium-uc/patches/patch-v8_src_trap-handler_handler-inside-posix_cc +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | $OpenBSD: patch-v8_src_trap-handler_handler-inside-posix_cc,v 1.11 2021/11/16 11:28:47 robert Exp $ | ||
| 2 | |||
| 3 | Index: v8/src/trap-handler/handler-inside-posix.cc | ||
| 4 | --- v8/src/trap-handler/handler-inside-posix.cc.orig | ||
| 5 | +++ v8/src/trap-handler/handler-inside-posix.cc | ||
| 6 | @@ -53,6 +53,8 @@ namespace trap_handler { | ||
| 7 | #define CONTEXT_REG(reg, REG) &uc->uc_mcontext->__ss.__##reg | ||
| 8 | #elif V8_OS_FREEBSD | ||
| 9 | #define CONTEXT_REG(reg, REG) &uc->uc_mcontext.mc_##reg | ||
| 10 | +#elif V8_OS_OPENBSD | ||
| 11 | +#define CONTEXT_REG(reg, REG) &uc->sc_##reg | ||
| 12 | #else | ||
| 13 | #error "Unsupported platform." | ||
| 14 | #endif | ||
| 15 | @@ -62,8 +64,12 @@ bool IsKernelGeneratedSignal(siginfo_t* info) { | ||
| 16 | // si_code at its default of 0 for signals that don’t originate in hardware. | ||
| 17 | // The other conditions are only relevant for Linux. | ||
| 18 | return info->si_code > 0 && info->si_code != SI_USER && | ||
| 19 | - info->si_code != SI_QUEUE && info->si_code != SI_TIMER && | ||
| 20 | - info->si_code != SI_ASYNCIO && info->si_code != SI_MESGQ; | ||
| 21 | + info->si_code != SI_QUEUE && info->si_code != SI_TIMER | ||
| 22 | +#ifdef V8_OS_OPENBSD | ||
| 23 | + ; | ||
| 24 | +#else | ||
| 25 | + && info->si_code != SI_ASYNCIO && info->si_code != SI_MESGQ; | ||
| 26 | +#endif | ||
| 27 | } | ||
| 28 | |||
| 29 | class UnmaskOobSignalScope { | ||
