diff options
author | Lorenz Bauer <[email protected]> | 2021-03-26 16:05:01 +0000 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-04-01 14:33:48 -0700 |
commit | d37300ed182131f1757895a62e556332857417e5 (patch) | |
tree | d1db694c30c7e6d5af91eb3a5b6897bb869cd924 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 25fc94b2f02d832fa8e29419699dcc20b0b05c6a (diff) |
bpf: program: Refuse non-O_RDWR flags in BPF_OBJ_GET
As for bpf_link, refuse creating a non-O_RDWR fd. Since program fds
currently don't allow modifications this is a precaution, not a
straight up bug fix.
Signed-off-by: Lorenz Bauer <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Acked-by: Daniel Borkmann <[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