On 01/12/2018 01:55 PM, Ingo Molnar wrote:
* Florian Weimer <fweimer@xxxxxxxxxx> wrote:
This patch is based on the previous discussion (pkeys: Support setting
access rights for signal handlers):
https://marc.info/?t=151285426000001
It aligns the signal semantics of the x86 implementation with the upcoming
POWER implementation, and defines a new flag, so that applications can
detect which semantics the kernel uses.
A change in this area is needed to make memory protection keys usable for
protecting the GOT in the dynamic linker.
(Feel free to replace the trigraphs in the commit message before committing,
or to remove the program altogether.)
Could you please send patches not as MIME attachments?
My mail infrastructure corrupts patches not sent as attachments, sorry.
Also, the protection keys testcase first need to be fixed, before we complicate
them - for example on a pretty regular Ubuntu x86-64 installation they fail to
build with the build errors attached further below.
I can fix things up so that they build on Fedora 26, Debian stretch, and
Red Hat Enterprise Linux 7. Would that be sufficient?
Fedora 23 is out of support and I'd prefer not invest any work into it.
Note that I find it strange to make this a precondition for even looking
at the patch.
Thanks,
Florian