]> sourceware.org Git - glibc.git/commit
powerpc64: Add memory protection key support [BZ #23202]
authorFlorian Weimer <fweimer@redhat.com>
Fri, 14 Feb 2020 19:55:39 +0000 (20:55 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 14 Feb 2020 19:55:39 +0000 (20:55 +0100)
commita803367bab167f5ec4fde1f0d0ec447707c29520
tree25ee7f81b6b75c2eedb9aafba1dff99ffd554663
parent2b7dc93f826ee2cab7e6b7e5b6432f7920f0eec0
powerpc64: Add memory protection key support [BZ #23202]

The 32-bit protection key behavior is somewhat unclear on 32-bit powerpc,
so this change is restricted to the 64-bit variants.

Flag translation is needed because of hardware differences between the
POWER implementation (read and write flags) and the Intel implementation
(write and read+write flags).
sysdeps/unix/sysv/linux/powerpc/powerpc64/arch-pkey.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/powerpc/powerpc64/pkey_get.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/powerpc/powerpc64/pkey_set.c [new file with mode: 0644]
This page took 0.036456 seconds and 5 git commands to generate.