diff options
author | Nicolas Bouchinet <nicolas.bouchinet@ssi.gouv.fr> | 2025-02-24 10:58:17 +0100 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2025-03-10 09:11:13 -0400 |
commit | 87480a8ce567340a518d992678224c09afab5f11 (patch) | |
tree | d6ced69b3f74a859c4c5361628f76626f56d71b4 /rust/helpers/platform.c | |
parent | 261e3bbf9747e9c7c87b3bce519df94754e24ed8 (diff) | |
download | linux-87480a8ce567340a518d992678224c09afab5f11.tar.gz linux-87480a8ce567340a518d992678224c09afab5f11.tar.bz2 linux-87480a8ce567340a518d992678224c09afab5f11.zip |
sysctl: Fixes nsm_local_state bounds
Bound nsm_local_state sysctl writings between SYSCTL_ZERO
and SYSCTL_INT_MAX.
The proc_handler has thus been updated to proc_dointvec_minmax.
Signed-off-by: Nicolas Bouchinet <nicolas.bouchinet@ssi.gouv.fr>
[ cel: updated to handle zero - UINT_MAX instead ]
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions