Thread (3 messages) flat view 3 messages, 3 authors, 2020-08-18

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

From: Michael Ellerman <hidden>
Date: 2020-08-18 03:28:32

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help