Re: [PATCH v4] selftests/powerpc: Fix pkey syscall redefinitions

2020-08-17 Thread Michael Ellerman
On Tue, 4 Aug 2020 23:01:37 +0530, Sandipan Das wrote: > On distros using older glibc versions, the pkey tests > encounter build failures due to redefinition of the > pkey syscall numbers. > > For compatibility, commit 743f3544fffb added a wrapper > for the gettid() syscall and included syscall.h

Re: [PATCH v4] selftests/powerpc: Fix pkey syscall redefinitions

2020-08-04 Thread Sachin Sant
> On 04-Aug-2020, at 11:01 PM, Sandipan Das wrote: > > On distros using older glibc versions, the pkey tests > encounter build failures due to redefinition of the > pkey syscall numbers. > > For compatibility, commit 743f3544fffb added a wrapper > for the gettid() syscall and included

[PATCH v4] selftests/powerpc: Fix pkey syscall redefinitions

2020-08-04 Thread Sandipan Das
On distros using older glibc versions, the pkey tests encounter build failures due to redefinition of the pkey syscall numbers. For compatibility, commit 743f3544fffb added a wrapper for the gettid() syscall and included syscall.h if the version of glibc used is older than 2.30. This leads to