Re: [PATCH] libbpf: use SOCK_CLOEXEC when opening the netlink socket

From: Toke Høiland-Jørgensen
Date: Wed Mar 17 2021 - 07:08:35 EST

Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx> writes:

> Otherwise, there exists a small window between the opening and closing
> of the socket fd where it may leak into processes launched by some other
> thread.
> Signed-off-by: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx>

FYI, you should be tagging patches with the tree they are targeting. In
this case probably the 'bpf' tree (so [PATCH bpf] in the subject).

Also, a Fixes: tag would be nice here?