]> git.ipfire.org Git - thirdparty/valgrind.git/commit
linux x86 and amd64 memory protection key syscalls.
authorMark Wielaard <mark@klomp.org>
Wed, 29 May 2019 22:29:58 +0000 (00:29 +0200)
committerMark Wielaard <mark@klomp.org>
Thu, 6 Jun 2019 16:18:47 +0000 (18:18 +0200)
commite00335bd38c32439bb17b937ab374ca96b53a1f3
tree7cd0a92c67043626796c7bdfe2d19a1baa9083db
parent4dec2cda0f4b2e25a7806610f9bf614b1c48b4a3
linux x86 and amd64 memory protection key syscalls.

This implements minimal support for the pkey_alloc, pkey_free and
pkey_mprotect syscalls. pkey_alloc will simply indicate that pkeys
are not supported. pkey_free always fails. pkey_mprotect works just
like mprotect if the special pkey -1 is provided.

https://bugs.kde.org/show_bug.cgi?id=408091
NEWS
coregrind/m_syswrap/priv_syswrap-generic.h
coregrind/m_syswrap/priv_syswrap-linux.h
coregrind/m_syswrap/syswrap-amd64-linux.c
coregrind/m_syswrap/syswrap-generic.c
coregrind/m_syswrap/syswrap-linux.c
coregrind/m_syswrap/syswrap-x86-linux.c