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]
Date:	Tue, 28 May 2013 20:00:45 -0400
From:	Christopher Sacchi <christophersacchi@...il.com>
To:	linux-kernel <linux-kernel@...r.kernel.org>
Subject: [PATCH]: Definition for loglevel in KERN_OOPS

 This patch is for linux-3.10-rc2 and adds the definition for
KERN_OOPS (it can be used for whenever kernel oops occur) in
<linux/kern_loglevel.h> for <linux/printk.h>. It is below the
double-dashes.

--
Signed-off-by: Christopher P. Sacchi <christophersacchi@...il.com>
--- include/linux/kern_levels.h 2013-05-20 17:38.000000000 -0400
+++ include/linux/kern_levels.h 2013-05-28 18:24:22.416100843 -0400
@@ -12,7 +12,7 @@
 #define KERN_NOTICE       KERN_SOH "5"          /* normal but
significant condition */
 #define KERN_INFO             KERN_SOH "6"          /* informational */
 #define KERN_DEBUG        KERN_SOH "7"          /* debug-level messages */
-
+#define KERN_OOPS         KERN_SOH "2"          /* kernel oops condition */
 #define KERN_DEFAULT     KERN_SOH "d"          /* the default kernel
loglevel */

 /*
--
--
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