From cdba06ffc2e4498fe666b614d78ba55bc98e154b Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sun, 16 Sep 2018 16:27:59 +0100 Subject: [PATCH] debian/patches: Add Forwarded fields to several patches --- debian/changelog | 1 + ...ntation-fix-out-of-tree-asciidoctor-man-page-generation.patch | 1 + .../tools-turbostat-Add-checks-for-failure-of-fgets-and-.patch | 1 + .../tools-x86_energy_perf_policy-fix-uninitialized-varia.patch | 1 + debian/patches/bugfix/x86/x86-boot-fix-efi-stub-alignment.patch | 1 + .../features/x86/x86-make-x32-syscall-support-conditional.patch | 1 + 6 files changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index c8f2795f4..39811909e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -33,6 +33,7 @@ linux (4.19~rc3-1~exp2) UNRELEASED; urgency=medium * [ia64] udeb: Fix priority of sn-modules * Revert "Revert "net: increase fragment memory usage limits"", as 4.19 includes a better fix for CVE-2018-5391 + * debian/patches: Add Forwarded fields to several patches -- Ben Hutchings Mon, 10 Sep 2018 22:25:53 +0100 diff --git a/debian/patches/bugfix/all/perf-documentation-fix-out-of-tree-asciidoctor-man-page-generation.patch b/debian/patches/bugfix/all/perf-documentation-fix-out-of-tree-asciidoctor-man-page-generation.patch index 5d9c9262b..d3604812a 100644 --- a/debian/patches/bugfix/all/perf-documentation-fix-out-of-tree-asciidoctor-man-page-generation.patch +++ b/debian/patches/bugfix/all/perf-documentation-fix-out-of-tree-asciidoctor-man-page-generation.patch @@ -1,6 +1,7 @@ From: Ben Hutchings Date: Fri, 06 Jul 2018 23:22:10 +0100 Subject: perf Documentation: Fix out-of-tree asciidoctor man page generation +Forwarded: https://lore.kernel.org/lkml/20180916151704.GF4765@decadent.org.uk/T/#u The dependency for the man page rule using asciidoctor incorrectly specifies a source file in $(OUTPUT). When building out-of-tree, the diff --git a/debian/patches/bugfix/x86/tools-turbostat-Add-checks-for-failure-of-fgets-and-.patch b/debian/patches/bugfix/x86/tools-turbostat-Add-checks-for-failure-of-fgets-and-.patch index f33710e58..cad050d64 100644 --- a/debian/patches/bugfix/x86/tools-turbostat-Add-checks-for-failure-of-fgets-and-.patch +++ b/debian/patches/bugfix/x86/tools-turbostat-Add-checks-for-failure-of-fgets-and-.patch @@ -1,6 +1,7 @@ From: Ben Hutchings Date: Tue, 11 Sep 2018 03:07:28 +0100 Subject: tools: turbostat: Add checks for failure of fgets() and fscanf() +Forwarded: https://marc.info/?l=linux-pm&m=153711036626779 Most calls to fgets() and fscanf() are followed by error checks. Add an exit-on-error in the remaining cases. diff --git a/debian/patches/bugfix/x86/tools-x86_energy_perf_policy-fix-uninitialized-varia.patch b/debian/patches/bugfix/x86/tools-x86_energy_perf_policy-fix-uninitialized-varia.patch index c07f7169d..891369e83 100644 --- a/debian/patches/bugfix/x86/tools-x86_energy_perf_policy-fix-uninitialized-varia.patch +++ b/debian/patches/bugfix/x86/tools-x86_energy_perf_policy-fix-uninitialized-varia.patch @@ -2,6 +2,7 @@ From: Ben Hutchings Date: Tue, 11 Sep 2018 02:38:36 +0100 Subject: tools: x86_energy_perf_policy: Fix "uninitialized variable" warnings at -O2 +Forwarded: https://marc.info/?l=linux-pm&m=153711035626776 x86_energy_perf_policy first uses __get_cpuid() to check the maximum CPUID level and exits if it is too low. It then assumes that later diff --git a/debian/patches/bugfix/x86/x86-boot-fix-efi-stub-alignment.patch b/debian/patches/bugfix/x86/x86-boot-fix-efi-stub-alignment.patch index a51bb9b18..5c38bf02c 100644 --- a/debian/patches/bugfix/x86/x86-boot-fix-efi-stub-alignment.patch +++ b/debian/patches/bugfix/x86/x86-boot-fix-efi-stub-alignment.patch @@ -1,6 +1,7 @@ From: Ben Hutchings Date: Wed, 05 Sep 2018 17:28:12 +0100 Subject: x86: boot: Fix EFI stub alignment +Forwarded: https://lore.kernel.org/lkml/20180916152246.GG4765@decadent.org.uk/T/#u We currently align the end of the compressed image to a multiple of 16. However the PE-COFF header included in the EFI stub says that the diff --git a/debian/patches/features/x86/x86-make-x32-syscall-support-conditional.patch b/debian/patches/features/x86/x86-make-x32-syscall-support-conditional.patch index 2c3f67d4d..b93f62b35 100644 --- a/debian/patches/features/x86/x86-make-x32-syscall-support-conditional.patch +++ b/debian/patches/features/x86/x86-make-x32-syscall-support-conditional.patch @@ -2,6 +2,7 @@ From: Ben Hutchings Date: Mon, 12 Feb 2018 23:59:26 +0000 Subject: x86: Make x32 syscall support conditional on a kernel parameter Bug-Debian: https://bugs.debian.org/708070 +Forwarded: https://lore.kernel.org/lkml/1415245982.3398.53.camel@decadent.org.uk/T/#u Enabling x32 in the standard amd64 kernel would increase its attack surface while provide no benefit to the vast majority of its users.