summaryrefslogtreecommitdiff
path: root/Documentation/bpf/prog_lsm.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/bpf/prog_lsm.rst')
-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.