Statistics
| Branch: | Revision:

root / linux-user @ 95b33b2f

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 81.2 kB
errno_defs.h 8.8 kB
flat.h 2.5 kB
flatload.c 25.4 kB
ioctls.h 16.8 kB
linux_loop.h 2.3 kB
linuxload.c 4.5 kB
m68k-sim.c 4.8 kB
main.c 112.6 kB
mmap.c 23 kB
qemu-types.h 595 Bytes
qemu.h 13.9 kB
signal.c 155.2 kB
socket.h 5 kB
strace.c 38.8 kB
strace.list 46.8 kB
syscall.c 248.7 kB
syscall_defs.h 75.1 kB
syscall_types.h 6.3 kB
target_flat.h 625 Bytes
uaccess.c 1.6 kB
vm86.c 15.2 kB

Latest revisions

# Date Author Comment
95b33b2f 07/12/2011 02:38 pm Wesley W. Terpstra

mips: rlimit incorrectly converts values

Byte swap was applied in the wrong order with testing for
RLIM_INFINITY. On mips bigendian from an amd64 system this results in
infinity being misinterpretted as 2^31-1.

This is a serious bug because it causes setrlimit stack size to kill...

e6e5bd2d 07/12/2011 02:34 pm Wesley W. Terpstra

mips: null pointer deref should segfault

Dereferencing a null pointer causes an exception 0xC (EXCP_AdEL)
instead of EXCP_TLBL. This should also trigger a segfault.

Signed-off-by: Wesley W. Terpstra <>
Signed-off-by: Riku Voipio <>

7c2f6157 07/12/2011 02:33 pm Wesley W. Terpstra

mips: missing syscall returns wrong errno

Return -TARGET_ENOSYS instead of -ENOSYS from linux-user/main.c * Caused strange 'Level 2 synchronization messages' instead of
correctly reporting the syscall was missing. * Made glibc simply fail instead of using older syscalls...

053ebb27 07/12/2011 02:32 pm Wesley W. Terpstra

mips: sigaltstack args

The syscall sigaltstack takes two parameters, not zero. This patch
should have no impact as only values above 4 influence the runtime
behaviour. Nevertheless, it is wrong.

Signed-off-by: Wesley W. Terpstra <>
Signed-off-by: Riku Voipio <>

8f04eeb3 07/11/2011 04:35 pm Peter Maydell

linux-user/syscall.c: Enforce pselect6 sigset size restrictions

Enforce the same restriction on the size of the sigset passed to
pselect6 as the Linux kernel does. This is both correct and silences
a gcc 4.6 warning about a write-only variable.

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

163a05a8 07/11/2011 04:34 pm Peter Maydell

linux-user: Implement prlimit64 syscall

Implement the prlimit64 syscall.

Slightly modified to apply upstream -Riku

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

d979e8eb 07/11/2011 04:12 pm Peter Maydell

linux-user: Add syscall numbers from kernel 2.6.39.2

Add syscall numbers for new syscall numbers; this brings us
into line with Linux 2.6.39.2.

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

12b81b71 07/11/2011 04:12 pm Cédric VINCENT

linux-user: Add support for even more FB ioctls

This patch was validated with programs from DirectFB-1.0 and
WebKit/DirectFB.

Signed-off-by: Cédric VINCENT <>
Cc: Riku Voipio <>
Signed-off-by: Riku Voipio <>

774750c0 07/11/2011 04:10 pm Cédric VINCENT

linux-user: Add support for more VT ioctls

DirectFB-1.0 uses at least two of the four added ioctls, and the two
others were added for completeness. This patch was validated with the
program "vlock -all/-new".

Signed-off-by: Cédric VINCENT <>...

e6fe18fb 07/11/2011 04:06 pm Cédric VINCENT

linux-user: Add support for KD...LED ioctls

DirectFB-1.0 uses at least one of the four added ioctls, and the three
others were added for completeness. This patch was validated with the
program "setleds" and the following Makefile:

SETLEDS_INIT  = setleds -v -num -caps -scroll...

View revisions

Also available in: Atom