Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

documentation/bpf: Document cgroup unix socket address hooks

Update the documentation to mention the new cgroup unix sockaddr
hooks.

Signed-off-by: Daan De Meyer <daan.j.demeyer@gmail.com>
Link: https://lore.kernel.org/r/20231011185113.140426-8-daan.j.demeyer@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>

authored by

Daan De Meyer and committed by
Martin KaFai Lau
3243fef6 8b3cba98

+10
+10
Documentation/bpf/libbpf/program_types.rst
··· 56 56 | | ``BPF_CGROUP_UDP6_RECVMSG`` | ``cgroup/recvmsg6`` | | 57 57 + +----------------------------------------+----------------------------------+-----------+ 58 58 | | ``BPF_CGROUP_UDP6_SENDMSG`` | ``cgroup/sendmsg6`` | | 59 + | +----------------------------------------+----------------------------------+-----------+ 60 + | | ``BPF_CGROUP_UNIX_CONNECT`` | ``cgroup/connect_unix`` | | 61 + | +----------------------------------------+----------------------------------+-----------+ 62 + | | ``BPF_CGROUP_UNIX_SENDMSG`` | ``cgroup/sendmsg_unix`` | | 63 + | +----------------------------------------+----------------------------------+-----------+ 64 + | | ``BPF_CGROUP_UNIX_RECVMSG`` | ``cgroup/recvmsg_unix`` | | 65 + | +----------------------------------------+----------------------------------+-----------+ 66 + | | ``BPF_CGROUP_UNIX_GETPEERNAME`` | ``cgroup/getpeername_unix`` | | 67 + | +----------------------------------------+----------------------------------+-----------+ 68 + | | ``BPF_CGROUP_UNIX_GETSOCKNAME`` | ``cgroup/getsockname_unix`` | | 59 69 +-------------------------------------------+----------------------------------------+----------------------------------+-----------+ 60 70 | ``BPF_PROG_TYPE_CGROUP_SOCK`` | ``BPF_CGROUP_INET4_POST_BIND`` | ``cgroup/post_bind4`` | | 61 71 + +----------------------------------------+----------------------------------+-----------+