Fixes crash in i386 when user emulation base address is non-zero.
21797 rt_sigreturn(8,1082124603,1,0,1082126048,1082126248)Exit reason and
status: signal 11
Signed-off-by: Mike McCormack
---
linux-user/signal.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux
Fixes crash in i386 when user emulation base address is non-zero.
21797 rt_sigreturn(8,1082124603,1,0,1082126048,1082126248)Exit reason and
status: signal 11
Signed-off-by: Mike McCormack
---
linux-user/signal.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux
On 04/20/2011 12:33 AM, Richard Henderson wrote:
> Did you try --enable-user-pie? It may not really help, but I'm curious.
No. I don't think it will help because placement of the executable probably
doesn't account for how large its heap will grow.
You'll still run out of memory as the heap gro
ux-user/preloader.c
new file mode 100644
index 000..9ab59fb
--- /dev/null
+++ b/linux-user/preloader.c
@@ -0,0 +1,1161 @@
+/*
+ * Preloader for ld.so
+ *
+ * Copyright (C) 1995,96,97,98,99,2000,2001,2002 Free Software Foundation, Inc.
+ * Copyright (C) 2004 Mike McCormack for CodeWeavers
+ * Copyright
The kernel doesn't fill the buffer provided to sched_getaffinity
with zero bytes, so neither should QEMU.
Signed-off-by: Mike McCormack
Reviewed-by: Stefan Hajnoczi
---
linux-user/syscall.c | 13 +
1 files changed, 1 insertions(+), 12 deletions(-)
diff --git a/linux
Zeroing of the cpu array should start from &cpus[kernel_ret]
not &cpus[num_zeros_to_fill].
This fixes a crash in EFL's edje_cc running under qemu-arm.
Signed-off-by: Mike McCormack
Reviewed-by: Stefan Hajnoczi
Acked-by: Mike Frysinger
---
linux-user/syscall.c |2 +-
1 fil
The kernel doesn't fill the buffer provided to sched_getaffinity
with zero bytes, so neither should QEMU.
Depends on sched_getaffinity buffer overrun fix, but submitted
separately to make rollback easier.
---
linux-user/syscall.c | 13 +
1 files changed, 1 insertions(+), 12 deletio
Zeroing of the cpu array should start from &cpus[kernel_ret]
not &cpus[num_zeros_to_fill].
This fixes a crash in EFL's edje_cc running under qemu-arm.
Signed-off-by: Mike McCormack
---
linux-user/syscall.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git
This header is not present on my system and causes a build
failure, but is also not used in these files, so remove it.
Signed-off-by: Mike McCormack
---
hw/vhost.c |1 -
hw/vhost_net.c |1 -
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/hw/vhost.c b/hw/vhost.c
index
Signed-off-by: Mike McCormack
---
hw/vhost.c |2 ++
hw/vhost_net.c |2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/hw/vhost.c b/hw/vhost.c
index d37a66e..e1cd4d2 100644
--- a/hw/vhost.c
+++ b/hw/vhost.c
@@ -11,7 +11,9 @@
*/
#include
+#ifdef CONFIG_EVENTFD
qemu_opt_get may return NULL, so handle that rather than crashing.
Signed-off-by: Mike McCormack
---
qemu-char.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index 9b69d92..f292ee7 100644
--- a/qemu-char.c
+++ b/qemu-char.c
11 matches
Mail list logo