[linux] 01/02: bug script: Add new taint flags including TAINT_UNSIGNED_MODULE

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Thu Apr 14 11:31:24 UTC 2016


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch master
in repository linux.

commit 2ed6f0e2f96c0defad2b8b5309033e350e72acdc
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Thu Apr 14 03:47:00 2016 +0100

    bug script: Add new taint flags including TAINT_UNSIGNED_MODULE
---
 debian/templates/image.bug/include-1tainted | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/templates/image.bug/include-1tainted b/debian/templates/image.bug/include-1tainted
index 5a64409..8aae5b4 100644
--- a/debian/templates/image.bug/include-1tainted
+++ b/debian/templates/image.bug/include-1tainted
@@ -11,6 +11,9 @@ TAINT_WARN=9
 TAINT_CRAP=10
 TAINT_FIRMWARE_WORKAROUND=11
 TAINT_OOT_MODULE=12
+TAINT_UNSIGNED_MODULE=13
+TAINT_SOFTLOCKUP=14
+TAINT_LIVEPATCH=15
 
 _check() {
   if [ $(($tainted & 1<<$1)) -ne 0 ]; then
@@ -36,6 +39,9 @@ add_1tainted() {
     _check $TAINT_CRAP 'C' 'Module from drivers/staging has been loaded.'
     _check $TAINT_FIRMWARE_WORKAROUND 'I' 'Working around severe firmware bug.'
     _check $TAINT_OOT_MODULE 'O' 'Out-of-tree module has been loaded.'
+    _check $TAINT_UNSIGNED_MODULE 'E' 'Unsigned module has been loaded (currently expected).'
+    _check $TAINT_SOFTLOCKUP 'L' 'Kernel has detected soft lockup before.'
+    _check $TAINT_LIVEPATCH 'K' 'Live patch has been loaded.'
     echo "** Tainted: $result_short ($tainted)" >&3
     printf "$result_long" >&3
   else

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git



More information about the Kernel-svn-changes mailing list