patch-1.3.72 linux/kernel/sysctl.c
Next file: linux/scripts/Menuconfig
Previous file: linux/kernel/sys.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Fri Mar 8 08:11:47 1996
- Orig file:
v1.3.71/linux/kernel/sysctl.c
- Orig date:
Wed Feb 28 11:50:15 1996
diff -u --recursive --new-file v1.3.71/linux/kernel/sysctl.c linux/kernel/sysctl.c
@@ -21,6 +21,10 @@
#include <linux/utsname.h>
#include <linux/swapctl.h>
+/* External variables not in a header file. */
+extern int panic_timeout;
+
+
static ctl_table root_table[];
static struct ctl_table_header root_table_header =
{root_table, DNODE_SINGLE(&root_table_header)};
@@ -116,6 +120,8 @@
0644, NULL, &proc_dointvec},
{KERN_SECURELVL, "securelevel", &securelevel, sizeof(int),
0444, NULL, &proc_dointvec, (ctl_handler *)&do_securelevel_strategy},
+ {KERN_PANIC, "panic", &panic_timeout, sizeof(int),
+ 0644, NULL, &proc_dointvec},
{0}
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this