diff options
| author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2002-10-12 03:19:08 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-10-12 03:19:08 -0700 |
| commit | 4108966a32506ae983a7c178fc9f94d3ac5e2919 (patch) | |
| tree | f9c33dfd6008858ad7fdae26084c964eba456f64 /kernel/sysctl.c | |
| parent | f45a4a4996013c9e85d3c02f1ee7c3f3ae4101dd (diff) | |
[PATCH] configurable corename
To my suprise a lot of big site/beowulf type people all really want this
diff, which I'd otherwise filed as 'interesting but not important'
Diffstat (limited to 'kernel/sysctl.c')
| -rw-r--r-- | kernel/sysctl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index d05502120e84..53d13c96fbf2 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -50,6 +50,7 @@ extern atomic_t nr_queued_signals; extern int max_queued_signals; extern int sysrq_enabled; extern int core_uses_pid; +extern char core_pattern[]; extern int cad_pid; extern int pid_max; @@ -176,6 +177,8 @@ static ctl_table kern_table[] = { 0644, NULL, &proc_dointvec}, {KERN_CORE_USES_PID, "core_uses_pid", &core_uses_pid, sizeof(int), 0644, NULL, &proc_dointvec}, + {KERN_CORE_PATTERN, "core_pattern", core_pattern, 64, + 0644, NULL, &proc_dostring, &sysctl_string}, {KERN_TAINTED, "tainted", &tainted, sizeof(int), 0644, NULL, &proc_dointvec}, {KERN_CAP_BSET, "cap-bound", &cap_bset, sizeof(kernel_cap_t), |
