Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 194a2e99 authored by Kees Cook's avatar Kees Cook Committed by Alistair Delva
Browse files

FROMLIST: rename missed uaccess .fixup section

When the uaccess .fixup section was renamed to .text.fixup, one case was
missed. Under ld.bfd, the orphaned section was moved close to .text
(since they share the "ax" bits), so things would work normally on
uaccess faults. Under ld.lld, the orphaned section was placed outside
the .text section, making it unreachable.

Fixes: c4a84ae3 ("ARM: 8322/1: keep .text and .fixup regions closer together")
Link: https://github.com/ClangBuiltLinux/linux/issues/282
Link: https://bugs.chromium.org/p/chromium/issues/detail?id=1020633#c44
Link: https://lore.kernel.org/r/nycvar.YSQ.7.76.1912032147340.17114@knanqh.ubzr
Link: https://lore.kernel.org/lkml/202002071754.F5F073F1D@keescook/


Cc: stable@vger.kernel.org
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Reviewed-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: default avatarNick Desaulniers <ndesaulniers@google.com>

Bug: 149493767
(am from https://www.armlinux.org.uk/developer/patches/viewpatch.php?id=8958/1

)
Signed-off-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Change-Id: I39a2d2e7bfee7ff9854782c06547c277895e8ec1
parent a744d4f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment