Statistics
| Branch: | Revision:

root / linux-user @ 7c9958b0

Name Size
  alpha
  arm
  cris
  i386
  m68k
  microblaze
  mips
  mips64
  mipsn32
  ppc
  s390x
  sh4
  sparc
  sparc64
  unicore32
  x86_64
cpu-uname.c 2.5 kB
cpu-uname.h 49 Bytes
elfload.c 83.4 kB
errno_defs.h 8.8 kB
flat.h 2.5 kB
flatload.c 25.4 kB
ioctls.h 18.5 kB
linux_loop.h 2.3 kB
linuxload.c 4.5 kB
m68k-sim.c 4.8 kB
main.c 119.9 kB
mmap.c 23.4 kB
qemu-types.h 742 Bytes
qemu.h 14.2 kB
signal.c 156.5 kB
socket.h 5 kB
strace.c 39 kB
strace.list 46.8 kB
syscall.c 269.3 kB
syscall_defs.h 77.2 kB
syscall_types.h 7.3 kB
target_flat.h 625 Bytes
uaccess.c 1.6 kB
vm86.c 15.2 kB

Latest revisions

# Date Author Comment
77a8f1a5 05/19/2012 06:49 pm Alexander Graf

linux-user: Fix stale tbs after mmap

If we execute linux-user code that does the following:

  • A = mmap()
  • execute code in A
  • munmap(A)
  • B = mmap(), but mmap returns the same address as A
  • execute code in B

we end up executing a stale cached tb that contains translated code...

1a49ef2a 05/03/2012 05:31 pm Alexander Graf

linux-user: fix emulation of /proc/self/maps

Improve the emulation of /proc/self/maps by reading the underlying
host maps file and passing lines through with addresses adjusted
to be guest addresses. This is necessary to avoid false triggers
of the glibc check that a format string containing '%n' is not in...

209c4849 05/03/2012 05:31 pm Andreas Färber

linux-user: Clean up interim solution for exit syscall

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

11ea4090 04/15/2012 07:54 pm Andreas Färber

linux-user: Fix exit syscall with QOM CPU

For QOM'ified CPUs we cannot g_free() CPUArchState, we must
object_delete() the object it is embedded into.

Fixes LP#982321 (invalid free() while executing pacman with qemu-arm).

Reported-by: Serge Schneider <>...

d8fd2954 04/06/2012 07:25 pm Paul Brook

Userspace ARM BE8 support

Add support for ARM BE8 userspace binaries.
i.e. big-endian data and little-endian code.
In principle LE8 mode is also possible, but AFAIK has never actually
been implemented/used.

System emulation doesn't have any useable big-endian board models,...

adf050b1 04/06/2012 07:06 pm Benoit Canet

arm-linux-user: fix elfload.c's AT_HWCAP to reflect cpu features.

The cpu capabilities passed by the elf loader in AT_HWCAP where
a constant.
Make AT_HWCAP reflect the emulated cpu features in order to give
correct clues to eglibc.

Riku Voipio: fixed to apply to current head...

288e65b9 04/06/2012 06:49 pm Alexander Graf

linux-user: reserve 4GB of vmem for 32-on-64

When running 32-on-64 bit guests, we should always reserve as much
virtual memory as we possibly can for the guest process, so it can
never overlap with QEMU address space.

Fortunately we already have the infrastructure for that. All that's...

1e6722f8 04/06/2012 06:49 pm Peter Maydell

linux-user/syscall.c: Fix indentation in prctl handling

Clean up the odd indentation of this switch statement before
we double its size by adding new cases to it.

Signed-off-by: Peter Maydell <>
Signed-off-by: Riku Voipio <>

db9526b1 04/06/2012 06:49 pm Peter Maydell

linux-user: Add support for prctl PR_GET_NAME and PR_SET_NAME

Add support for the prctl options PR_GET_NAME and PR_SET_NAME,
which take or return a name in a 16 byte buffer pointed to by arg2.

Signed-off-by: Peter Maydell <>
Signed-off-by: Riku Voipio <>

d1b02ea0 04/06/2012 06:49 pm Peter Maydell

linux-user/arm/syscall_nr.h: Add syscall number for ppoll

The list of ARM syscall numbers was missing the entry for ppoll,
which meant we were accidentally not providing it. (This wasn't
causing any practical issues beyond warnings about unimplemented
syscalls, because glibc will fall back to another code path if the...

View revisions

Also available in: Atom