[PATCH v6 6/8] arm: kgdb: Handle read-only text / modules

2014-09-18 Thread Kees Cook
From: Doug Anderson 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: Doug Anderson [kees: switched structure size check to BUILD_BUG_ON (sboyd)] Signed-off-by: Kees Cook Acked-by: Nicolas Pitre

[PATCH v6 6/8] arm: kgdb: Handle read-only text / modules

2014-09-18 Thread Kees Cook
From: Doug Anderson diand...@chromium.org 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: Doug Anderson diand...@chromium.org [kees: switched structure size check to BUILD_BUG_ON (sboyd)]