Re: [Qemu-devel] [PATCH] syscall_target_errno.patch

2007-10-15 Thread Thayne Harbaugh
On Thu, 2007-10-11 at 14:10 +0200, J. Mayer wrote: > On Wed, 2007-10-10 at 21:38 -0600, Thayne Harbaugh wrote: > > I have noticed that many functions in syscall.c return a *host* errno > > when a *target* errno should be return. At the same time, there are > > several places in syscall.c:do_s

Re: [Qemu-devel] [PATCH] syscall_target_errno.patch

2007-10-12 Thread Thayne Harbaugh
On Wed, 2007-10-10 at 21:38 -0600, Thayne Harbaugh wrote: > I have noticed that many functions in syscall.c return a *host* errno > when a *target* errno should be return. At the same time, there are > several places in syscall.c:do_syscall() that immediately return an > errno rather than setti

Re: [Qemu-devel] [PATCH] syscall_target_errno.patch

2007-10-11 Thread J. Mayer
On Wed, 2007-10-10 at 21:38 -0600, Thayne Harbaugh wrote: > I appreciate the work that Jocelyn did to correct the types used > throughout linux-user/syscall.c. Along those same lines I am working on > several patches to eliminate some incorrect constructs that have crept > into syscall.c - some of

[Qemu-devel] [PATCH] syscall_target_errno.patch

2007-10-10 Thread Thayne Harbaugh
I appreciate the work that Jocelyn did to correct the types used throughout linux-user/syscall.c. Along those same lines I am working on several patches to eliminate some incorrect constructs that have crept into syscall.c - some of which I have ignorantly propagated in previous patches that I hav