diff options
author | Ihor Solodrai <isolodrai@meta.com> | 2025-07-02 14:03:08 -0700 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2025-07-03 15:21:20 -0700 |
commit | 5fc5d8fded57e5de0c0b56b00c4cfc522aa8c572 (patch) | |
tree | 820e5b4bb624cd16cb5a81f797c3bd856f3a6692 /scripts/lib/kdoc/kdoc_re.py | |
parent | 38d95beb4b24301362f8bdae7fbdb82d74b803ca (diff) |
bpf: Add bpf_dynptr_memset() kfunc
Currently there is no straightforward way to fill dynptr memory with a
value (most commonly zero). One can do it with bpf_dynptr_write(), but
a temporary buffer is necessary for that.
Implement bpf_dynptr_memset() - an analogue of memset() from libc.
Signed-off-by: Ihor Solodrai <isolodrai@meta.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250702210309.3115903-2-isolodrai@meta.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions