Statistics
| Branch: | Revision:

root / linux-user @ feature-archipelago

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.7 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 136.3 kB
mmap.c 23.5 kB
qemu.h 15.3 kB
signal.c 169.1 kB
socket.h 12.3 kB
strace.c 41 kB
strace.list 46.9 kB
syscall.c 286.1 kB
syscall_defs.h 81 kB
syscall_types.h 7.8 kB
target_flat.h 625 Bytes
uaccess.c 1.6 kB
vm86.c 15.2 kB

Latest revisions

# Date Author Comment
105a0601 02/21/2014 05:04 pm Peter Maydell

Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20140220' into staging

target-arm queue: * Fix a bug causing an assertion in the NVIC on ARMv7M models * More A64 Neon instructions * Refactor cpreg API to separate out access check functions, as...

2ea5a2ca 02/20/2014 12:35 pm Janne Grunau

linux-user: AArch64: Fix exclusive store of the zero register

Signed-off-by: Janne Grunau <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Peter Maydell <>

fff8c539 02/19/2014 12:29 pm Andreas Färber

linux-user: Implement BLKPG ioctl

Signed-off-by: Andreas Färber <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Riku Voipio <>

69d4c703 02/19/2014 12:29 pm Peter Maydell

linux-user: Fix error handling in target_to_host_semarray()

Fix two issues in error handling in target_to_host_semarray(): * don't leak the host_array buffer if lock_user fails * return an error if malloc() fails

v2: added missing * -Riku Voipio

Signed-off-by: Peter Maydell <>...

6afafa86 02/18/2014 04:54 pm Peter Maydell

linux-user/elfload.c: Avoid calling g_free() on uninitialized data

Avoid calling g_free() on unintialized data in the error-handling
paths in elf_core_dump() by splitting the initialization of the
elf_note_info struct out of fill_note_info() so that it's always...

3a5d30bf 02/18/2014 04:54 pm Peter Maydell

linux-user/signal.c: Don't pass sigaction uninitialised sa_flags

When forcing a fatal signal, we weren't initialising the sa_flags
field in the struct sigaction we used to reset the signal handler
to SIG_DFL.

Signed-off-by: Peter Maydell <>...

501bb4b0 02/18/2014 04:54 pm Peter Maydell

linux-user: Fix error handling in lock_iovec()

In lock_iovec() if lock_user() failed we were doing an unlock_user
but not a free(vec), which is the wrong way round. We were also
assuming that free() and unlock_user() don't touch errno, which
is not guaranteed. Fix both these problems....

4fc47320 02/18/2014 04:45 pm Riku Voipio

linux-user: sync syscall numbers upto 3.13

All others updated except unicore, which doesn't look right to
begin with.

Signed-off-by: Riku Voipio <>

62dc90c6 02/15/2014 02:10 pm Michael Tokarev

linux-user: refactor do_socketcall()

Refactor do_socketcall() to do argument conversion/checking first,
according to a lookup table (which call has how many args) and
by calling the right function second with ready-to-go arguments.

This ensures that all arguments are handled as abi_long, according...

8cfc114a 02/03/2014 04:04 pm Stefan Weil

linux-user: Fix trampoline code for CRIS

__put_user can write bytes, words (2 bytes) or longwords (4 bytes).
Here obviously words should have been written, but bytes were written,
so values like 0x9c5f were truncated to 0x5f.

Fix this by changing retcode from uint8_t to to uint16_t in...

View revisions

Also available in: Atom