diff options
author | Martin KaFai Lau <martin.lau@kernel.org> | 2022-09-22 16:11:35 -0700 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2022-09-22 16:41:28 -0700 |
commit | ee9bb9b4459ab7e27de9c9f91773ade2909c6375 (patch) | |
tree | c54832297ee526b06e635e3b6fb1345d83913689 /tools/testing/selftests/bpf/prog_tests/cgroup_hierarchical_stats.c | |
parent | b780d1671cf933caa3f67160f73261f10750f1a9 (diff) | |
parent | 103d002fb7d548fb1187e350f2b73788558128b9 (diff) |
Merge branch 'Fix resource leaks in test_maps'
Hou Tao says:
====================
From: Hou Tao <houtao1@huawei.com>
Hi,
It is just a tiny patch set aims to fix the resource leaks in test_maps
after test case succeeds or is skipped. And these leaks are spotted by
using address sanitizer and checking the content of /proc/$pid/fd.
Please see indiviual patch for more details.
Change Log:
v2:
* Add the missing header file unistd.h for close() (From kernel-patches/bpf)
The reason Why I miss that is that -Werror is removed from Makefile
when enabling clang address sanitizer.
v1:
* https://lore.kernel.org/bpf/20220921025855.115463-1-houtao@huaweicloud.com/T/
====================
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/cgroup_hierarchical_stats.c')
0 files changed, 0 insertions, 0 deletions