diff options
| author | Helge Deller <[email protected]> | 2023-11-18 18:33:35 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2023-11-18 18:35:31 +0000 |
| commit | 793838138c157d4c49f4fb744b170747e3dabf58 (patch) | |
| tree | 4fe9275c0bbcfd3042b70b1880c9e894aeaa65bf /net/unix/unix_bpf.c | |
| parent | parisc/power: Fix power soft-off when running on qemu (diff) | |
| download | kernel-793838138c157d4c49f4fb744b170747e3dabf58.tar.gz kernel-793838138c157d4c49f4fb744b170747e3dabf58.zip | |
prctl: Disable prctl(PR_SET_MDWE) on parisc
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 <[email protected]>
Co-developed-by: Linus Torvalds <[email protected]>
Reported-by: Sam James <[email protected]>
Closes: https://github.com/systemd/systemd/issues/29775
Tested-by: Sam James <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Cc: <[email protected]> # v6.3+
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
