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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 11 Oct 2009 09:10:58 +0300
From:	Artem Bityutskiy <dedekind1@...il.com>
To:	Ingo Molnar <mingo@...e.hu>
Cc:	Artem Bityutskiy <Artem.Bityutskiy@...ia.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Aaro Koskinen <aaro.koskinen@...ia.com>,
	David Woodhouse <dwmw2@...radead.org>,
	Simon Kagstrom <simon.kagstrom@...insight.net>,
	linux-mtd <linux-mtd@...ts.infradead.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] panic.c: export panic_on_oops

From: Artem Bityutskiy <Artem.Bityutskiy@...ia.com>

We use the mtdoops module which stores oopses on the Flash partition,
in order to make it possible to analyze them later. And mtdoops needs
to know whether 'panic_on_oops' is on or off. Thus, we need this
variable to be exported.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@...ia.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>
Cc: Aaro Koskinen <aaro.koskinen@...ia.com>
Cc: David Woodhouse <dwmw2@...radead.org>
Cc: Simon Kagstrom <simon.kagstrom@...insight.net>
Cc: linux-mtd <linux-mtd@...ts.infradead.org>
Cc: LKML <linux-kernel@...r.kernel.org>
---
 kernel/panic.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/kernel/panic.c b/kernel/panic.c
index bcdef26..6d29be3 100644
--- a/kernel/panic.c
+++ b/kernel/panic.c
@@ -24,6 +24,8 @@
 #include <linux/dmi.h>
 
 int panic_on_oops;
+EXPORT_SYMBOL_GPL(panic_on_oops);
+
 static unsigned long tainted_mask;
 static int pause_on_oops;
 static int pause_on_oops_flag;
-- 
1.6.2.5

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