]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sysctl: Allow custom converters from outside sysctl
authorJoel Granados <joel.granados@kernel.org>
Wed, 8 Oct 2025 14:12:37 +0000 (16:12 +0200)
committerJoel Granados <joel.granados@kernel.org>
Thu, 27 Nov 2025 14:45:37 +0000 (15:45 +0100)
commitc5b4c183f7aeb46cd27ddea9dab776655b8d7034
tree01938313b56d8d580cf6ce8ffc60721677331681
parent1aa53326e1df68f8e7191053a3fd712449d444cb
sysctl: Allow custom converters from outside sysctl

The new non-static proc_dointvec_conv forwards a custom converter
function to do_proc_dointvec from outside the sysctl scope. Rename the
do_proc_dointvec call points so any future changes to proc_dointvec_conv
are propagated in sysctl.c This is a preparation commit that allows the
integer jiffie converter functions to move out of kernel/sysctl.c.

Signed-off-by: Joel Granados <joel.granados@kernel.org>
include/linux/sysctl.h
kernel/sysctl.c