diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2020-07-03 21:46:40 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-07-05 15:02:47 +0200 |
commit | 0f07496f520cef7c58efe125d542cbc063bbc558 (patch) | |
tree | 8ef66ba2f34a3d081c788fa21d79b602f45f33f0 /target/linux/generic/hack-4.9/220-gc_sections.patch | |
parent | 1f8d9f70c259a5702c4a7646754ccad6add5d9ab (diff) | |
download | upstream-0f07496f520cef7c58efe125d542cbc063bbc558.tar.gz upstream-0f07496f520cef7c58efe125d542cbc063bbc558.tar.bz2 upstream-0f07496f520cef7c58efe125d542cbc063bbc558.zip |
kernel: Update kernel 4.9 to version 4.9.229
Fixes:
- CVE-2020-10757
Run tested: ar71xx
Build tested: ar71xx
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/generic/hack-4.9/220-gc_sections.patch')
-rw-r--r-- | target/linux/generic/hack-4.9/220-gc_sections.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/hack-4.9/220-gc_sections.patch b/target/linux/generic/hack-4.9/220-gc_sections.patch index e795d666df..cd55f27d00 100644 --- a/target/linux/generic/hack-4.9/220-gc_sections.patch +++ b/target/linux/generic/hack-4.9/220-gc_sections.patch @@ -21,7 +21,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> --- a/Makefile +++ b/Makefile -@@ -402,6 +402,11 @@ KBUILD_LDFLAGS_MODULE = -T $(srctree)/sc +@@ -398,6 +398,11 @@ KBUILD_LDFLAGS_MODULE = -T $(srctree)/sc GCC_PLUGINS_CFLAGS := CLANG_FLAGS := @@ -33,7 +33,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> # Read KERNELRELEASE from include/config/kernel.release (if it exists) KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null) KERNELVERSION = $(VERSION)$(if $(PATCHLEVEL),.$(PATCHLEVEL)$(if $(SUBLEVEL),.$(SUBLEVEL)))$(EXTRAVERSION) -@@ -652,11 +657,6 @@ KBUILD_CFLAGS += $(call cc-disable-warni +@@ -648,11 +653,6 @@ KBUILD_CFLAGS += $(call cc-disable-warni KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member) KBUILD_CFLAGS += $(call cc-disable-warning, attribute-alias) @@ -43,7 +43,7 @@ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> -endif - ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE - KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,) $(EXTRA_OPTIMIZATION) + KBUILD_CFLAGS += -Os $(EXTRA_OPTIMIZATION) else --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig |