diff options
| author | Alexei Starovoitov <ast@kernel.org> | 2021-05-14 03:36:12 +0300 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-05-19 01:33:40 +0300 |
| commit | 3abea089246f76c1517b054ddb5946f3f1dbd2c0 (patch) | |
| tree | 7811366681e39789541fac724f153be78b6427c1 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 3d78417b60fba249cc555468cb72d96f5cde2964 (diff) | |
| download | linux-3abea089246f76c1517b054ddb5946f3f1dbd2c0.tar.xz | |
bpf: Add bpf_sys_close() helper.
Add bpf_sys_close() helper to be used by the syscall/loader program to close
intermediate FDs and other cleanup.
Note this helper must never be allowed inside fdget/fdput bracketing.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210514003623.28033-11-alexei.starovoitov@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
