Statistics
| Branch: | Revision:

root / linux-user @ 3ca05588

# Date Author Comment
3ca05588 11/24/2009 08:51 pm Arnaud Patard

linux-user: remove hardcoded value of _NSIG in signal.c

In a bunch of places, 64 is used as value of _NSIG but it's wrong
at least on MIPS were _NSIG is 128.

Based on a patch from Arnaud Patard <>

Signed-off-by: Aurelien Jarno <>

e9273455 11/24/2009 03:10 pm Paul Brook

Add missing break.

Signed-off-by: Paul Brook <>

426f5abc 11/22/2009 11:35 pm Paul Brook

ARM atomic ops rewrite

Implement ARMv6 atomic ops (ldrex/strex) using the same trick as PPC.

Signed-off-by: Paul Brook <>

5499b6ff 11/22/2009 03:12 pm Aurelien Jarno

target-mips: rename CP0_LLAddr into lladdr

The variable CP0_LLAddr represent the full lladdr, not the actual
register value, which is only part of this value and depends on the
CPU.

Signed-off-by: Aurelien Jarno <>

b4558d74 11/07/2009 06:34 pm Blue Swirl

(x86/Sparc/PPC)-user: fix cpu_copy

b55a37c981914aa8ecd21b9a2a2fb37f39b917c5 moved the call to cpu_reset
to user emulators. But cpu_copy also initializes a CPU structure, so add the
call also there.

Signed-off-by: Blue Swirl <>

b55a37c9 11/07/2009 12:37 pm Blue Swirl

user: move CPU reset call to main.c for x86/PPC/Sparc

Signed-off-by: Blue Swirl <>

dab46405 10/17/2009 09:52 pm Jan-Simon Möller

Re: linux-user/syscall.c - don't add GUEST_BASE to NULL pointer

This patch fixes the mount call. GUEST_BASE shouldn't be added to a NULL pointer on arg5 . failing call:
mount("rootfs", "/", 0x47a78, MS_MGC_VAL|MS_REMOUNT, 0x10000) = -1 EFAULT (Bad address)...

f7680a55 10/17/2009 11:38 am Ulrich Hecht

linux-user: KD/VT/FB ioctls

everything needed to run SDL on a framebuffer device in the userspace emulator

Signed-off-by: Ulrich Hecht <>
Signed-off-by: Riku Voipio <>

cf6de34a 10/16/2009 02:37 pm Riku Voipio

linux-user: Update ARM hwcaps

Update ARM hwcaps to match Linux kernel 2.6.31 state

Signed-off-by: Riku Voipio <>

e2cc3f6e 10/16/2009 02:36 pm Paul Bolle

linux-user: don't zero a buffer twice

prepare_binprm() zeroes bprm->buf. That buffer is already zeroed in
main() and hasn't been touched since so that is not necessary.

Signed-off-by: Paul Bolle <>
Signed-off-by: Riku Voipio <>

61322e91 10/15/2009 11:55 pm Max Filippov

linux-user: fix ppc target_stat64 st_blocks layout

Swap __pad1 and st_blocks fields location to maintain proper alignment.
This fixes incorrect 'du' and 'stat' report on ppc guest.

Signed-off-by: Max Filippov <>
Signed-off-by: Riku Voipio <>

d0927938 10/15/2009 11:55 pm Ulrich Hecht

implementations of dup3 and fallocate that are good enough to fool LTP

updated fallocate check to new configure, added dup3 check as suggested
by Jan-Simon Möller.

Riku: updated to apply to current git.

Signed-off-by: Ulrich Hecht <>
Signed-off-by: Riku Voipio <>

69137206 10/15/2009 11:55 pm Ulrich Hecht

linux-user: getpriority errno fix

getpriority returned wrong errno; fixes LTP test getpriority02.

Signed-off-by: Ulrich Hecht <>
Signed-off-by: Riku Voipio <>

3bc0bdca 10/04/2009 02:24 pm Paul Bolle

linux-user: fix "#if 0"'d printf()

Make an "#if 0"'d printf() in load_elf_binary(), probably left to aid in
debugging, reflect what the actual code does. The current printf() will
only confuse those who "#if 1" it (it certainly confused me enough to
write this trivial patch)....

22e41040 10/02/2009 08:59 pm Michael S. Tsirkin

linux-user: fix up oversealous nitpicking

Looks like linux-user code was correct, just unreadable: what it wanted
to do with "-=" was really assign a negative number, not decrement. Fix
up accordingly.

Reported-by: Laurent Desnogues <>...

c227f099 10/02/2009 12:12 am Anthony Liguori

Revert "Get rid of _t suffix"

In the very least, a change like this requires discussion on the list.

The naming convention is goofy and it causes a massive merge problem. Something
like this must be presented on the list first so people can provide input...

99a0949b 10/01/2009 09:45 pm malc

Get rid of _t suffix

Some not so obvious bits, slirp and Xen were left alone for the time
being.

Signed-off-by: malc <>

e8bbe36c 09/30/2009 09:56 pm Michael S. Tsirkin

linux-user: fix coding style nit

Put space between = and & when taking a pointer,
to avoid confusion with old-style "&=".

Signed-off-by: Michael S. Tsirkin <>
Signed-off-by: Blue Swirl <>

6ece4df6 09/30/2009 09:45 pm Michael S. Tsirkin

elfload: fix coding style nit

Put space between = and * when dereferencing a pointer,
to avoid confusion with old-style "*="

Signed-off-by: Michael S. Tsirkin <>
Signed-off-by: Blue Swirl <>

5d024825 09/30/2009 09:45 pm Michael S. Tsirkin

linux-user: fix old style decrement usage

Modern compilers do not parse "=-" as decrement:
you must use "-=" for that.

Signed-off-by: Michael S. Tsirkin <>
Signed-off-by: Blue Swirl <>

dfd3f85c 09/25/2009 10:53 pm Juan Quintela

__thread should be before real type

Signed-off-by: Juan Quintela <>
Signed-off-by: Blue Swirl <>

86178a57 09/25/2009 10:51 pm Juan Quintela

static and inline should came before the type of the functions

Signed-off-by: Juan Quintela <>
Signed-off-by: Blue Swirl <>

d4fa8d90 09/21/2009 09:40 pm Blue Swirl

Export tables properly to avoid a Sparse warning

Signed-off-by: Blue Swirl <>

b9d38e95 09/21/2009 09:11 pm Blue Swirl

Fix Sparse warnings about using plain integer as NULL pointer

Signed-off-by: Blue Swirl <>

ca20cf32 09/20/2009 05:58 pm Blue Swirl

Compile loader only once

Callers must pass ELF machine, byte swapping and symbol LSB clearing
information to ELF loader. A.out loader needs page size information, pass
that too as a parameter.

Extract prototypes to a separate file. Move loader.[ch] and elf_ops.h under hw....

50108930 09/13/2009 10:38 pm Blue Swirl

Revert "Fix Sparc/Linux host breakage by df70204db53e3611af986f434e74a882bce190ca"

This reverts commit 91b40c5be84a478e98c0416325844a7f66d0efae.

Signed-off-by: Blue Swirl <>

91b40c5b 09/13/2009 04:33 pm Blue Swirl

Fix Sparc/Linux host breakage by df70204db53e3611af986f434e74a882bce190ca

While i386, x86_64 and Sparc64/OpenBSD still worked after
df70204db53e3611af986f434e74a882bce190ca, Sparc32 and Sparc64 Linux hosts
broke.

Partially revert the commit: make the restored code conditional to...

df70204d 09/12/2009 04:15 pm Kirill A. Shutemov

Fix text relocations in linux-user targets

There is a link hack in linux-user which produces an executable that
looks like PIE, but always has text relocations since all object files
isn't position-independent (compiled without -fpic/-fpie). Dynamic loader...

72cf2d4f 09/12/2009 10:36 am Blue Swirl

Fix sys-queue.h conflict for good

Problem: Our file sys-queue.h is a copy of the BSD file, but there are
some additions and it's not entirely compatible. Because of that, there have
been conflicts with system headers on BSD systems. Some hacks have been
introduced in the commits 15cc9235840a22c289edbe064a9b3c19c5f49896,...

fbd5de9b 09/10/2009 07:27 pm malc

F_DUPFD_CLOEXEC is not universally available

The same issue (and the same patch to the byte) was experienced/proposed
by Vince Weaver.

Signed-off-by: malc <>

1e6eec8b 09/05/2009 01:14 pm Blue Swirl

Fix Sparse warnings: add "static"

Signed-off-by: Blue Swirl <>

e72d2cc7 08/25/2009 05:15 pm Ulrich Hecht

linux-user: fadvise64 implementation

good enough to pass all LTP fadvise64 tests

Signed-off-by: Ulrich Hecht <>
Signed-off-by: Riku Voipio <>

12727917 08/25/2009 05:15 pm Ulrich Hecht

linux-user: zero fstat buffer to initialize nsec fields

The fstat implementation does not initialize the nanosecond fields in the
stat buffer; this caused funny values to turn up there, preventing, for
instance, cp -p from preserving timestamps because utimensat rejected...

fe3b4152 08/25/2009 05:15 pm Kirill A. Shutemov

linux-user: Rewrite mmap_find_vma() to work fine on 64-bit hosts with 32-bit targets

qemu's page table can be incomple if /proc/self/maps is unavailable or
host allocating a memory with mmap(), so we can't use it to find free
memory area.

New version mmap_find_vma() uses mmap() without MAP_FIXED to find free...

7181155d 08/25/2009 05:15 pm Laurent Vivier

m68k, linux-user: add setup_rt_frame

This patch implements setup_rt_frame().

Signed-off-by: Laurent Vivier <>
Signed-off-by: Riku Voipio <>

c761c154 08/25/2009 05:15 pm Laurent Vivier

m68k, linux-user: enable sigaltstack()

As setup_frame() and setup_rt_frame() are now implemented we can now
enable sigaltstack().

Signed-off-by: Laurent Vivier <>
Signed-off-by: Riku Voipio <>

8ec9cf89 08/25/2009 05:15 pm Nathan Froyd

linux-user: fix mq_* compilation problems

mqueue.h is only available if _NR_mq_open is defined. So don't include
it unconditionally. Similarly, the mq
* family of syscalls depend on
_NR_mq_open. Finally, the copy{from,to}_user_mq_attr functions should...

7e22e546 08/25/2009 05:15 pm Ulrich Hecht

linux-user: fcntl fixes for LTP

Fixes swaps on l_pid which were pretty much of random size. Implements
F_SETLEASE, F_GETLEASE. Now passes all LTP fcntl tests.

Signed-off-by: Ulrich Hecht <>
Signed-off-by: Riku Voipio <>

d83c8733 08/25/2009 05:15 pm Ulrich Hecht

linux-user: enable getdents for > 32-bit systems

works perfectly fine with the example from getdents(2) and passes the LTP
tests (tested with s390x on x86_64 emulation)

Signed-off-by: Ulrich Hecht <>
Signed-off-by: Riku Voipio <>

492a8744 08/25/2009 05:15 pm Laurent Vivier

m68k,linux-user: add setup_frame

This patch adds signals management for linux-user.

It implements setup_frame() which allows to call the user signal
handler.

setup_rt_frame() is always unimplemented.

Signed-off-by: Laurent Vivier <>
Signed-off-by: Riku Voipio <>

c2882b96 08/25/2009 05:15 pm Riku Voipio

linux-user: add eventfd support

Straightforward implementation. This syscall is rare enough that we
don't need to support the odder cases, just disable it if host glibc
is too old.

Signed-off-by: Riku Voipio <>

90e189ec 08/16/2009 02:13 pm Blue Swirl

Replace local ADDRX/PADDRX macros with TARGET_FMT_lx/plx

Signed-off-by: Blue Swirl <>

6af5a252 08/15/2009 11:47 am Blue Swirl

linux-user: compile envlist.c only once

Signed-off-by: Blue Swirl <>

37022086 08/15/2009 10:51 am Blue Swirl

user: compile path.c only once

Also merge bsd-user/path.c and linux-user/path.c.

Signed-off-by: Blue Swirl <>

ec822001 08/10/2009 09:05 pm Laurent Desnogues

Fix symfind.

this patch fixes an issue in symfind.

Assume you have the following symbols:

Address Size
0045bca0 00000080 T s0
0045bd20 00000112 T s1

You'll notice that s1 is s0 + size.

So the current symfind will find that address 0045bd20 belongs to s0...

8194f35a 08/04/2009 11:22 pm Igor Kovalenko

Sparc64: replace tsptr with helper routine

tl and tsptr of members sparc64 cpu state must be changed
simultaneously to keep trap state window in sync with current
trap level. Currently translation of store to tl does not change
tsptr, which leads to corrupt trap state on corresponding...

a16aae0c 08/03/2009 07:33 pm Nathan Froyd

linux-user: make FUTEX_* calls honor timeout parameter

Signed-off-by: Nathan Froyd <>
Signed-off-by: malc <>

56f066bb 08/03/2009 07:33 pm Nathan Froyd

linux-user: handle POWERPC_EXCP_STCX

We handle conditional stores as an exception so we can ensure that no
other thread is changing memory out from underneath us.

Signed-off-by: Nathan Froyd <>
Signed-off-by: malc <>

7cba04f6 08/01/2009 01:13 pm Blue Swirl

More NULL pointer fixes

Signed-off-by: Blue Swirl <>

2f7bb878 07/27/2009 10:10 pm Juan Quintela

rename USE_NPTL to CONFIG_USE_NPTL

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

9788c9ca 07/27/2009 10:09 pm Juan Quintela

rename HAVE_GPROF to TARGET_GPROF

Use was not consistent, in Makefile was TARGET_GPROF and in *h HAVE_GPROF

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

e2542fe2 07/27/2009 10:09 pm Juan Quintela

rename WORDS_BIGENDIAN to HOST_WORDS_BIGENDIAN

Signed-off-by: Juan Quintela <>
Signed-off-by: Anthony Liguori <>

0bf9e31a 07/20/2009 08:19 pm Blue Swirl

Fix most warnings (errors with -Werror) when debugging is enabled

I used the following command to enable debugging:
perl -p -i -e 's/^\/\/#define DEBUG/#define DEBUG/g' * /* *//*

Signed-off-by: Blue Swirl <>

9fdca5aa 07/18/2009 12:17 pm malc

Use correct byteswap routine for elf_note

All elf64_note structure members are Elf64_Word (which is 32bit value)
hence using bswaptls to byteswap it on 64bit platforms is incorrect.

Signed-off-by: malc <>

3efa9a67 07/18/2009 12:16 pm malc

Avoid name clashes with symbols that leak from system headers

Signed-off-by: malc <>

a2547a13 07/17/2009 03:33 pm Laurent Desnogues

ELF codedump build failures

Rename ELF coredump types to avoid conflict with the corresponding host types.

Signed-off-by: Laurent Desnogues <>

379f6698 07/17/2009 03:12 pm Paul Brook

Userspace guest address offsetting

Re-implement GUEST_BASE support.
Offset guest ddress space by default if the guest binary contains
regions below the host mmap_min_addr.
Implement support for i386, x86-64 and arm hosts.

Signed-off-by: Riku Voipio <>...

8167ee88 07/16/2009 11:47 pm Blue Swirl

Update to a hopefully more future proof FSF address

Signed-off-by: Blue Swirl <>

430c7ec7 07/15/2009 08:03 pm malc

Avoid SIGSEGV when dumping cpu state without enabled logging

Signed-off-by: malc <>

5f650495 07/10/2009 12:06 am Isaku Yamahata

consolidate user cpu_{in, out}[bwl] into ioport-user.c

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Anthony Liguori <>

2152390d 07/09/2009 11:09 pm Anthony Liguori

Merge commit 'linux-user/linux-user-for-upstream' into tmp-staging

94c5495d 07/09/2009 08:40 pm Paul Brook

MIPS signal handling fix

Add explicit padding to MIPS signal frame structures.

Signed-off-by: Paul Brook <>

590bc601 07/09/2009 07:45 pm Paul Brook

MIPS atomic instructions

Implement MIPS ll/sc instructions using atomic compare+exchange.

Signed-off-by: Paul Brook <>

18113962 07/09/2009 03:11 pm Paul Brook

Fix MIPS sys_clone

The clone syscall takes 6 args.

Signed-off-by: Paul Brook <>

719f908e 07/08/2009 05:02 pm Ulrich Hecht

wrap path for access syscall

Signed-off-by: Ulrich Hecht <>
Signed-off-by: Riku Voipio <>

666bcd91 07/08/2009 05:02 pm Ulrich Hecht

getrlimit conversion mix-up

Fixes getrlimit implementation that overwrote the result of the syscall
instead of converting it

Signed-off-by: Ulrich Hecht <>
Signed-off-by: Riku Voipio <>

784ccfdb 07/08/2009 05:02 pm Ulrich Hecht

pipe argument should not be signed

pipedes is an address, it should not be signed (breaks for addresses

0x80000000)

Signed-off-by: Ulrich Hecht <>
Signed-off-by: Riku Voipio <>

98818189 07/08/2009 05:02 pm Ulrich Hecht

64-bit clean socketcall syscall

makes socketcall 64-bit clean so it works on 64-bit big-endian systems

Signed-off-by: Ulrich Hecht <>
Signed-off-by: Riku Voipio <>

fd4d81dd 07/08/2009 05:01 pm Arnaud Patard

linux-user: increment MAX_ARG_PAGES

There's a error When doing something like that :
find / -type f -print0 | xargs -0 echo

[ done in a arm chroot with qemu-arm and linux binfmt stuff or with
find / -type f -print0 | qemu-arm -L <path> <path>/usr/bin/xargs -0...

917507b0 07/08/2009 05:01 pm Arnaud Patard

linux-user: check some parameters for some socket syscalls.

This patch is fixing following issues :

- commit 8fea36025b9d6d360ff3b78f88a84ccf221807e8 was applied to
do_getsockname instead of do_accept.
- Some syscalls were not checking properly the memory addresses passed...

7b8118e8 07/08/2009 05:01 pm vibi sreenivasan

linux-user/syscall.c: remove warning: ‘array’ may be used uninitialized in this function

Removes the following warning

CC i386-linux-user/syscall.o
cc1: warnings being treated as errors
/media/nfs/qemu/linux-user/syscall.c: In function ‘do_syscall’:
/media/nfs/qemu/linux-user/syscall.c:2219: warning: ‘array’ may be used uninitialized in this function...

d43277c5 07/01/2009 09:24 pm Blue Swirl

Fix missing strnlen problems

Fix missing strnlen (a GNU extension) problems by using qemu_strnlen
used for user emulators also for system emulators.

Signed-off-by: Blue Swirl <>

21ebeb23 06/23/2009 08:28 pm Edgar E. Iglesias

microblaze: Support the latest mmu-kernel stat64 ABI.

Microblaze recently changed their ABI. The new is not backwards compatible
and there doesn't seem to be a way to distinguish old/new binaries.
Let's support the latest ABI for now and hope someone figures out a way to...

03dfe9f8 06/19/2009 01:51 am Riku Voipio

linux-user: strace now handles guest stringscorrectly [v2]

On Tue, Jun 16, 2009 at 08:19:23PM -0500, Anthony Liguori wrote:

malc wrote:

On my system the above line causes gcc to emit:

In file included from /home/malc/x/rcs/git/qemu/linux-user/strace.c:12:...

5f106811 06/16/2009 04:58 pm Arnaud Patard (Rtp)

RFC: fix fcntl support in linux-user - new try

Hi,

This is a new try to fix the fcntl support in linux-user. I tried to
adress all comments but as the previous version is several weeks old,
it's possible that I've missed some.

This patch doesn't handle linux specific fcntl flags. My plan is to get...

df377d03 06/16/2009 04:58 pm Nathan Froyd

linux-user: initialize mmap_mutex properly

We initialize mmap_mutex in any child threads/processes, but we need to
correctly statically initialize it for the original process.

Signed-off-by: Nathan Froyd <>
Signed-off-by: Riku Voipio <>

d5b3a9b6 06/16/2009 04:58 pm Eduardo Habkost

linux-user/syscall.c: define _ATFILE_SOURCE

Needed to make sure the xxxat() functions are available.

Signed-off-by: Eduardo Habkost <>
Signed-off-by: Riku Voipio <>

3f9ac9b3 06/16/2009 04:58 pm Laurent Vivier

linux-user: remove duplicate tswap32() from do_getsockopt()

This issue has been detected with tests/linux-tests.c:

linux-test.c:330: getsockopt

327 len = sizeof(val);
328 chk_error(getsockopt(server_fd, SOL_SOCKET, SO_TYPE, &val, &len));
329 if (val != SOCK_STREAM)...

3ce34dfb 06/16/2009 04:58 pm vibisreenivasan

linux-user: add tee, splice and vmsplice

Add support for tee, splice and vmsplice.

Originally from: vibi sreenivasan <>

Riku: squashed patches together, added a test to configure
and removed compliler warning by picking up correct type for...

b975b83b 06/16/2009 04:56 pm Lionel Landwerlin

linux-user: Added IP_ADD_MEMBERSHIP/IP_DROP_MEMBERSHIP flags to setsockopt

linux-user: Added IP_ADD_MEMBERSHIP/IP_DROP_MEMBERSHIP flags to setsockopt

Signed-off-by: Lionel Landwerlin <>
Signed-off-by: Riku Voipio <>

6e3cb58f 06/16/2009 04:56 pm Lionel Landwerlin

linux-user: Added IP_(UN)BLOCK_SOURCE/IP_(ADD|DROP)_SOURCE_MEMBERSHIP flags to setsockopt

linux-user: Added IP_(UN)BLOCK_SOURCE/IP_(ADD|DROP)_SOURCE_MEMBERSHIP flags to setsockopt

Signed-off-by: Lionel Landwerlin <>
Signed-off-by: Riku Voipio <>

350d1779 06/16/2009 04:56 pm Martin Mohring

linux-user: include linux/fs.h

defines FIGETBSZ FIBMAP, allowing the respective ioctl's to
be implemented.

From: Martin Mohring <>
Signed-off-by: Riku Voipio <>

a29ccd63 06/16/2009 04:56 pm Martin Mohring

linux-user: support private futexes

Implemented the same way as in the kernel.

From: Martin Mohring <>
Signed-off-by: Riku Voipio <>

c4d2302e 06/16/2009 04:56 pm Riku Voipio

add futex wake op

Signed-off-by: Riku Voipio <>

4b627a23 06/16/2009 04:56 pm Riku Voipio

linux-user: update syscall list

In preparation for supporting pipe2()

Signed-off-by: Riku Voipio <>

099d6b0f 06/16/2009 04:56 pm Riku Voipio

linux-user: implement pipe2 [v3]

implement pipe2 syscall.

[v2] fix do_pipe on mips and sh4
[v3] use pipe2 to ensure atomicity, but only when it is available.

Signed-off-by: Riku Voipio <>

9ad197d9 06/16/2009 04:56 pm Riku Voipio

export mmap_find_vma for shmat

Signed-off-by: Riku Voipio <>

88a8c984 06/16/2009 04:56 pm Riku Voipio

Implement shm* syscalls and fix 64/32bit errors

No regressions were observed on either 64bit or 32bit
IA hosts.

Patch based on original patches by:
Kirill A. Shutemov <>
- Implement shm* syscalls
- Fix and cleanup IPCOP_shm* ipc calls handling...

edf8e2af 06/16/2009 04:56 pm Mika Westerberg

linux-user: implemented ELF coredump support for ARM target

When target process is killed with signal (such signal that
should dump core) a coredump file is created. This file is
similar than coredump generated by Linux (there are few exceptions
though)....

9edc5d79 06/16/2009 04:56 pm Mika Westerberg

linux-user: added x86 and x86_64 support for ELF coredump

Signed-off-by: Mika Westerberg <>
Signed-off-by: Riku Voipio <>

74d753ac 06/16/2009 04:56 pm Mika Westerberg

linux-user: strace now handles guest strings correctly [v2]

- to not to break strace with GUEST_BASE is set:
- Strace now can load and print guest strings correctly.
- Added printing support for commonly used flags in some syscalls
(e.g open, creat, mmap etc.)...

ebc996f3 06/16/2009 04:56 pm Riku Voipio

linux-user: fix utimensat

The glibc function for utimensat glibc returns -EINVAL when the path is null
which is a different behaviour with the syscall.

path can be null because internally the glibc is using utimensat with
path null when implmenting futimens. If path is null, call futimes...

44607123 06/16/2009 04:56 pm Arnaud Patard

Fix struct termios host - target translation

When converting the termios structure between host and target in
target_to_host_termios and host_to_target_termios, the c_cc[] array is
never initialised.
Calling memset() before using it allows to run successfully "stty echo /...

6f932f91 06/16/2009 04:56 pm Arnaud Patard

Return EOPNOTSUPP instead of ENOSYS for xattr syscalls

In current code, we're sending ENOSYS to target when a syscall for the
xattrs is done. This makes applications like ls complain loudly about
that and breaks scripts parsing the output. Moreover, iirc, implemented...

1e9fa730 06/04/2009 12:04 pm Nathan Froyd

fix gdbstub support for multiple threads in usermode, v3

When debugging multi-threaded programs, QEMU's gdb stub would report the
correct number of threads (the qfThreadInfo and qsThreadInfo packets).
However, the stub was unable to actually switch between threads (the T...

b779e29e 05/26/2009 10:10 pm Edgar E. Iglesias

microblaze: linux-user support.

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

8dfbe4e8 05/26/2009 10:10 pm Edgar E. Iglesias

microblaze: Add syscall, signal and termbits defs for linux-user.

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

909b69cf 05/19/2009 05:58 pm Paul Brook

Only define __llseek if it is going to be used

Signed-off-by: Paul Brook <>

425be425 05/19/2009 05:42 pm Paul Brook

Avoid implicit truncation compiler warnings

Signed-off-by: Paul Brook <>

df84e4f3 05/16/2009 12:36 am Nathan Froyd

support ELF_HWCAP for PPPC

Signed-off-by: Nathan Froyd <>
Signed-off-by: malc <>