aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas A. M. Magalhaes <lamm@linux.ibm.com>2020-02-17 09:09:52 -0300
committerTulio Magno Quites Machado Filho <tuliom@linux.ibm.com>2020-02-19 10:54:02 -0300
commit8d42bf859a289944749d9f978c076cd318119867 (patch)
tree0fec7ff828f19750fcbdefecf5211348a9e519f9 /support/tst-test_compare_blob.c
parenty2038: linux: Provide __gettimeofday64 implementation (diff)
downloadglibc-8d42bf859a289944749d9f978c076cd318119867.tar.gz
glibc-8d42bf859a289944749d9f978c076cd318119867.tar.bz2
glibc-8d42bf859a289944749d9f978c076cd318119867.zip
Fix tst-pkey expectations on pkey_get [BZ #23202]
From the GNU C Library manual, the pkey_set can receive a combination of PKEY_DISABLE_WRITE and PKEY_DISABLE_ACCESS. However PKEY_DISABLE_ACCESS is more restrictive than PKEY_DISABLE_WRITE and includes its behavior. The test expects that after setting (PKEY_DISABLE_WRITE|PKEY_DISABLE_ACCESS) pkey_get should return the same. This may not be true as PKEY_DISABLE_ACCESS will succeed in describing the state of the key in this case. The pkey behavior during signal handling is different between x86 and POWER. This change make the test compatible with both architectures. Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Diffstat (limited to 'support/tst-test_compare_blob.c')
0 files changed, 0 insertions, 0 deletions