kernel/sys.c: Move overflow{uid,gid} sysctl into kernel/sys.c
authorJoel Granados <joel.granados@kernel.org>
Fri, 27 Jun 2025 08:00:51 +0000 (10:00 +0200)
committerJoel Granados <joel.granados@kernel.org>
Wed, 23 Jul 2025 09:56:02 +0000 (11:56 +0200)
commit25ebbce1f188aa2d3e83fcfcf24da8610362564b
tree803c906d5a3dd5aa0c1639dd4e4a53f09e6bbeb5
parent88eddb0502d45680efef870ea470a9e8955c5c8b
kernel/sys.c: Move overflow{uid,gid} sysctl into kernel/sys.c

Moved ctl_tables elements for overflowuid and overflowgid into in
kernel/sys.c. Create a register function that keeps them under "kernel"
and run it after core with postcore_initcall.

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>
kernel/sys.c
kernel/sysctl.c