diff options
| author | Andrea Righi <[email protected]> | 2021-10-26 16:34:09 +0200 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2021-10-29 17:48:43 +0200 |
| commit | f48ad69097fe79d1de13c4d8fef556d4c11c5e68 (patch) | |
| tree | fe9a80dfafe850f6936d168d228b332ed572957c /tools/testing/selftests/bpf/prog_tests/queue_stack_map.c | |
| parent | b9989b59123b3ced5387a5360c05a7bb2fb92d94 (diff) | |
selftests/bpf: Fix fclose/pclose mismatch in test_progs
Make sure to use pclose() to properly close the pipe opened by popen().
Fixes: 81f77fd0deeb ("bpf: add selftest for stackmap with BPF_F_STACK_BUILD_ID")
Signed-off-by: Andrea Righi <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Shuah Khan <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/queue_stack_map.c')
0 files changed, 0 insertions, 0 deletions