diff options
author | Kumar Kartikeya Dwivedi <[email protected]> | 2021-03-17 17:28:58 +0530 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-03-18 00:50:21 +0100 |
commit | 58bfd95b554f1a23d01228672f86bb489bdbf4ba (patch) | |
tree | 1e62f2aa641a6d19717b5ae4fd6a7becde548892 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8f3f5792f2940c16ab63c614b26494c8689c9c1e (diff) |
libbpf: Use SOCK_CLOEXEC when opening the netlink socket
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.
Fixes: 949abbe88436 ("libbpf: add function to setup XDP")
Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Toke Høiland-Jørgensen <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions