Maydell
Reviewed-by: Laurent Vivier
Signed-off-by: Riku Voipio
---
configure| 1 -
linux-user/m68k/target_cpu.h | 6 +-
linux-user/qemu.h| 1 +
linux-user/syscall.c | 12
4 files changed, 18 insertions(+), 2 deletions(-)
diff --git a
java running in arm-linux-user for me.
Signed-off-by: Alexander Graf
Signed-off-by: Riku Voipio
---
include/exec/cpu-all.h | 8 ++--
user-exec.c| 4
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/include/exec/cpu-all.h b/include/exec/cpu-all.h
index 508
with NPTL enabled.
Signed-off-by: Peter Maydell
Reviewed-by: Jia Liu
Signed-off-by: Riku Voipio
---
configure| 1 -
linux-user/openrisc/target_cpu.h | 9 +++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index 0b19408..bfad34e
ydell
Reviewed-by: Richard Henderson
Reviewed-by: Richard Henderson
Signed-off-by: Riku Voipio
---
configure | 4
1 file changed, 4 deletions(-)
diff --git a/configure b/configure
index 3792607..9b7101c 100755
--- a/configure
+++ b/configure
@@ -4225,13 +4225,11 @@ case "$targe
From: Riku Voipio
The linux-user patches that have been sent to the list during the
last few weeks that do not break in any of my my tests.
The following changes since commit 549c272b3c7c2aac69155be2e158c970828b2844:
Merge remote-tracking branch 'pmaydell/tags/pull-arm-devs-20130722&
From: Peter Maydell
Add x86-64 implementation of cpu_set_tls() (like the kernel, we
just have to call do_arch_prctl() to set FS); this allows us to
enable NPTL.
Signed-off-by: Peter Maydell
Signed-off-by: Riku Voipio
---
configure| 1 -
linux-user/i386/target_cpu.h | 7
From: Alexander Graf
We can easily set the TLS on i386. Add code to do so.
Signed-off-by: Alexander Graf
[PMM: also remove "target_nptl=no" line from configure, for
consistency with other patches in this series]
Signed-off-by: Peter Maydell
Signed-off-by: Riku Voipio
---
omitted the target_stat64 definition. Fix
target_stat, provide target_stat64, and add a comment noting that
these are the asm-generic versions for the benefit of future ports.
Reviewed-by: Jia Liu
Signed-off-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/syscall_defs.h | 49
From: Peter Maydell
SPARC is one of the CPUs which has a funny syscall ABI for the
pipe syscall; add it to the set of special cases in do_pipe().
Signed-off-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/linux-user
s bsd-user would never have been compiled with
CONFIG_USE_NPTL defined, and it still is not.
Signed-off-by: Peter Maydell
Reviewed-by: Richard Henderson
Signed-off-by: Riku Voipio
---
configure | 25 +++--
include/exec/gdbstub.h | 2 +-
linux-user/main.c
e the padding mandatory for ARM targets.
This fixes i386-on-ARM epoll emulation for me.
Signed-off-by: Alexander Graf
Signed-off-by: Riku Voipio
---
linux-user/syscall_defs.h | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_d
From: Peter Maydell
Provide the missing cpu_set_tls(), and resolve the FIXME in
cpu_clone_regs() by clearing the carry flag for the child.
This allows us to turn on building with NPTL for SPARC.
Signed-off-by: Peter Maydell
Reviewed-by: Richard Henderson
Signed-off-by: Riku Voipio
From: Kwok Cheung Yeung
Decode trap instructions during the handling of an EXCP_BREAK or EXCP_TRAP
according to the current ISA mode.
Signed-off-by: Kwok Cheung Yeung
Signed-off-by: Riku Voipio
---
linux-user/main.c | 46 +++---
1 file changed, 43
rs
to be broken in the mainline kernel in that it tries to use arg3 for
both parent_tidptr and newtls simultaneously -- we don't attempt
to emulate this bug...)
Signed-off-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/arm/syscall.h| 2 ++
linux-user/cris/syscall.h
the #ifdef.
Suggested-by: Peter Maydell
Signed-off-by: Andreas Färber
Cc: Eduardo Habkost
Signed-off-by: Riku Voipio
---
linux-user/main.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/linux-user/main.c b/linux-user/main.c
index 5537967..547884c 100644
--- a/linux-user/main.c
+++ b/linux-u
.
Signed-off-by: Alexander Graf
Signed-off-by: Riku Voipio
---
exec.c | 4
linux-user/syscall.c | 3 ---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/exec.c b/exec.c
index c8658c6..2426bf7 100644
--- a/exec.c
+++ b/exec.c
@@ -642,6 +642,10 @@ CPUArchState
the
"no" entries it adds will be taken out in later patches.
Signed-off-by: Peter Maydell
Reviewed-by: Richard Henderson
Signed-off-by: Riku Voipio
---
configure | 26 --
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/configure b/configure
ned-off-by: Riku Voipio
---
translate-all.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/translate-all.c b/translate-all.c
index e8683d2..3b5fc7c 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -1148,7 +1148,8 @@ void tb_invalidate_phys_page_fast(tb_page_ad
From: Peter Maydell
The i386 code for the get_thread_area syscall was missing a
'break' which meant it would have fallen through into the
implementation of the following syscall; add it.
Signed-off-by: Peter Maydell
Reviewed-by: Richard Henderson
Signed-off-by: Riku Voipio
---
From: Riku Voipio
With nptl enabled, atomic_cmpxchg_32 and atomic_barrier
system calls are needed. This patch enabled really dummy
versions of the system calls, modeled after the m68k
kernel code.
With this patch I am able to execute m68k binaries
with qemu linux-user (busybox compiled for
From: Riku Voipio
The following fixes since commit f05ae5379e40f81a6c8526d891693af8bf6e62da:
Bail out if CONFIG_TCG_PASS_AREG0 is defined (2012-05-03 15:48:49 +0400)
are available in the git repository at:
git://git.linaro.org/people/rikuvoipio/qemu.git linux-user-for-upstream
Please
n
writable memory. (For an example see the bug reported in
https://bugs.launchpad.net/qemu-linaro/+bug/947888 where gpg aborts.)
Signed-off-by: Alexander Graf
Signed-off-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 42 +-
1 file c
From: Andreas Färber
After all target CPUs have been QOM'ified, we no longer need an #ifdef
to switch between object_delete() and g_free() in NPTL thread exit.
Signed-off-by: Andreas Färber
Signed-off-by: Riku Voipio
---
linux-user/syscall.c |4
1 file changed, 4 deletions(-)
On Tue, May 15, 2012 at 04:32:51PM -0500, Anthony Liguori wrote:
> Riku,
>
> Can you review/ack this patch?
Acked-by: Riku Voipio
Are there any other Linux-user patches to consider for 1.1 ?
>
> Regards,
>
> Anthony Liguori
>
>
> On 05/15/2012 03:35 PM, Pete
Hi,
On Mon, Aug 26, 2013 at 01:26:11PM -0700, Richard Henderson wrote:
> Ping.
Sorry for the delay, adding it to the next pull request.
Riku
> On 08/16/2013 11:24 PM, Richard Henderson wrote:
> > Ping.
> >
> > r~
> >
> >
> > On 07/24/2013 12:50 PM, Richard Henderson wrote:
> >> It has been p
Hi,
On Mon, Sep 16, 2013 at 03:08:06PM +0200, edgar.igles...@gmail.com wrote:
> From: "Edgar E. Iglesias"
>
> If the host lacks support for SOCK_CLOEXEC or SOCK_NONBLOCK,
> try to emulate them with fcntl() FD_CLOEXEC and O_NONBLOCK.
Last time emulating CLOEXEC with fcntl was discussed, the idea
On Thu, Sep 19, 2013 at 07:31:51PM +0200, Stefan Weil wrote:
> Ping? Are there any more opinions how qemu-sparc64 should be fixed?
> Should we choose Peter's approach (which is good, but with a
> higher risk than my patch)?
I've included it now in my qeu, since it fixes qemu-sparc64 in my
smoketes
On Mon, Sep 23, 2013 at 09:05:03PM +0900, Peter Maydell wrote:
> On 23 September 2013 20:57, Riku Voipio wrote:
> > On Thu, Sep 19, 2013 at 07:31:51PM +0200, Stefan Weil wrote:
> >> Ping? Are there any more opinions how qemu-sparc64 should be fixed?
> >> Should we cho
From: Laurent Vivier
Signed-off-by: Laurent Vivier
Reviewed-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/ioctls.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index 439c2a9..7381012 100644
--- a/linux-user/ioctls.h
+++ b/linux
QEMU,
given that we control linux-user/*/syscall_nr.h.
This is the last instance of TARGET_NR_oldumount, so delete that from
the strace.list.
Signed-off-by: Richard Henderson
Signed-off-by: Riku Voipio
---
linux-user/alpha/syscall_nr.h | 4 ++--
linux-user/strace.list| 3 ---
linux
From: Laurent Vivier
This is needed to be able to run dhclient.
Signed-off-by: Laurent Vivier
Reviewed-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 44
linux-user/syscall_defs.h | 12
2 files changed
From: Richard Henderson
The name field of MIPS_SYS isn't actually used; it's just documentation.
But adjust the umount entries to match mips/syscall_nr.h anyway.
Signed-off-by: Richard Henderson
Signed-off-by: Riku Voipio
---
linux-user/main.c | 4 ++--
1 file changed, 2 insert
eviewed-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 58 +++-
1 file changed, 53 insertions(+), 5 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 5c33e44..251c116 100644
--- a/linux-user/syscall.c
+
From: Riku Voipio
The following changes since commit f828a4c8faa118e0ebab3e353ac6840f3b2a0318:
Merge remote-tracking branch 'stefanha/tracing' into staging (2013-09-23
11:53:22 -0500)
are available in the git repository at:
git://git.linaro.org/people/rikuvoipio/qemu.git linu
From: Petar Jovanovic
Previous implementation does not take into account that SOL_SOCKET constant
can be arch specific. This change fixes some issues with sendmsg/recvmsg.
Signed-off-by: Petar Jovanovic
Reviewed-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 18
is enabled, bintfmt_misc opens the file for
reading and pass the file descriptor to the interpreter.
References:
linux/Documentation/binfmt_misc.txt ['O' and 'C' description]
linux/fs/binfmt_misc.c linux/fs/binfmt_elf.c [ AT_EXECFD usage ]
Signed-off-by: Laurent V
better clarity.
Signed-off-by: Kwok Cheung Yeung
Signed-off-by: Riku Voipio
---
linux-user/main.c | 56 ++-
1 file changed, 35 insertions(+), 21 deletions(-)
diff --git a/linux-user/main.c b/linux-user/main.c
index 016e2e1..1561950 100644
From: "Edgar E. Iglesias"
If the host lacks SOCK_CLOEXEC, bail out with -EINVAL.
If the host lacks SOCK_ONONBLOCK, try to emulate it with fcntl()
and O_NONBLOCK.
Signed-off-by: Edgar E. Iglesias
Signed-off-by: Riku Voipio
---
linux-user/sysc
From: Laurent Vivier
Signed-off-by: Laurent Vivier
Reviewed-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 20
1 file changed, 20 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 505031b..7a093ba 100644
--- a/linux
From: Riku Voipio
With nptl enabled, atomic_cmpxchg_32 and atomic_barrier
system calls are needed. This patch enabled really dummy
versions of the system calls, modeled after the m68k
kernel code.
With this patch I am able to execute m68k binaries
with qemu linux-user (busybox compiled for
The following changes since commit 27cdad67a1bc23b38c765b677ed8064bfb8d3e44:
Revert "alpha-softmmu: Disable for the 0.15 release branch." (2011-09-21
00:50:32 +0200)
are available in the git repository at:
git://git.linaro.org/people/rikuvoipio/qemu.git linux-user-for-upstream
An-Cheng Huan
Hi,
The patch looks OK, but I'd like to have a try with some s390x static
binaries. Such binaries are also useful for me to test that new patches
for linxu-user don't break targets I don't usually use.
Riku
On Fri, Apr 15, 2011 at 05:32:43PM +0200, Alexander Graf wrote:
> From: Ulrich Hecht
>
On Mon, Apr 18, 2011 at 02:06:02PM +0200, Alexander Graf wrote:
> > The patch looks OK, but I'd like to have a try with some s390x static
> > binaries. Such binaries are also useful for me to test that new patches
> > for linxu-user don't break targets I don't usually use.
>
> Sure - what exactly
On Fri, Apr 15, 2011 at 05:32:44PM +0200, Alexander Graf wrote:
> From: Ulrich Hecht
>
> Quite a number of syscalls are only defined on systems with USE_UID16
> defined; this patch defines them on other systems as well.
>
> Fixes a large number of uid/gid-related testcases on the s390x target
>
soon to some other location.
Alexander Graf (1):
linux-user: add s390x to llseek list
Laurent Vivier (3):
linux-user: improve traces
linux-user: convert ioctl(SIOCGIFCONF, ...) result.
linux-user: add ioctl(SIOCGIWNAME, ...) support.
Riku Voipio (2):
[v2] linux-user: bigger default
From: Laurent Vivier
Add trace details for getpid(), kill(), _llseek(), rt_sigaction(),
rt_sigprocmask(), clone().
Signed-off-by: Laurent Vivier
Signed-off-by: Riku Voipio
---
linux-user/strace.c| 161
linux-user/strace.list | 12
From: Riku Voipio
PTHREAD_STACK_MIN (16KB) is somewhat inadequate for a new stack for new
QEMU threads. Set new limit to 256K which should be enough, yet doesn't
increase memory pressure significantly.
Signed-off-by: Riku Voipio
Reviewed-by: Nathan Froyd
---
linux-user/syscall.c |
h0
No wireless extension
$ ./wifi wlan0
wlan0
IEEE 802.11bg
Signed-off-by: Laurent Vivier
Signed-off-by: Riku Voipio
---
linux-user/ioctls.h |1 +
linux-user/syscall.c |2 +-
linux-user/syscall_defs.h |3 +++
3 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/linu
From: Alexander Graf
We keep a list of host architectures that do llseek with the same
syscall as lseek. S390x is one of them, so let's add it to the list.
Original-patch-by: Ulrich Hecht
Signed-off-by: Alexander Graf
Signed-off-by: Riku Voipio
---
linux-user/syscall.c |3 ++-
1
struct sockaddr_in *s;
s = (struct sockaddr_in*)&ifc.ifc_req[i].ifr_addr;
printf("%s\n", ifc.ifc_req[i].ifr_name);
printf("%s\n", inet_ntoa(s->sin_addr));
}
}
Signed-off-by: Laurent Vivier
Signed-off-by: Riku Voipio
selected UID16 syscalls. MIPS and PowerPC
were also defined as UID16, to get uid/gid syscalls available, drop
this error as well.
Change QEMU to reflect this.
Cc: Ulrich Hecht
Cc: Richard Henderson
Cc: Alexander Graf
Signed-off-by: Riku Voipio
---
linux-user/alpha/syscall_nr.h |7
On Tue, Apr 19, 2011 at 06:19:49PM +0900, Mike McCormack wrote:
> * modifying do_brk to not use MAP_FIXED - causes an out of memory
>failure rather than a crash
Have you tried the patch posted by Peter Maydell yesterday:
http://www.mail-archive.com/qemu-devel@nongnu.org/msg61733.html
Riku
llseek list
Laurent Vivier (3):
linux-user: improve traces
linux-user: convert ioctl(SIOCGIFCONF, ...) result.
linux-user: add ioctl(SIOCGIWNAME, ...) support.
Riku Voipio (2):
[v2] linux-user: bigger default stack
linux-user: untie syscalls from UID16
linux-user/alpha
From: Riku Voipio
The following changes since commit 08ab2ccb08372a52ee1c597acf640cadb9089a3a:
Merge branch 'patches' of git://qemu.weilnetz.de/git/qemu (2011-04-29
20:01:51 +)
are available in the git repository at:
git://gitorious.org/qemu-maemo/qemu.git linux-user-fo
From: Stefan Weil
Debian Lenny and other installations with older linux versions
failed to compile linux-user because some CLONE_xxx macros are
undefined.
Signed-off-by: Stefan Weil
Signed-off-by: Riku Voipio
---
linux-user/strace.c | 12
1 files changed, 12 insertions(+), 0
From: Mike McCormack
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
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 13 +
1 files changed, 1 inser
From: Mike McCormack
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
Signed-off-by
On Mon, Nov 21, 2011 at 12:21:19PM +, Peter Maydell wrote:
> Correct the printing of errnos for syscalls which are handled
> via print_syscall_ret_addr (mmap, mmap2, brk, shmat): errnos
> are returned as negative returned values at this level, not
> via the host 'errno' variable.
> Signed-off
On Jun 5, 2015 6:03 PM, Peter Maydell wrote:
>
> Ping?
I'll collect and review linux-user patches from the list on monday.
Riku
>
> thanks
> -- PMM
>
> On 26 May 2015 at 19:46, Peter Maydell wrote:
> > This patchset fixes some problems in conversions of cmsg structures
> > in target_to_ho
Hi,
Applied to linux-user que, thanks
Riku
On Tuesday, June 2, 2015 12:12:21 PM EEST, Yongbok Kim wrote:
ping!
On 20/04/2015 16:15, Yongbok Kim wrote:
TARGET_ELF_PAGESTART is required to use abi_ulong to correctly handle
addresses for different target bits width.
This patch fixes a problem w
On 7 May 2015 at 00:47, Alexander Graf wrote:
> We store all struct types in an array of static size without ever
> checking whether we overrun it. Of course some day someone (like me
> in another, ancient ALSA enabling patch set) will run into the limit
> without realizing it.
>
> So let's make t
On Saturday, May 23, 2015 4:17:05 PM EEST, Laurent Vivier wrote:
When executing a 64bit target chroot on 64bit host,
the ioctl() command can mismatch.
It seems the previous commit doesn't solve the problem in
my case:
9c6bf9c7 linux-user: Fix ioctl cmd type mismatch on 64-bit targets
F
=shortlog;h=refs/heads/sh4-next
A bit late, but I'm ok for merging these patches via sh4 tree. If you still
going to edit branch, you can add my
Acked-by: Riku Voipio
Riku
On Mon, Sep 21, 2015 at 06:13:57AM -0700, Peter Maydell wrote:
> On 20 September 2015 at 22:34, Jonathan Neuschäfer
> wrote:
> > On Fri, Sep 04, 2015 at 01:48:39PM +0100, Peter Maydell wrote:
> >> On 3 September 2015 at 06:27, Jonathan Neuschäfer
> >> wrote:
> >> > Currently, __target_cmsg_nxthd
| 6 ------
> target-tricore/cpu.h | 2 --
> target-unicore32/cpu.h | 2 --
> target-xtensa/cpu.h| 1 -
> 47 files changed, 53 insertions(+), 99 deletions(-)
Acked-By: Riku Voipio
Hi,
Comments inline:
On Sat, Jun 21, 2014 at 11:53:07PM +0100, Paul Burton wrote:
> Implement support for the name_to_handle_at and open_by_handle_at
> syscalls, allowing their use by the target program.
>
> Signed-off-by: Paul Burton
> ---
> Changes in v2:
> - None.
> ---
> linux-user/strac
On Sat, Jun 21, 2014 at 11:52:55PM +0100, Paul Burton wrote:
> From: Paul Burton
>
> This series fixes a number of bugs in QEMUs linux-user support, some
> specific to targetting the MIPS architecture but mostly generic. It also
> adds support for some previously unsupported syscalls & {g,s}etsoc
From: Riku Voipio
The following changes since commit de6793e8c2a4d34e28e5ea385276249fc98109ec:
Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20140627' into
staging (2014-06-29 11:43:31 +0100)
are available in the git repository at:
git://git.linaro.org/people/r
From: Christophe Lyon
mmap_flags_tbl contains a list of mmap flags, and how to map them to
the target. This patch adds MAP_NORESERVE, which was missing to the
list.
Signed-off-by: Christophe Lyon
Reviewed-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 2 ++
1 file
type
helper function mirroring the existing target_to_host_sock_type, and
call it to translate the value provided by getsockopt when called for
the SO_TYPE option.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 34 ++
1 file changed
From: Paul Burton
Add the epoll_create1 syscall to strace.list in order to display that
syscall when it occurs, rather than a message about the syscall being
unknown despite QEMU already implementing support for it.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user
From: Paul Burton
Translate the SO_ACCEPTCONN option to the host value & execute the
syscall as expected.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
i
provided.
Although this argument is described by the settimeofday man page as
obsolete, it is used by systemd as of version 213.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 29 -
linux-user/syscall_defs.h | 5 +
2 files cha
From: Paul Burton
Translate the SO_SNDBUFFORCE & SO_RCVBUFFORCE options to setsockopt to
the host values & perform the syscall as expected, allowing use of those
options by target programs.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 6 ++
From: Paul Burton
Translate the SO_PASSSEC option to setsockopt to the host value &
perform the syscall as expected, allowing use of the option by target
programs.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user/socket.h | 5 +
linux-user/syscall.c | 3 +++
2 f
From: Paul Burton
MIPS requires the pad field to 64b-align the data field just as ARM
does.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user/syscall_defs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux-user/syscall_defs.h b/linux-user
From: Paul Burton
Add a definition of the KDSIGACCEPT ioctl & allow its use by target
programs.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user/ioctls.h | 1 +
linux-user/syscall.c | 7 +++
linux-user/syscall_defs.h | 1 +
3 files changed, 9 insert
From: Wim Vander Schelden
Signed-off-by: Wim Vander Schelden
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 46 ++
1 file changed, 46 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 007d59d..5c175ba 100644
--- a
NULL and already locked.
Since the patch already touched most lines of the TARGET_NR_mount case,
it fixes the indentation & coding style for good measure.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 75 +---
f-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 0ce1a4e..8e2762b 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -6401,11 +640
From: Paul Burton
Add a definition of the SIOCGIFINDEX ioctl, allowing its use by target
programs.
Signed-off-by: Paul Burton
Signed-off-by: Riku Voipio
---
linux-user/ioctls.h | 1 +
linux-user/syscall_defs.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/linux-user/ioctls.h b
using __put_user() rather than __get_user() for the SCM_CREDENTIALS
conversion, which meant it wasn't getting the benefit of the
misalignment handling.)
Signed-off-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 20 +++-
1 file changed, 11 insertions(
-by: Riku Voipio
---
linux-user/elfload.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index b71e866..1788368 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -1256,7 +1256,8 @@ struct exec
/* Necessary parameters
From: Thierry Bultel
When a thread is spawned, cpu_copy re-initializes
the bp & wp lists of current thread, instead of the ones
of the new thread.
The effect is that breakpoints are no longer hit.
Signed-off-by: Thierry Bultel
Signed-off-by: Riku Voipio
---
linux-user/main.c | 4 ++--
1
ander Graf
Signed-off-by: Riku Voipio
---
include/exec/user/thunk.h | 4 +++-
linux-user/syscall.c | 3 +++
thunk.c | 16
3 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/include/exec/user/thunk.h b/include/exec/user/thunk.h
index 87025c
es int in the case of the target command type
instead of abi_long (and for consistency, update IOCTLEntry).
Signed-off-by: Laurent Vivier
Reviewed-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff
From: Riku Voipio
The following changes since commit 0a2df857a7038c75379cc575de5d4be4c0ac629e:
Merge remote-tracking branch 'remotes/stefanha/tags/net-pull-request' into
staging (2015-06-12 15:39:05 +0100)
are available in the git repository at:
git://git.linaro.org/people/r
to
fix these issues, and add a comment in target_to_host_cmsg
to explain why the overflow logging it does is a QEMU bug,
not a guest issue.
Signed-off-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 69 ++--
1 file changed,
On 16 June 2015 at 01:35, Laurent Vivier wrote:
> When executing a 64bit target chroot on 64bit host,
> the ioctl() command can mismatch.
>
> It seems the previous commit doesn't solve the problem in
> my case:
>
> 9c6bf9c7 linux-user: Fix ioctl cmd type mismatch on 64-bit targets
>
> For
to
fix these issues, and add a comment in target_to_host_cmsg
to explain why the overflow logging it does is a QEMU bug,
not a guest issue.
Signed-off-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 69 ++--
1 file changed,
-by: Riku Voipio
---
linux-user/elfload.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/linux-user/elfload.c b/linux-user/elfload.c
index b71e866..1788368 100644
--- a/linux-user/elfload.c
+++ b/linux-user/elfload.c
@@ -1256,7 +1256,8 @@ struct exec
/* Necessary parameters
From: Riku Voipio
The following changes since commit 0a2df857a7038c75379cc575de5d4be4c0ac629e:
Merge remote-tracking branch 'remotes/stefanha/tags/net-pull-request' into
staging (2015-06-12 15:39:05 +0100)
are available in the git repository at:
git://git.linaro.org/people/r
ander Graf
Signed-off-by: Riku Voipio
---
include/exec/user/thunk.h | 4 +++-
linux-user/syscall.c | 3 +++
thunk.c | 16
3 files changed, 18 insertions(+), 5 deletions(-)
diff --git a/include/exec/user/thunk.h b/include/exec/user/thunk.h
index 87025c
using __put_user() rather than __get_user() for the SCM_CREDENTIALS
conversion, which meant it wasn't getting the benefit of the
misalignment handling.)
Signed-off-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 20 +++-
1 file changed, 11 insertions(
From: Thierry Bultel
When a thread is spawned, cpu_copy re-initializes
the bp & wp lists of current thread, instead of the ones
of the new thread.
The effect is that breakpoints are no longer hit.
Signed-off-by: Thierry Bultel
Signed-off-by: Riku Voipio
---
linux-user/main.c | 4 ++--
1
e case of the target command type
instead of abi_long.
Signed-off-by: Laurent Vivier
Signed-off-by: Riku Voipio
---
linux-user/syscall.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 5cf265c..f62c698 100644
---
From: Riku Voipio
The following changes since commit b0f6ef8915247f3230ffd9b71af9c3dadb6082c7:
Merge remote-tracking branch 'remotes/amit-virtio-rng/tags/rng-2.7-1' into
staging (2016-05-24 11:38:22 +0100)
are available in the git repository at:
git://git.linaro.org/people/r
.
Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813698
Signed-off-by: Laurent Vivier
Reviewed-by: Alexander Graf
Reviewed-by: Michael Tokarev
Signed-off-by: Riku Voipio
---
linux-user/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux-user/main.c b/linux
From: Riku Voipio
Sync syscall numbers to match the linux v4.5-rc1 kernel.
Reviewed-by: Laurent Vivier
Signed-off-by: Riku Voipio
---
linux-user/aarch64/syscall_nr.h| 2 +-
linux-user/alpha/syscall_nr.h | 6 ++
linux-user/cris/syscall_nr.h | 24
From: Lluís Vilanova
This fixes double-definitions in linux-user builds when using the UST
tracing backend (which indirectly includes the system's "syscall.h").
Signed-off-by: Lluís Vilanova
Reviewed-by: Peter Maydell
Signed-off-by: Riku Voipio
---
linux-user/aa
701 - 800 of 1342 matches
Mail list logo