diff options
| author | 2026-08-11 12:37:30 +0200 | |
|---|---|---|
| committer | 2026-09-10 14:52:15 +0200 | |
| commit | d08ab285b0968c96ee33bc66c6a3c5a348a45d62 (patch) | |
| tree | c029197df00cca2a3acdfba78648464074dac97a /scripts/Makefile.thinlto | |
| parent | sysctl: Split data conversion and file position handling (diff) | |
sysctl: Reject uint arrays before calling the general proc_vec
Move the UINT vector size check to proc_douintvec_conv; the function
that routes UINT types only. Route all the UINT calls (including
proc_dou8vec_minmax) through proc_douintvec_conv.
UINT proc handlers that incorrectly define maxlen will now return
-EINVAL instead of 0 in the cases where data is missing, lenp is 0 or
ppos is 0. Note that maxlen == 0 is not considered as miss-defined.
Reviewed-by: Bradley Morgan <include@grrlz.net>
Signed-off-by: Joel Granados <joel.granados@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
