[kernel] r11812 - dists/trunk/linux-2.6/debian/templates/image.plain.bug

Bastian Blank waldi at alioth.debian.org
Wed Jul 9 07:31:28 UTC 2008


Author: waldi
Date: Wed Jul  9 07:31:27 2008
New Revision: 11812

Log:
debian/templates/image.plain.bug/include-1tainted: Add new taint types.


Modified:
   dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-1tainted

Modified: dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-1tainted
==============================================================================
--- dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-1tainted	(original)
+++ dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-1tainted	Wed Jul  9 07:31:27 2008
@@ -4,6 +4,10 @@
 TAINT_FORCED_RMMOD=8
 TAINT_MACHINE_CHECK=16
 TAINT_BAD_PAGE=32
+TAINT_USER=64
+TAINT_DIE=128
+TAINT_OVERRIDDEN_ACPI_TABLE=256
+TAINT_WARN=512
 
 add_1tainted() {
   tainted=$(cat /proc/sys/kernel/tainted)
@@ -15,6 +19,10 @@
     [ $(($tainted & $TAINT_FORCED_RMMOD)) -ne 0 ] && s="${s}R" || s="$s "
     [ $(($tainted & $TAINT_MACHINE_CHECK)) -ne 0 ] && s="${s}M" || s="$s "
     [ $(($tainted & $TAINT_BAD_PAGE)) -ne 0 ] && s="${s}B" || s="$s "
+    [ $(($tainted & $TAINT_USER)) -ne 0 ] && s="${s}U" || s="$s "
+    [ $(($tainted & $TAINT_DIE)) -ne 0 ] && s="${s}D" || s="$s "
+    [ $(($tainted & $TAINT_OVERRIDDEN_ACPI_TABLE)) -ne 0 ] && s="${s}A" || s="$s "
+    [ $(($tainted & $TAINT_WARN)) -ne 0 ] && s="${s}W" || s="$s "
     echo '** Tainted:' $s "($tainted)" >&3
     echo >&3
   else



More information about the Kernel-svn-changes mailing list