Disambiguation for panic_timeout's sysctl
From: Jan Engelhardt (jengelh_at_linux01.gwdg.de)
Date: 10/31/04
- Previous message: Alan Cox: "Re: HP C2502 SCSI card (NCR 53C400A based) not working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 31 Oct 2004 17:27:10 +0100 (MET) To: linux-kernel@vger.kernel.org
The /proc/sys/kernel/panic file looked to me like it was something like
/proc/sysrq-trigger -- until I looked into the kernel sources which reveal that
it sets the variable "panic_timeout" in kernel/sched.c.
I'm up for disambiguating this, patch appended.
Signed-off by: Jan Engelhardt <jengelh@linux01.gwdg.de>
# File: fixpanicname.diff
# Class: Disambiguation
#
--- linux-2.6.9-rc2/kernel/sysctl.c 2004-10-31 17:10:00.976522528 +0100
+++ modified/kernel/sysctl.c 2004-10-31 17:09:50.970043000 +0100
@@ -276,7 +276,7 @@ static ctl_table kern_table[] = {
},
{
.ctl_name = KERN_PANIC,
- .procname = "panic",
+ .procname = "panic_timeout",
.data = &panic_timeout,
.maxlen = sizeof(int),
.mode = 0644,
## eof
Jan Engelhardt
-- Gesellschaft für Wissenschaftliche Datenverarbeitung Am Fassberg, 37077 Göttingen, www.gwdg.de - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Alan Cox: "Re: HP C2502 SCSI card (NCR 53C400A based) not working"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|