summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/arm64
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-11-18 21:33:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-12-03 09:33:06 +0300
commit790afa133f890c9dcf46f3476406eb0e2c638634 (patch)
tree596125f367cb8a535b560cdff87ff6acfe0b2b0f /tools/testing/selftests/arm64
parent2b00d1fd9a40eede0dd38265f839026a4bb2b4b1 (diff)
downloadlinux-790afa133f890c9dcf46f3476406eb0e2c638634.tar.xz
prctl: Disable prctl(PR_SET_MDWE) on parisc
[ Upstream commit 793838138c157d4c49f4fb744b170747e3dabf58 ] systemd-254 tries to use prctl(PR_SET_MDWE) for it's MemoryDenyWriteExecute functionality, but fails on parisc which still needs executable stacks in certain combinations of gcc/glibc/kernel. Disable prctl(PR_SET_MDWE) by returning -EINVAL for now on parisc, until userspace has catched up. Signed-off-by: Helge Deller <deller@gmx.de> Co-developed-by: Linus Torvalds <torvalds@linux-foundation.org> Reported-by: Sam James <sam@gentoo.org> Closes: https://github.com/systemd/systemd/issues/29775 Tested-by: Sam James <sam@gentoo.org> Link: https://lore.kernel.org/all/875y2jro9a.fsf@gentoo.org/ Cc: <stable@vger.kernel.org> # v6.3+ Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/testing/selftests/arm64')
0 files changed, 0 insertions, 0 deletions