diff options
author | Helge Deller <deller@gmx.de> | 2022-06-26 12:50:43 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-06-26 13:23:15 +0300 |
commit | 0a1355db36718178becd2bfe728a023933d73123 (patch) | |
tree | b8b335ed227654f2b1418cdd82309d700d7ced68 /arch/um | |
parent | e9ed22e6e5010997a2f922eef61ca797d0a2a246 (diff) | |
download | linux-0a1355db36718178becd2bfe728a023933d73123.tar.xz |
parisc: Enable ARCH_HAS_STRICT_MODULE_RWX
Fix a boot crash on a c8000 machine as reported by Dave. Basically it changes
patch_map() to return an alias mapping to the to-be-patched code in order to
prevent writing to write-protected memory.
Signed-off-by: Helge Deller <deller@gmx.de>
Suggested-by: John David Anglin <dave.anglin@bell.net>
Cc: stable@vger.kernel.org # v5.2+
Link: https://lore.kernel.org/all/e8ec39e8-25f8-e6b4-b7ed-4cb23efc756e@bell.net/
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions