Statistics
| Branch: | Revision:

root / linux-user @ 0b959cf5

Name Size
  aarch64
  alpha
  arm
  cris
  i386
  m68k
  microblaze
  mips
  mips64
  openrisc
  ppc
  s390x
  sh4
  sparc
  sparc64
  unicore32
  x86_64
Makefile.objs 229 Bytes
cpu-uname.c 2.4 kB
cpu-uname.h 49 Bytes
elfload.c 87.5 kB
errno_defs.h 8.8 kB
flat.h 2.5 kB
flatload.c 25.4 kB
ioctls.h 18.7 kB
linux_loop.h 2.3 kB
linuxload.c 4.4 kB
m68k-sim.c 4.8 kB
main.c 132.9 kB
mmap.c 23.5 kB
qemu.h 15.4 kB
signal.c 168.9 kB
socket.h 12.3 kB
strace.c 41 kB
strace.list 46.9 kB
syscall.c 284.4 kB
syscall_defs.h 80.4 kB
syscall_types.h 7.4 kB
target_flat.h 625 Bytes
uaccess.c 1.6 kB
vm86.c 15.2 kB

Latest revisions

# Date Author Comment
0b959cf5 11/29/2013 08:48 pm Richard Henderson

linux-user: Use qemu_getauxval for AT_EXECFD

Reviewed-by: Peter Maydell <>
Signed-off-by: Richard Henderson <>

664d2c44 11/29/2013 08:45 pm Richard Henderson

util: Use qemu_getauxval in linux qemu_cache_utils_init

With this we no longer pass down envp, and thus all systems can have
the same void prototype. So also eliminate a useless thunk.

Reviewed-by: Peter Maydell <>
Signed-off-by: Richard Henderson <>

b6a3e690 11/29/2013 08:45 pm Richard Henderson

osdep: Create qemu_getauxval and qemu_init_auxval

Abstract away dependence on a system implementation of getauxval.

Signed-off-by: Richard Henderson <>

20d155bc 11/07/2013 08:02 am Stefan Weil

linux-user: Fix stat64 syscall for SPARC64

Some targets use a stat64 structure for the stat64 syscall while others
use a stat structure. SPARC64 used the wrong kind.

Instead of extending the conditional compilation in syscall.c, now a
macro TARGET_HAS_STRUCT_STAT64 is defined whenever a target has a...

51fb256a 10/07/2013 12:48 pm Andreas Färber

cpu: Drop cpu_model_str from CPU_COMMON

Since this is only read in cpu_copy() and linux-user has a global
cpu_model, drop the field from generic code.

Signed-off-by: Andreas Färber <>

30ba0ee5 10/07/2013 12:48 pm Andreas Färber

cpu: Move cpu_copy() into linux-user

It is only used there and is deemed very fragile if not incorrect in its
current memcpy() form. Moving it into linux-user will allow to move
parts into target_cpu.h headers and only copy what the ABI mandates.

Signed-off-by: Andreas Färber <>

dbf4f796 09/24/2013 10:47 am Petar Jovanovic

linux-user: correct how SOL_SOCKET is converted from target to host and back

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 <>...

1308c464 09/24/2013 10:47 am Kwok Cheung Yeung

linux-user: Check type of microMIPS break instruction

microMIPS instructions that cause breakpoint exceptions come in
16-bit and 32-bit variants. When handling exceptions caused by
such instructions, the instruction type needs to be taken into
account when extracting the break code....

89aaf1a6 09/24/2013 10:47 am Riku Voipio

[v2] linux-user: implement m68k atomic syscalls

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...

53d09b76 09/24/2013 10:47 am Edgar E. Iglesias

linux-user: Handle SOCK_CLOEXEC/NONBLOCK if unavailable on host

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 <>...

View revisions

Also available in: Atom