]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite610fe642f12aa8e37d25e41a18d1c07a88b6ebe
treef1c6e1e37b2fdd564c5742ab3145aa0b3e75feda
parent8b0df9589b942900e82a7d2721087c72e33bb6fd
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