On Fri, 03 May 2024 15:44:09 +0200, Thomas Weißschuh wrote:
Sysctl handlers are not supposed to modify the ctl_table passed to them. Adapt the logic to work with a temporary variable, similar to how it is done in other parts of the kernel.
This is also a prerequisite to enforce the immutability of the argument through the callbacks prototy.
[...]
Applied to for-next/hardening, thanks!
[1/1] stackleak: don't modify ctl_table argument https://git.kernel.org/kees/c/0e148d3cca0d
Take care,