]> 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)
commit70363ac080b422362cf08d4789b5ed891c5868e6
treef1c6e1e37b2fdd564c5742ab3145aa0b3e75feda
parent59c2199ad87254796b9a73c998e18c5819378922
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