]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sysctl: Discriminate between kernel and user converter params
authorJoel Granados <joel.granados@kernel.org>
Fri, 3 Oct 2025 19:36:34 +0000 (21:36 +0200)
committerJoel Granados <joel.granados@kernel.org>
Thu, 27 Nov 2025 14:43:20 +0000 (15:43 +0100)
commit551bf1845027650ff6c9da598fb270ba362e9218
tree68eee0151e1df3f818f9753559fa8de3f48cbfa6
parent5412f5b13d290d22cf910a0e8227737aaa2cc44e
sysctl: Discriminate between kernel and user converter params

Rename converter parameter to indicate data flow direction: "lvalp" to
"u_ptr" indicating a user space parsed value pointer. "valp" to "k_ptr"
indicating a kernel storage value pointer. This facilitates the
identification of discrepancies between direction (copy to kernel or
copy to user space) and the modified variable. This is a preparation
commit for when the converter functions are exposed to the rest of the
kernel.

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