summaryrefslogtreecommitdiff
path: root/emu/Linux
diff options
context:
space:
mode:
Diffstat (limited to 'emu/Linux')
-rw-r--r--emu/Linux/os.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/emu/Linux/os.c b/emu/Linux/os.c
index c6a0b559..49aec7e5 100644
--- a/emu/Linux/os.c
+++ b/emu/Linux/os.c
@@ -16,6 +16,10 @@
#include <sys/syscall.h>
#define getpid() syscall(SYS_getpid)
+/* temporarily suppress CLONE_PTRACE so it works on broken Linux kernels */
+#undef CLONE_PTRACE
+#define CLONE_PTRACE 0
+
enum
{
DELETE = 0x7f,