Re: [PATCH] linux-user: return target error codes for socket() and prctl()

2020-05-27 Thread Laurent Vivier
Le 25/04/2020 à 00:00, Helge Deller a écrit : > Return target error codes instead of host error codes. > > Signed-off-by: Helge Deller > > diff --git a/linux-user/syscall.c b/linux-user/syscall.c > index 05f03919ff..655a86fa45 100644 > --- a/linux-user/syscall.c > +++ b/linux-user/syscall.c > @@

Re: [PATCH] linux-user: return target error codes for socket() and prctl()

2020-04-25 Thread Laurent Vivier
Le 25/04/2020 à 00:00, Helge Deller a écrit : > Return target error codes instead of host error codes. > > Signed-off-by: Helge Deller > > diff --git a/linux-user/syscall.c b/linux-user/syscall.c > index 05f03919ff..655a86fa45 100644 > --- a/linux-user/syscall.c > +++ b/linux-user/syscall.c > @@

[PATCH] linux-user: return target error codes for socket() and prctl()

2020-04-24 Thread Helge Deller
Return target error codes instead of host error codes. Signed-off-by: Helge Deller diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 05f03919ff..655a86fa45 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -2987,7 +2987,7 @@ static abi_long do_socket(int domain, int ty