Re: [PATCH bpf-next v3 5/8] libbpf: Use O_CLOEXEC uniformly when opening fds
From: Song Liu <hidden>
Date: 2021-10-15 06:58:09
Also in:
bpf
From: Song Liu <hidden>
Date: 2021-10-15 06:58:09
Also in:
bpf
On Oct 14, 2021, at 1:56 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: Song Liu <redacted>