Messages in this thread Patch in this message | | | Date | Sun, 31 Oct 2004 17:27:10 +0100 (MET) | From | Jan Engelhardt <> | Subject | Disambiguation for panic_timeout's sysctl |
| |
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/
| |