Commit 128262a
Link LSM example to its kernel documentation source
The mprotect_audit example on the BPF_PROG_TYPE_LSM page is taken from
the kernel's Documentation/bpf/prog_lsm.rst but had no link back to it.
Add a co-located source link, as suggested in #141, so readers can find
the full version with the includes, type definitions, and loader code
needed to compile and run it.
Also introduce the example with a short description of what it does, so
it is no longer confused with the socket_create illustration in the
Usage section above (the other point raised in #141).
Signed-off-by: Ashwani Yadav <22ashwaniyadav@gmail.com>1 parent 20bf063 commit 128262a
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
0 commit comments