kernel_samsung_a53x/samples
Zhu Jun 2a4922d5e9 samples/bpf: Fix a resource leak
[ Upstream commit f3ef53174b23246fe9bc2bbc2542f3a3856fa1e2 ]

The opened file should be closed in show_sockopts(), otherwise resource
leak will occur that this problem was discovered by reading code

Signed-off-by: Zhu Jun <zhujun2@cmss.chinamobile.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241010014126.2573-1-zhujun2@cmss.chinamobile.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-17 13:24:30 +01:00
..
auxdisplay Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
binderfs Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bpf samples/bpf: Fix a resource leak 2024-12-17 13:24:30 +01:00
configfs Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
connector Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
crypto Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fanotify Add gitignore file for samples/fanotify/ subdirectory 2024-11-23 23:20:30 +01:00
ftrace Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hidraw Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hw_breakpoint Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kdb Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kfifo Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kmemleak Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kobject Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kprobes Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
livepatch Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mei Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nitro_enclaves Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pidfd Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pktgen Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qmi Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rpmsg Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
seccomp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
timers Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace_events Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trace_printk Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
uhid Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
v4l Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vfio-mdev Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vfs Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
watch_queue Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
watchdog Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig samples: Make fs-monitor depend on libc and headers 2024-11-23 23:20:30 +01:00
Makefile samples: Add fs error monitoring example 2024-11-23 23:20:30 +01:00