summaryrefslogtreecommitdiff
path: root/libre/linux-libre-grsec/change-default-console-loglevel.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-01 02:22:17 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-01 02:22:17 -0300
commit58901dc0597bb06f68a3aa8c592911f5d726cd7c (patch)
treef9ad60a7aa77b3d9980421b19e57bc87a60dfd56 /libre/linux-libre-grsec/change-default-console-loglevel.patch
parentea6e2ccef98b332dc79ba3be8f282491079ca698 (diff)
linux-libre-grsec-3.16.1_gnu.201409010104-1: updating version
Diffstat (limited to 'libre/linux-libre-grsec/change-default-console-loglevel.patch')
-rw-r--r--libre/linux-libre-grsec/change-default-console-loglevel.patch21
1 files changed, 10 insertions, 11 deletions
diff --git a/libre/linux-libre-grsec/change-default-console-loglevel.patch b/libre/linux-libre-grsec/change-default-console-loglevel.patch
index 22cd69a09..11da2a9d8 100644
--- a/libre/linux-libre-grsec/change-default-console-loglevel.patch
+++ b/libre/linux-libre-grsec/change-default-console-loglevel.patch
@@ -1,12 +1,11 @@
-diff -upr linux-3.0.orig/kernel/printk.c linux-3.0/kernel/printk.c
---- linux-3.0.orig/kernel/printk/printk.c 2011-07-22 05:17:23.000000000 +0300
-+++ linux-3.0/kernel/printk/printk.c 2011-07-27 14:43:07.000000000 +0300
-@@ -58,7 +58,7 @@ void asmlinkage __attribute__((weak)) ea
-
- /* We show everything that is MORE important than this.. */
- #define MINIMUM_CONSOLE_LOGLEVEL 1 /* Minimum loglevel we let people use */
--#define DEFAULT_CONSOLE_LOGLEVEL 7 /* anything MORE serious than KERN_DEBUG */
-+#define DEFAULT_CONSOLE_LOGLEVEL 4 /* anything MORE serious than KERN_WARNING */
-
- DECLARE_WAIT_QUEUE_HEAD(log_wait);
+--- linux-3.16/include/linux/printk.h.old 2014-08-04 18:48:30.686043266 +0200
++++ linux-3.16/include/linux/printk.h 2014-08-04 18:48:47.706218528 +0200
+@@ -37,7 +37,7 @@
+ #define CONSOLE_LOGLEVEL_SILENT 0 /* Mum's the word */
+ #define CONSOLE_LOGLEVEL_MIN 1 /* Minimum loglevel we let people use */
+ #define CONSOLE_LOGLEVEL_QUIET 4 /* Shhh ..., when booted with "quiet" */
+-#define CONSOLE_LOGLEVEL_DEFAULT 7 /* anything MORE serious than KERN_DEBUG */
++#define CONSOLE_LOGLEVEL_DEFAULT 4 /* anything MORE serious than KERN_DEBUG */
+ #define CONSOLE_LOGLEVEL_DEBUG 10 /* issue debug messages */
+ #define CONSOLE_LOGLEVEL_MOTORMOUTH 15 /* You can't shut this one up */