diff options
| author | 2026-08-01 00:46:24 -0700 | |
|---|---|---|
| committer | 2026-08-03 00:29:14 +0200 | |
| commit | c0e091f30f0dd80d817c3a15d0a97962957e5786 (patch) | |
| tree | 62aefde31812aa47d0ace050e91c7d7c60590259 /scripts/Makefile.thinlto | |
| parent | bpf: Check fixed-size mem args of helpers and kfuncs the same way (diff) | |
bpf: Rename ARG_CONST_SIZE{,_OR_ZERO} to ARG_MEM_SIZE{,_OR_ZERO}
ARG_CONST_SIZE does not require a constant: check_mem_size_reg() accepts
any bounded scalar and verifies the memory access against its maximum
(reg_umax). Rename ARG_CONST_SIZE and ARG_CONST_SIZE_OR_ZERO to
ARG_MEM_SIZE and ARG_MEM_SIZE_OR_ZERO to reflect that. ARG_CONST_ALLOC_
SIZE_OR_ZERO, which does require a constant, is left unchanged.
Pure rename, no functional change.
Signed-off-by: Amery Hung <ameryhung@gmail.com>
Link: https://lore.kernel.org/bpf/20260801074633.1595644-10-ameryhung@gmail.com
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
