]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Document BPF_PROG_ATTACH syscall command
authorJoe Stringer <joe@cilium.io>
Tue, 2 Mar 2021 17:19:37 +0000 (09:19 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 5 Mar 2021 02:39:44 +0000 (18:39 -0800)
commit27ea0bf9c7b41c4f9add6322d37ff70eb3e4cf2d
treeb7f97f95b7a0b05a8a71efe61455c2c4aef9a2ea
parent512e684ab0bb24073a91b461b3fdccb81c545167
bpf: Document BPF_PROG_ATTACH syscall command

Document the prog attach command in more detail, based on git commits:
* commit dcb00c4845a1 ("bpf: add BPF_PROG_ATTACH and BPF_PROG_DETACH
  commands")
* commit 94d211d69db2 ("bpf: create tcp_bpf_ulp allowing BPF to monitor
  socket TX/RX data")
* commit 9e35d71b7069 ("media: rc: introduce BPF_PROG_LIRC_MODE2")
* commit 23513a901445 ("flow_dissector: implements flow dissector BPF
  hook")

Signed-off-by: Joe Stringer <joe@cilium.io>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210302171947.2268128-6-joe@cilium.io
include/uapi/linux/bpf.h