diff options
| author | Emil Tsalapatis <emil@etsalapatis.com> | 2026-08-17 15:16:14 -0400 |
|---|---|---|
| committer | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2026-08-20 21:01:42 +0200 |
| commit | 283cb6513c881ccc6ff81f3da75d55e1ab1fe6fc (patch) | |
| tree | ebc46a0e6bed8f07fe1384fdb139085a9fa73114 /scripts | |
| parent | 620e1e2b4377f03834894f86ac85ec865983ad0a (diff) | |
| download | linux-next-283cb6513c881ccc6ff81f3da75d55e1ab1fe6fc.tar.gz linux-next-283cb6513c881ccc6ff81f3da75d55e1ab1fe6fc.zip | |
selftests/bpf: libarena: Add calloc() call
The arena memory allocator currently does not provide the
option to zero-initialize the allocated memory. Provide
a calloc() operation that calls memset() on the returned
memory. Reuse naive memset implementation already present
in the arena ASAN code for now. Subsequent patches will
optimize the function.
Signed-off-by: Emil Tsalapatis <emil@etsalapatis.com>
Link: https://lore.kernel.org/bpf/20260817191616.11071-5-emil@etsalapatis.com
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
