diff options
| author | Amery Hung <ameryhung@gmail.com> | 2026-08-01 00:46:26 -0700 |
|---|---|---|
| committer | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-08-03 00:29:15 +0200 |
| commit | f88caee62e450bba85ff60a18846f44fea43d3d3 (patch) | |
| tree | 3756063703739905550f7ed7d71507609ec44cdc /kernel | |
| parent | f16e80c2c45175664ec6b0aaad6914fadbda395d (diff) | |
selftests/bpf: Test __szk precision with a NULL nullable buffer
When a nullable buffer is passed as NULL, check_mem_size_reg() is skipped,
so the __szk memory size must be marked precise through the scalar argument
path instead. Exercise this with bpf_dynptr_slice() and a NULL buffer.
Signed-off-by: Amery Hung <ameryhung@gmail.com>
Link: https://lore.kernel.org/bpf/20260801074633.1595644-12-ameryhung@gmail.com
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
