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: <20060926165857.4bf90fd6.akpm@osdl.org>
Date:	Tue, 26 Sep 2006 16:58:57 -0700
From:	Andrew Morton <akpm@...l.org>
To:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Cc:	Andi Kleen <ak@....de>, Don Zickus <dzickus@...hat.com>
Subject: Re: [PATCH] x86: Allow users to force a panic on NMI

On Tue, 26 Sep 2006 22:59:59 GMT
Linux Kernel Mailing List <linux-kernel@...r.kernel.org> wrote:

> --- a/kernel/panic.c
> +++ b/kernel/panic.c
> @@ -21,6 +21,7 @@ #include <linux/kexec.h>
>  #include <linux/debug_locks.h>
>  
>  int panic_on_oops;
> +int panic_on_unrecovered_nmi;
>  int tainted;
>  static int pause_on_oops;
>  static int pause_on_oops_flag;

Is visible to all architectures.

> diff --git a/kernel/sysctl.c b/kernel/sysctl.c
> index 040de6b..220e205 100644
> --- a/kernel/sysctl.c
> +++ b/kernel/sysctl.c
> @@ -642,6 +642,14 @@ #if defined(CONFIG_X86_LOCAL_APIC) && de
>  #endif
>  #if defined(CONFIG_X86)
>  	{
> +		.ctl_name	= KERN_PANIC_ON_NMI,
> +		.procname	= "panic_on_unrecovered_nmi",
> +		.data		= &panic_on_unrecovered_nmi,
> +		.maxlen		= sizeof(int),
> +		.mode		= 0644,
> +		.proc_handler	= &proc_dointvec,
> +	},
> +	{

But is x86-only.
-
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