lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.1.10.0906191422460.29844@vinegar-pot.mit.edu>
Date:	Fri, 19 Jun 2009 15:57:21 -0400 (EDT)
From:	Tim Abbott <tabbott@...lice.com>
To:	Linus Torvalds <torvalds@...ux-foundation.org>
cc:	Linux kernel mailing list <linux-kernel@...r.kernel.org>,
	Arjan van de Ven <arjan@...radead.org>,
	Alexey Dobriyan <adobriyan@...il.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Anders Kaseorg <andersk@...lice.com>,
	Jeffrey B Arnold <jbarnold@...lice.com>
Subject: [PATCH] Add new TAINT_KSPLICE flag for when a Ksplice update has
 been loaded.

Distributions and kerneloops.org have requested that the Ksplice
rebootless update system taint the kernel the first time that a
Ksplice update is installed, in order to assist with bug triage.

Ksplice uses a new taint flag, TAINT_KSPLICE, displayed as 'K', for
this purpose.

We would like to confirm that this use of taint meets with the
community's approval and get this taint flag registered in mainline.

Signed-off-by: Tim Abbott <tabbott@...lice.com>
---
 include/linux/kernel.h |    1 +
 kernel/panic.c         |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index c5a71c3..be77585 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -330,6 +330,7 @@ extern enum system_states {
 #define TAINT_OVERRIDDEN_ACPI_TABLE	8
 #define TAINT_WARN			9
 #define TAINT_CRAP			10
+#define TAINT_KSPLICE			11
 
 extern void dump_stack(void) __cold;
 
diff --git a/kernel/panic.c b/kernel/panic.c
index 984b3ec..c2ea780 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -160,6 +160,7 @@ static const struct tnt tnts[] = {
 	{ TAINT_OVERRIDDEN_ACPI_TABLE,	'A', ' ' },
 	{ TAINT_WARN,			'W', ' ' },
 	{ TAINT_CRAP,			'C', ' ' },
+	{ TAINT_KSPLICE,		'K', ' ' },
 };
 
 /**
@@ -176,6 +177,7 @@ static const struct tnt tnts[] = {
  *  'A' - ACPI table overridden.
  *  'W' - Taint on warning.
  *  'C' - modules from drivers/staging are loaded.
+ *  'K' - A Ksplice update has been loaded.
  *
  *	The string is overwritten by the next call to print_taint().
  */
-- 
1.6.3.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ