bpf: lsm: Add Documentation
authorKP Singh <kpsingh@google.com>
Sun, 29 Mar 2020 00:43:56 +0000 (01:43 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Sun, 29 Mar 2020 23:35:12 +0000 (01:35 +0200)
commit4dece7f3b9258e812795443b4bf64ff9454a0411
treef1c6e1e37b2fdd564c5742ab3145aa0b3e75feda
parent03e54f100d5756f8403fffd60aed8e883ea864c0
bpf: lsm: Add Documentation

Document how eBPF programs (BPF_PROG_TYPE_LSM) can be loaded and
attached (BPF_LSM_MAC) to the LSM hooks.

Signed-off-by: KP Singh <kpsingh@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Brendan Jackman <jackmanb@google.com>
Reviewed-by: Florent Revest <revest@google.com>
Reviewed-by: Thomas Garnier <thgarnie@google.com>
Reviewed-by: James Morris <jamorris@linux.microsoft.com>
Link: https://lore.kernel.org/bpf/20200329004356.27286-9-kpsingh@chromium.org
Documentation/bpf/bpf_lsm.rst [new file with mode: 0644]
Documentation/bpf/index.rst