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

Commit 182905a2 authored by Doug Anderson's avatar Doug Anderson Committed by Kees Cook
Browse files

UPSTREAM: arm: kgdb: Handle read-only text / modules



Handle the case where someone has set the text segment of the kernel
as read-only by using the newly introduced "patch" mechanism.

Signed-off-by: default avatarDoug Anderson <dianders@chromium.org>
[kees: switched structure size check to BUILD_BUG_ON (sboyd)]
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Acked-by: default avatarNicolas Pitre <nico@linaro.org>

(cherry picked from commit 23a4e4050ba9c98ab67db0980a9fb20e5096d9ea)
Signed-off-by: default avatarKees Cook <keescook@google.com>
Change-Id: I39fafcb198d37779650e9ddb0461cf28406beeed
parent 378691a7
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