Thread (14 messages) 14 messages, 3 authors, 2021-10-20

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

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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help