blob: 0996069bac812245265a1f0c8bda5cded6298069 (
plain) (
tree)
|
|
--- otp-OTP-21.2.6.orig/erts/emulator/hipe/hipe_x86_signal.c
+++ otp-OTP-21.2.6/erts/emulator/hipe/hipe_x86_signal.c
@@ -159,16 +159,10 @@
#if !(defined(__GLIBC__) || defined(__DARWIN__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__sun__))
/*
- * Unknown libc -- assume musl. Note: musl deliberately does not provide a musl-specific
- * feature test macro, so we cannot check for it.
- *
- * sigaction is a weak alias for __sigaction, which is a wrapper for __libc_sigaction.
- * There are libc-internal calls to __libc_sigaction which install handlers, so we must
- * override __libc_sigaction rather than __sigaction.
+ * Unknown libc -- assume musl. Also assume signal delivery on musl is safe.
*/
-#define NEXT_SIGACTION "__libc_sigaction"
-#define LIBC_SIGACTION __libc_sigaction
-#define OVERRIDE_SIGACTION
+#undef NEXT_SIGACTION
+#undef OVERRIDE_SIGACTION
#ifndef _NSIG
#define _NSIG NSIG
#endif
|