On Wed, Oct 27, 2021 at 11:35 PM Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx> 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@xxxxxxxxx> > --- Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > 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(-) > [...]