On Wed, Oct 27, 2021 at 11:35 PM Kumar Kartikeya Dwivedi
[off-list ref] wrote:
There are some instances where we don't use O_CLOEXEC when opening an
fd, fix these up. Otherwise, it is possible that a parallel fork causes
these fds to leak into a child process on execve.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
---
Acked-by: Andrii Nakryiko <andrii@kernel.org>
tools/lib/bpf/btf.c | 2 +-
tools/lib/bpf/libbpf.c | 6 +++---
tools/lib/bpf/libbpf_probes.c | 2 +-
tools/lib/bpf/linker.c | 4 ++--
tools/lib/bpf/xsk.c | 6 +++---
5 files changed, 10 insertions(+), 10 deletions(-)
[...]