linux-stable/tools
Andrea Righi 9ff14503f4 selftests/bpf: Fix fclose/pclose mismatch in test_progs
[ Upstream commit f48ad69097 ]

Make sure to use pclose() to properly close the pipe opened by popen().

Fixes: 81f77fd0de ("bpf: add selftest for stackmap with BPF_F_STACK_BUILD_ID")
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20211026143409.42666-1-andrea.righi@canonical.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-17 09:48:40 +01:00
..
accounting
arch
bpf bpftool: Check malloc return value in mount_bpffs_for_pin 2021-07-28 13:30:55 +02:00
build
cgroup
debugging
firewire
firmware
gpio
hv
iio
include bpf: Fix a typo of reuseport map in bpf.h. 2021-09-15 09:47:30 +02:00
io_uring
kvm/kvm_stat
laptop
leds
lib libbpf: Fix BTF data layout checks and allow empty BTF 2021-11-17 09:48:39 +01:00
memory-model
nfsd
objtool
pci
pcmcia
perf perf script: Check session->header.env.arch before using it 2021-11-02 19:46:15 +01:00
power
scripts tools: Allow proper CC/CXX/... override with LLVM=1 in Makefile.include 2021-07-31 08:19:37 +02:00
spi
testing selftests/bpf: Fix fclose/pclose mismatch in test_progs 2021-11-17 09:48:40 +01:00
thermal/tmon tools/thermal/tmon: Add cross compiling support 2021-09-22 12:26:20 +02:00
time
usb usb: testusb: Fix for showing the connection speed 2021-10-09 14:39:49 +02:00
virtio
vm tools/vm/page-types: remove dependency on opt_file for idle page tracking 2021-10-09 14:39:50 +02:00
wmi
Makefile