diff options
| author | Aurelien Jarno <aurelien@aurel32.net> | 2025-02-15 11:08:33 +0100 |
|---|---|---|
| committer | Aurelien Jarno <aurelien@aurel32.net> | 2025-02-15 11:08:43 +0100 |
| commit | 60f2d6be657aa8c663ee14bd266d343ae0f35afb (patch) | |
| tree | 9d07a58505eb0545a89b3ebab6457cd52b1f4480 /sysdeps/htl/pthreadP.h | |
| parent | 1b6f868625403d6b7683af840e87d2b18d5d7731 (diff) | |
| download | glibc-60f2d6be657aa8c663ee14bd266d343ae0f35afb.tar.xz glibc-60f2d6be657aa8c663ee14bd266d343ae0f35afb.zip | |
Fix tst-aarch64-pkey to handle ENOSPC as not supported
The syscall pkey_alloc can return ENOSPC to indicate either that all
keys are in use or that the system runs in a mode in which memory
protection keys are disabled. In such case the test should not fail and
just return unsupported.
This matches the behaviour of the generic tst-pkey.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps/htl/pthreadP.h')
0 files changed, 0 insertions, 0 deletions
