[Qemu-devel] [Bug 668799] Re: qemu-arm segfaults executing msgmerge (gettext)

2012-04-03 Thread Cédric VINCENT
For information, I'm *not* able to reproduce this problem with: * QEMU user-mode v1.0.1 * host system: Slackware64-current * guest system: Slackware/ARM 13.37 * build command: gcc -fopenmp 668799.c -o 668799 -static * run commands: * ./668799 *

Re: [Qemu-devel] [PATCH] allow to load android binary

2012-03-28 Thread Cédric VINCENT
matthieu castet castet.matthieu at free.fr writes: Android binary start with a weird elf program header : the first one is of size 0 pointing to NULL addr. Ignore LOAD program where MemSiz is 0. ... Attachment (0001-allow-to-load-android-binary.patch): text/x-diff, 2172 bytes This old

[Qemu-devel] [PATCH] sh4-linux-user: fix multi-threading regression.

2012-03-26 Thread Cédric VINCENT
to the user-mode. Signed-off-by: Cédric VINCENT cedric.vinc...@st.com --- target-sh4/op_helper.c | 22 ++ target-sh4/translate.c |5 + 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/target-sh4/op_helper.c b/target-sh4/op_helper.c index b299576..b8b6e4a 100644

[Qemu-devel] [PATCH] linux-user: Fix initialization of the heap contents when allocating new pages

2011-08-26 Thread Cédric VINCENT
-by: Laurent ALFONSI laurent.alfo...@st.com Signed-off-by: Cédric VINCENT cedric.vinc...@st.com --- linux-user/syscall.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 6bdf4e6..ae08c9e 100644 --- a/linux-user/syscall.c +++ b

[Qemu-devel] [PATCH v2] arm-semi: Provide access to CLI arguments passed through the -append option

2011-06-29 Thread Cédric VINCENT
this code more understandable. Signed-off-by: Cédric VINCENT cedric.vinc...@st.com Reviewed-by: Christophe Lyon christophe.l...@st.com Cc: Peter Maydell peter.mayd...@linaro.org Cc: Paul Brook p...@codesourcery.com Cc: Wolfgang Schildbach ws...@dolby.com Cc: Riku Voipio riku.voi...@iki.fi --- arm

[Qemu-devel] [PATCH 1/3] linux-user: Add support for KD...LED ioctls

2011-06-29 Thread Cédric VINCENT
=$(SETLEDS_QEMU)) $(SETLEDS_TESTS:setleds=$(SETLEDS_QEMU)) setleds.target cmp setleds.host setleds.target Signed-off-by: Cédric VINCENT cedric.vinc...@st.com Cc: Riku Voipio riku.voi...@iki.fi --- linux-user/ioctls.h |4 linux-user/syscall_defs.h |4 2 files

[Qemu-devel] [PATCH 2/3] linux-user: Add support for more VT ioctls

2011-06-29 Thread Cédric VINCENT
DirectFB-1.0 uses at least two of the four added ioctls, and the two others were added for completeness. This patch was validated with the program vlock -all/-new. Signed-off-by: Cédric VINCENT cedric.vinc...@st.com Cc: Riku Voipio riku.voi...@iki.fi --- linux-user/ioctls.h|4

[Qemu-devel] [PATCH 3/3] linux-user: Add support for even more FB ioctls

2011-06-29 Thread Cédric VINCENT
This patch was validated with programs from DirectFB-1.0 and WebKit/DirectFB. Signed-off-by: Cédric VINCENT cedric.vinc...@st.com Cc: Riku Voipio riku.voi...@iki.fi --- linux-user/ioctls.h|5 + linux-user/syscall_defs.h |5 + linux-user/syscall_types.h | 13

[Qemu-devel] linux-user: Add support for ioctls related to the frame-buffer/console

2011-06-29 Thread Cédric VINCENT
This patch series adds support for some ioctls related to the Linux frame-buffer/console. It was fully tested for the SH4 target and partially tested for the x86_64 and ARM targets, this latter fails the setleds tests (embedded within the first commit message) but it seems the problem doesn't

[Qemu-devel] [PATCH v3] linux-user: Define AT_RANDOM to support target stack protection mechanism.

2011-06-20 Thread Cédric VINCENT
(EXIT_FAILURE); } Changes introduced in v2 and v3: * Fix typos + thinko (AT_RANDOM is used for stack canary, not for ASLR) * AT_RANDOM points to 16 random bytes stored inside the user stack. * Add a small test program. Signed-off-by: Cédric VINCENT cedric.vinc...@st.com

[Qemu-devel] [PATCH] arm-semi: Provide access to CLI arguments passed through the -append option

2011-06-16 Thread Cédric VINCENT
this code more understandable. Signed-off-by: Cédric VINCENT cedric.vinc...@st.com Reviewed-by: Christophe Lyon christophe.l...@st.com Cc: Wolfgang Schildbach ws...@dolby.com Cc: Riku Voipio riku.voi...@iki.fi --- arm-semi.c | 113 +++ 1

[Qemu-devel] [PATCH v2] linux-user: Fix the computation of the requested heap size

2011-06-15 Thread Cédric VINCENT
the GNU C library; * don't [try to] allocate a new host page if the new brk is equal to the latest allocated host page (brk_page); and * print some debug information when DEBUGF_BRK is defined. Signed-off-by: Cédric VINCENT cedric.vinc...@st.com Reviewed-by: Christophe Guillon

[Qemu-devel] [PATCH] linux-user: Fix the computation of the requested heap size

2011-06-01 Thread Cédric VINCENT
); /* Does QEMU allocate the same host page twice? */ test(-HOST_PAGE_SIZE); test(HOST_PAGE_SIZE); if (!failure) { printf(success\n); exit(EXIT_SUCCESS); } else { exit(EXIT_FAILURE); } } Signed-off-by: Cédric

[Qemu-devel] [PATCH] linux-user: Define AT_RANDOM to support target dynamic linkers that do ASLR

2011-06-01 Thread Cédric VINCENT
be improved later. Signed-off-by: Laurent ALFONSI laurent.alfo...@st.com Signed-off-by: Cédric VINCENT cedric.vinc...@st.com --- You can easily test this patch with ARMedSlack-13+: ftp://ftp.armedslack.org/armedslack/armedslack-devtools/minirootfs/roots/ linux-user/elfload.c |9 - 1

[Qemu-devel] [PATCH] linux-user: Fix the load of ELF files that have no useful symbol

2011-06-01 Thread Cédric VINCENT
(__NR_exit) nop The bug appears when the log (option -d) is enabled. Signed-off-by: Cédric VINCENT cedric.vinc...@st.com Signed-off-by: Yves JANIN yves.ja...@st.com --- linux-user/elfload.c | 34 +++--- 1 files changed, 19 insertions(+), 15 deletions(-) diff

[Qemu-devel] Re: PRoot: A Step Forward for QEMU User-Mode

2011-03-22 Thread Cédric VINCENT
Hi Riku, Riku Voipio riku.voipio at iki.fi writes: Similar thing is done with scratchbox2, but with LD_PRELOAD instead of ptrace. LD_PRELOAD for all around the corners (static binaries etc) and the slowdown is major. ptrace would make at least the former problem go away. However, why do