summaryrefslogtreecommitdiff
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorJoel Granados <joel.granados@kernel.org>2024-12-23 17:11:29 +0100
committerJoel Granados <joel.granados@kernel.org>2025-04-09 13:32:16 +0200
commit256db5c9b507d770f8b99b10f0671d994d5c9d64 (patch)
treef65e58089ce3f73c123546de885c0e7766343ed0 /kernel/sysctl.c
parentc09b9810414d09d5a66e6e397506f5c657303eef (diff)
signal: Move signal ctl tables into signal.c
Move print-fatal-signals into its own const ctl table array in kernel/signal.c. This is part of a greater effort to move ctl tables into their respective subsystems which will reduce the merge conflicts in kernel/sysctl.c. Signed-off-by: Joel Granados <joel.granados@kernel.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 7c12bbdca51a..811c50072e03 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -22,7 +22,6 @@
#include <linux/module.h>
#include <linux/sysctl.h>
#include <linux/bitmap.h>
-#include <linux/signal.h>
#include <linux/printk.h>
#include <linux/proc_fs.h>
#include <linux/security.h>
@@ -1604,13 +1603,6 @@ static const struct ctl_table kern_table[] = {
.extra2 = SYSCTL_ONE,
},
#endif
- {
- .procname = "print-fatal-signals",
- .data = &print_fatal_signals,
- .maxlen = sizeof(int),
- .mode = 0644,
- .proc_handler = proc_dointvec,
- },
#ifdef CONFIG_SPARC
{
.procname = "reboot-cmd",