public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Disambiguation for panic_timeout's sysctl
@ 2004-10-31 16:27 Jan Engelhardt
  2004-11-01 12:02 ` Olaf Hering
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Engelhardt @ 2004-10-31 16:27 UTC (permalink / raw)
  To: linux-kernel



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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-11-01 16:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-31 16:27 Disambiguation for panic_timeout's sysctl Jan Engelhardt
2004-11-01 12:02 ` Olaf Hering
2004-11-01 12:04   ` Christoph Hellwig
2004-11-01 12:06     ` Jan Engelhardt
2004-11-01 12:07     ` Olaf Hering
2004-11-01 16:02       ` Ricky Beam
2004-11-01 16:06       ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox