summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJoel Granados <joel.granados@kernel.org>2026-08-11 12:37:30 +0200
committerJoel Granados <joel.granados@kernel.org>2026-09-10 14:52:15 +0200
commitd08ab285b0968c96ee33bc66c6a3c5a348a45d62 (patch)
treec029197df00cca2a3acdfba78648464074dac97a /tools/perf/scripts/python/bin
parent2bfbb09b505c26803bd723ba227714cc041e8958 (diff)
downloadlinux-next-d08ab285b0968c96ee33bc66c6a3c5a348a45d62.tar.gz
linux-next-d08ab285b0968c96ee33bc66c6a3c5a348a45d62.zip
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 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions