summaryrefslogtreecommitdiffstats
path: root/0001-add-Red-Hat-specific-taint-flags.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2020-06-10 17:01:45 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2020-06-10 17:01:45 -0500
commitfb49733b7fe9b8eaef7ed7109e983fbc9caca207 (patch)
tree85132c023325bdb1b80514effe2f4f23bfe238db /0001-add-Red-Hat-specific-taint-flags.patch
parentd561cc2b9e59ef7776e5cba2f18f05042fd4d5cc (diff)
downloadkernel-fb49733b7fe9b8eaef7ed7109e983fbc9caca207.tar.gz
kernel-fb49733b7fe9b8eaef7ed7109e983fbc9caca207.tar.xz
kernel-fb49733b7fe9b8eaef7ed7109e983fbc9caca207.zip
kernel-5.8.0-0.rc0.20200610git84fc461db99b.1
* Wed Jun 10 2020 Fedora Kernel Team <kernel-team@fedoraproject.org> [5.8.0-0.rc0.20200610git84fc461db99b.1] - 84fc461db99b rebase - Fix PATCHLEVEL for merge window ("Justin M. Forbes") - PCI: tegra: Revert raw_violation_fixup for tegra124 (Nicolas Chauvet) - Change ark CONFIG_COMMON_CLK to yes, it is selected already by other options ("Justin M. Forbes") - More module filtering for Fedora ("Justin M. Forbes") - Update filters for rnbd in Fedora ("Justin M. Forbes") - Fix up module filtering for 5.8 ("Justin M. Forbes") - More Fedora config work ("Justin M. Forbes") - RTW88BE and CE have been extracted to their own modules ("Justin M. Forbes") - Set CONFIG_BLK_INLINE_ENCRYPTION_FALLBACK for Fedora ("Justin M. Forbes") - Arm64 Use Branch Target Identification for kernel ("Justin M. Forbes") - Fedora config updates ("Justin M. Forbes") - Change value of CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE ("Justin M. Forbes") - Fix configs for Fedora ("Justin M. Forbes") - Fix update_scripts.sh unselective pattern sub (David Howells) - Updated changelog for the release based on b0c3ba31be3e ("CKI@GitLab") - Drop the static path configuration for the Sphinx docs (Jeremy Cline) - Sign off generated configuration patches (Jeremy Cline) - Use __make macro instead of make (Tom Stellard) - redhat/configs: Enable CONFIG_SMC91X and disable CONFIG_SMC911X (Prarit Bhargava) [http://bugzilla.redhat.com/1722136] Resolves: rhbz# Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to '0001-add-Red-Hat-specific-taint-flags.patch')
-rw-r--r--0001-add-Red-Hat-specific-taint-flags.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/0001-add-Red-Hat-specific-taint-flags.patch b/0001-add-Red-Hat-specific-taint-flags.patch
index 8f364f03e..a45526812 100644
--- a/0001-add-Red-Hat-specific-taint-flags.patch
+++ b/0001-add-Red-Hat-specific-taint-flags.patch
@@ -24,10 +24,10 @@ Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
2 files changed, 32 insertions(+), 1 deletion(-)
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
-index 2cb1c4fea0c9..c041d4e950f4 100644
+index b82db0c0caec..28be75396242 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
-@@ -595,7 +595,24 @@ extern enum system_states {
+@@ -603,7 +603,24 @@ extern enum system_states {
#define TAINT_LIVEPATCH 15
#define TAINT_AUX 16
#define TAINT_RANDSTRUCT 17
@@ -50,14 +50,14 @@ index 2cb1c4fea0c9..c041d4e950f4 100644
+#define TAINT_RESERVED31 31
+/* End of Red Hat-specific taint flags */
+#define TAINT_FLAGS_COUNT 32
+ #define TAINT_FLAGS_MAX ((1UL << TAINT_FLAGS_COUNT) - 1)
struct taint_flag {
- char c_true; /* character printed when tainted */
diff --git a/kernel/panic.c b/kernel/panic.c
-index b69ee9e76cb2..02f9b2c36cc1 100644
+index 85568bbfb12b..087392cd7dc8 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
-@@ -376,6 +376,20 @@ const struct taint_flag taint_flags[TAINT_FLAGS_COUNT] = {
+@@ -386,6 +386,20 @@ const struct taint_flag taint_flags[TAINT_FLAGS_COUNT] = {
[ TAINT_LIVEPATCH ] = { 'K', ' ', true },
[ TAINT_AUX ] = { 'X', ' ', true },
[ TAINT_RANDSTRUCT ] = { 'T', ' ', true },