sysctl: Move tainted ctl_table into kernel/panic.c
authorJoel Granados <joel.granados@kernel.org>
Mon, 5 May 2025 19:20:07 +0000 (21:20 +0200)
committerJoel Granados <joel.granados@kernel.org>
Wed, 23 Jul 2025 09:52:48 +0000 (11:52 +0200)
commit942b296a6c35da6593eeeb126dce71d4e506f314
treeaa6e2424696f7c848ecd50ab205a50399eae0dea
parent79ac8df97408b97175c01b6bff5ce0a97f35b439
sysctl: Move tainted ctl_table into kernel/panic.c

Move the ctl_table with the "tainted" proc_name into kernel/panic.c.
With it moves the proc_tainted helper function.

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.

Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Reviewed-by: Kees Cook <kees@kernel.org>
Signed-off-by: Joel Granados <joel.granados@kernel.org>
kernel/panic.c
kernel/sysctl.c