mbox series

[v4,0/2] linux-user: fix incompatibility with latest glibc

Message ID 20190320161842.13908-1-berrange@redhat.com (mailing list archive)
Headers show
Series linux-user: fix incompatibility with latest glibc | expand

Message

Daniel P. Berrangé March 20, 2019, 4:18 p.m. UTC
Changed in v4:

 - Drop support for systems without __NR_gettid
 - Keep using syscall0 macro

Changed in v3:
 - put { on separate line to please checkpatch

Changed in v2:
 - Rename to sys_gettid instead of using conditional compilation

Daniel P. Berrangé (2):
  linux-user: assume __NR_gettid always exists
  linux-user: rename gettid() to sys_gettid() to avoid clash with glibc

 linux-user/syscall.c | 19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)

Comments

Richard Henderson March 20, 2019, 5:41 p.m. UTC | #1
On 3/20/19 9:18 AM, Daniel P. Berrangé wrote:
> Daniel P. Berrangé (2):
>   linux-user: assume __NR_gettid always exists
>   linux-user: rename gettid() to sys_gettid() to avoid clash with glibc

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~
Laurent Vivier March 20, 2019, 5:58 p.m. UTC | #2
On 20/03/2019 17:18, Daniel P. Berrangé wrote:
> Changed in v4:
> 
>  - Drop support for systems without __NR_gettid
>  - Keep using syscall0 macro
> 
> Changed in v3:
>  - put { on separate line to please checkpatch
> 
> Changed in v2:
>  - Rename to sys_gettid instead of using conditional compilation
> 
> Daniel P. Berrangé (2):
>   linux-user: assume __NR_gettid always exists
>   linux-user: rename gettid() to sys_gettid() to avoid clash with glibc
> 
>  linux-user/syscall.c | 19 ++++++-------------
>  1 file changed, 6 insertions(+), 13 deletions(-)
> 
Reviewed-by: Laurent Vivier <laurent@vivier.eu>