Statistics
| Branch: | Revision:

root / linux-user @ 5a37532d

Name Size
  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.3 kB
errno_defs.h 8.8 kB
flat.h 2.5 kB
flatload.c 25.4 kB
ioctls.h 18.6 kB
linux_loop.h 2.3 kB
linuxload.c 4.4 kB
m68k-sim.c 4.8 kB
main.c 126.6 kB
mmap.c 23.6 kB
qemu.h 15.2 kB
signal.c 160.7 kB
socket.h 7.3 kB
strace.c 41 kB
strace.list 46.7 kB
syscall.c 278.7 kB
syscall_defs.h 78.5 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
c7128c9f 04/19/2013 10:48 am Petar Jovanovic

linux-user: change do_semop to return target errno when unsuccessful

do_semop() is called from two places, and one of these fails to convert
return error to target errno when semop fails. This patch changes the
function to always return target errno in case of an unsuccessful call....

9ab709be 04/19/2013 10:48 am Andreas Schwab

linux-user: fix undefined shift in copy_to_user_fdset

If TARGET_ABI_BITS is bigger than 32 we shift by more than the size of int.

Signed-off-by: Andreas Schwab <>
Reviewed-by: Peter Maydell <>
Signed-off-by: Riku Voipio <>

03903ffc 04/19/2013 10:48 am Andreas Schwab

linux-user: fix setgroups/getgroups for non-UID16 archs

Don't assume target_id is a short.

Signed-off-by: Andreas Schwab <>
Signed-off-by: Riku Voipio <>

ca98ac83 04/18/2013 03:12 pm Paolo Bonzini

elfload: fix size of ABI-dependent fields in core dumps

Some fields in core dumps are 32-bit in 32-or-64 environments (ppc64abi32,
sparc32plus). Use abi_long/ulong for those.

Also, the fields of target_elf_siginfo are ints. Use tswap32 to convert them....

a29f998d 04/18/2013 03:12 pm Paolo Bonzini

elfload: fix size of registers for N32

Registers are 64-bit in size for the MIPS n32 ABI. Define
target_elf_greg_t accordingly, and use the correct function
to do endian swaps.

Reviewed-by: Peter Maydell <>
Signed-off-by: Paolo Bonzini <>...

86cd7b2d 04/18/2013 03:12 pm Paolo Bonzini

elfload: use tswapreg consistently in elf_core_copy_regs

Reviewed-by: Peter Maydell <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Edgar E. Iglesias <>

1ddd592f 04/18/2013 03:12 pm Paolo Bonzini

elfload: use abi_short/ushort instead of target_short/ushort

The alignment is a characteristic of the ABI, not the CPU.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Edgar E. Iglesias <>

f8fd4fc4 04/18/2013 03:12 pm Paolo Bonzini

elfload: use abi_int/uint instead of target_int/uint

The alignment is a characteristic of the ABI, not the CPU.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Edgar E. Iglesias <>

918fc54c 04/18/2013 03:12 pm Paolo Bonzini

elfload: use abi_llong/ullong instead of target_llong/ullong

The alignment is a characteristic of the ABI, not the CPU.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Edgar E. Iglesias <>

5947c697 04/12/2013 03:33 pm Petar Jovanovic

linux-user: pass correct host flags to eventfd2 call

This change makes conversion of TARGET_O_NONBLOCK and TARGET_O_CLOEXEC flags
to host flags before calling eventfd for TARGET_NR_eventfd2.

Signed-off-by: Petar Jovanovic <>
Reviewed-by: Peter Maydell <>...

View revisions

Also available in: Atom