diff options
author | Doug Anderson <dianders@chromium.org> | 2014-04-22 18:14:51 -0400 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2014-10-16 17:38:53 -0400 |
commit | 23a4e4050ba9c98ab67db0980a9fb20e5096d9ea (patch) | |
tree | a5571f323a6f923d5b8d4674112eec798f0bb13b /arch/arm/kernel/Makefile | |
parent | 42d720d1731a9d7035c2812437c35e271ec4dd78 (diff) |
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: Doug Anderson <dianders@chromium.org>
[kees: switched structure size check to BUILD_BUG_ON (sboyd)]
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Diffstat (limited to 'arch/arm/kernel/Makefile')
-rw-r--r-- | arch/arm/kernel/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/kernel/Makefile b/arch/arm/kernel/Makefile index 38ddd9f83d0e..70b730766330 100644 --- a/arch/arm/kernel/Makefile +++ b/arch/arm/kernel/Makefile | |||
@@ -67,7 +67,7 @@ test-kprobes-objs += kprobes-test-arm.o | |||
67 | endif | 67 | endif |
68 | obj-$(CONFIG_OABI_COMPAT) += sys_oabi-compat.o | 68 | obj-$(CONFIG_OABI_COMPAT) += sys_oabi-compat.o |
69 | obj-$(CONFIG_ARM_THUMBEE) += thumbee.o | 69 | obj-$(CONFIG_ARM_THUMBEE) += thumbee.o |
70 | obj-$(CONFIG_KGDB) += kgdb.o | 70 | obj-$(CONFIG_KGDB) += kgdb.o patch.o |
71 | obj-$(CONFIG_ARM_UNWIND) += unwind.o | 71 | obj-$(CONFIG_ARM_UNWIND) += unwind.o |
72 | obj-$(CONFIG_HAVE_TCM) += tcm.o | 72 | obj-$(CONFIG_HAVE_TCM) += tcm.o |
73 | obj-$(CONFIG_OF) += devtree.o | 73 | obj-$(CONFIG_OF) += devtree.o |