Statistics
| Branch: | Revision:

root / linux-user @ 465c9f06

Name Size
  alpha
  arm
  cris
  i386
  m68k
  mips
  mips64
  mipsn32
  ppc
  sh4
  sparc
  sparc64
  x86_64
elfload.c 42.1 kB
elfload32.c 869 Bytes
envlist.c 5.3 kB
envlist.h 533 Bytes
errno_defs.h 8.8 kB
flat.h 2.5 kB
flatload.c 25.5 kB
ioctls.h 15.3 kB
linux_loop.h 2.3 kB
linuxload.c 4.9 kB
m68k-sim.c 4.8 kB
main.c 86.9 kB
mmap.c 19.4 kB
path.c 3.8 kB
qemu-types.h 595 Bytes
qemu.h 13.2 kB
signal.c 92.5 kB
socket.h 5 kB
strace.c 7.9 kB
strace.list 46.5 kB
syscall.c 202.2 kB
syscall_defs.h 66.7 kB
syscall_types.h 3.8 kB
uaccess.c 1.8 kB
vm86.c 15.3 kB

Latest revisions

# Date Author Comment
465c9f06 04/19/2009 11:52 am aurel32

linux-user: Linux kernel's fchmodat and faccessat have three args (no 4th arg)

In Linux kernel, fchmodat() and faccessat() take tree args.
4th value <int flags> is only processed by libc.

Signed-off-by: Takashi YOSHII <>
Signed-off-by: Aurelien Jarno <>...

e5289087 04/18/2009 07:16 pm aurel32

linux-user: fix IPCOP_sem* and implement sem*

Fix and cleanup IPCOP_sem* ipc calls handling and
implement sem* syscalls.

Riku:

1) Uglify whitespace so that diff gets smaller and easier
to review

2) use __get_user in target_to_host_sembuf

Signed-off-by: Kirill A. Shutemov <>...

8690e420 04/17/2009 04:50 pm aurel32

linux-user: fix inotify syscalls

Configure test was broken, so the breakage of the #ifdef'd
code was not noticed.

Signed-off-by: Riku Voipio <>
Signed-off-by: Aurelien Jarno <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7134 c046a42c-6fe2-441c-8c8c-71466251a162

1d9d8b55 04/16/2009 06:17 pm pbrook

Translate signal values in exit status.

Signed-off-by: Paul Brook <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7131 c046a42c-6fe2-441c-8c8c-71466251a162

aaf4ad39 04/16/2009 05:17 pm aurel32

linux-user: fix getcwd syscall

The patch called "prefer glibc over direct syscalls" (commit 7118) has
replaced the getcwd syscall with a call to the glibc. With this change,
the syscall is returning -1 in error case and 0 otherwise.
This is problematic as the sys_getcwd syscall should return the number...

fda33744 04/15/2009 08:12 pm aurel32

linux-user: fix warnings introduced by r7118

Signed-off-by: Aurelien Jarno <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7120 c046a42c-6fe2-441c-8c8c-71466251a162

603e4fd7 04/15/2009 07:18 pm aurel32

linux-user: proper exit code for uncaught signals

The proper exit code for dieing from an uncaught signal is -<signal>.
The kernel doesn't allow exit() or _exit() to pass a negative value.
To get the proper exit code we need to actually die from an uncaught signal....

3b3f24ad 04/15/2009 07:12 pm aurel32

linux-user: prefer glibc over direct syscalls

The openat/*at syscalls are incredibly common with modern coreutils,
calling them directly via syscalls breaks for example fakeroot. Use
glibc stubs whenever directly available and provide old syscall
calling for people still using older libc....

be09ac41 04/15/2009 07:12 pm aurel32

linux-user: removed unnecessary MAX_SOCK_ADDR checks for socket syscalls

- This check is not needed because kernel will check whether given
buffer is too small and there is no upper limit for size of the buffer.

From: Mika Westerberg <>...

607175e0 04/15/2009 07:11 pm aurel32

linux-user: unix sockets - fix running dbus

dbus sends too short (according to man 7 unix) addrlen for it's
unix socket. I've been told that happens with other applications
as well. Linux kernel doesn't appear to mind, so I guess
we whould be tolerant as well. Expand sockaddr with +1 to fit...

View revisions

Also available in: Atom