]> sourceware.org Git - glibc.git/commit
linux: Also check pkey_get for ENOSYS on tst-pkey (BZ 31996)
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 19 Jul 2024 14:23:15 +0000 (11:23 -0300)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Fri, 19 Jul 2024 20:39:44 +0000 (22:39 +0200)
commit6b7e2e1d6139b1fb61b911ab897a956042bf7f89
tree2d45ba6a04cc20f93ee7aec695e35a52e346aed4
parente0f7da7235105e0ae807bc701e54a0ea01e0ef9f
linux: Also check pkey_get for ENOSYS on tst-pkey (BZ 31996)

The powerpc pkey_get/pkey_set support was only added for 64-bit [1],
and tst-pkey only checks if the support was present with pkey_alloc
(which does not fail on powerpc32, at least running a 64-bit kernel).

Checked on powerpc-linux-gnu.

[1] https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a803367bab167f5ec4fde1f0d0ec447707c29520
Reviewed-By: Andreas K. Huettel <dilfridge@gentoo.org>
sysdeps/unix/sysv/linux/tst-pkey.c
This page took 0.044202 seconds and 5 git commands to generate.