Statistics
| Branch: | Revision:

root / linux-user @ f3b974cd

Name Size
  alpha
  arm
  cris
  i386
  m68k
  microblaze
  mips
  mips64
  mipsn32
  ppc
  sh4
  sparc
  sparc64
  x86_64
cpu-uname.c 2.5 kB
cpu-uname.h 49 Bytes
elfload.c 75.9 kB
errno_defs.h 8.8 kB
flat.h 2.5 kB
flatload.c 25.5 kB
ioctls.h 15.9 kB
linux_loop.h 2.3 kB
linuxload.c 4.9 kB
m68k-sim.c 4.8 kB
main.c 106.4 kB
mmap.c 23 kB
qemu-types.h 595 Bytes
qemu.h 13.6 kB
signal.c 139.9 kB
socket.h 5 kB
strace.c 33.3 kB
strace.list 46.5 kB
syscall.c 226.8 kB
syscall_defs.h 72.5 kB
syscall_types.h 5.4 kB
uaccess.c 1.6 kB
vm86.c 15.2 kB

Latest revisions

# Date Author Comment
f3b974cd 12/03/2010 03:09 pm Jamie Lentin

linux-user: Translate getsockopt level option

n setsockopt, the socket level options are translated to the hosts'
architecture before the real syscall is called, e.g.
TARGET_SO_TYPE -> SO_TYPE. This patch does the same with getsockopt.

Tested on a x86 host emulating MIPS. Without it:-...

c65ffe6d 12/03/2010 03:09 pm amateur

linux-user: mmap_reserve() not controlled by RESERVED_VA

mmap_reserve() should be called only when RESERVED_VA is enabled.
Otherwise, unmaped virtual address space will never be reusable. This
bug will exhaust virtual address space in extreme conditions....

48e15fc2 12/03/2010 03:09 pm Nathan Froyd

linux-user: fix memory leaks with NPTL emulation

Running programs that create large numbers of threads, such as this
snippet from libstdc++'s pthread7-rope.cc:

const int max_thread_count = 4;
const int max_loop_count = 10000;
...
for (int j = 0; j < max_loop_count; j++)...
bee70008 12/03/2010 03:09 pm Peter Maydell

linux-user: remove unnecessary local from __get_user(), __put_user()

Remove an unnecessary local variable from the _get_user() and
_put_user() macros. This avoids confusing compilation failures
if the name of the local variable ('size') happens to be the...

f711df67 11/23/2010 11:04 am Richard Henderson

microblaze: target-ify target_ucontext

Rename the members of target_ucontext so that they don't conflict
with possible host macros for ucontext members. This has already
been done for the other targets.

Signed-off-by: Richard Henderson <>...

e0c8a796 10/05/2010 09:53 pm Stefan Weil

linux-user: Fix typo m86k -> m68k

Replace m86k_sim_stat by m68k_sim_stat.

Cc: Riku Voipio <>
Signed-off-by: Stefan Weil <>

f66724c9 10/05/2010 09:53 pm Stefan Weil

Add new user mode option -ignore-environment

An empty environment is sometimes useful in user mode.
The new option provides it for linux-user and bsd-user
(darwin-user still has no environment related options).

The patch also adds the documentation for other...

e5924d89 10/03/2010 09:34 am Stefan Weil

Replace most gcc format attributes by macro GCC_FMT_ATTR (format checking)

Since version 4.4.x, gcc supports additional format attributes.
attribute ((format (gnu_printf, 1, 2)))
should be used instead of
attribute ((format (printf, 1, 2))...

d0b3e4f5 09/18/2010 08:53 am Blue Swirl

linux-user: fix types in a comparison

-1ul is unsigned long, which does not necessarily match abi_ulong
type.

Fix by using abi_long instead.

This also avoids a warning with GCC flag -Wtype-limits.

Signed-off-by: Blue Swirl <>

f562e716 09/18/2010 08:53 am Blue Swirl

linux-user: improve flatload error checking

Because of the use of unsigned type, possible errors during
load were ignored.

Fix by using a signed type.

This also avoids a warning with GCC flag -Wtype-limits.

Signed-off-by: Blue Swirl <>

View revisions

Also available in: Atom