[PATCH v4] selftests/powerpc: Fix pkey syscall redefinitions
Michael Ellerman
patch-notifications at ellerman.id.au
Tue Aug 18 13:21:15 AEST 2020
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 if the
> version of glibc used is older than 2.30. This leads
> to different definitions of SYS_pkey_* as the ones in
> the pkey test header set numeric constants where as the
> ones from syscall.h reuse __NR_pkey_*. The compiler
> complains about redefinitions since they are different.
>
> [...]
Applied to powerpc/fixes.
[1/1] selftests/powerpc: Fix pkey syscall redefinitions
https://git.kernel.org/powerpc/c/a7aaa2f26bfd932a654706b19859e7adf802bee2
cheers
More information about the Linuxppc-dev
mailing list