summaryrefslogtreecommitdiff
path: root/Documentation/bpf
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-04-29 10:17:05 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2023-04-29 10:17:05 -0700
commit8c1318e4383e400727c700b9db5044162f5bac57 (patch)
tree83c5886e56539732b99315f4a7bccf1dd23f811f /Documentation/bpf
parentfebf9ee3d2f37a772802fffb6e17c0e35a52e1f1 (diff)
parent6d2ed653185baa5ba601306cbd6cd7192642045d (diff)
Merge tag 'lsm-pr-20230428' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm
Pull lsm fix from Paul Moore: "A single Documentation/LSM fix to update the LSM hook documentation references from lsm_hooks.h to security.c" * tag 'lsm-pr-20230428' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm: lsm: move hook comments docs to security/security.c
Diffstat (limited to 'Documentation/bpf')
-rw-r--r--Documentation/bpf/prog_lsm.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/bpf/prog_lsm.rst b/Documentation/bpf/prog_lsm.rst
index 0dc3fb0d9544..ad2be02f30c2 100644
--- a/Documentation/bpf/prog_lsm.rst
+++ b/Documentation/bpf/prog_lsm.rst
@@ -18,7 +18,7 @@ LSM hook:
.. c:function:: int file_mprotect(struct vm_area_struct *vma, unsigned long reqprot, unsigned long prot);
Other LSM hooks which can be instrumented can be found in
-``include/linux/lsm_hooks.h``.
+``security/security.c``.
eBPF programs that use Documentation/bpf/btf.rst do not need to include kernel
headers for accessing information from the attached eBPF program's context.