bpf: Tracing and lsm programs re-attach
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest7 patches 7 repliesIn review
- v45 patches 9 repliesSuperseded
- v35 patches 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 5 patches | 7 replies | Superseded | |
| v1 RFC | 4 patches | 10 replies | Superseded |
Changes in v5 from the cover letter
- fixed missing hlist_del_init change
- fixed several ASSERT calls
- added extra patch for missing ';'
- added ASSERT macros to lsm test
- added acks
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | bpf: Allow trampoline re-attach for tracing and lsm programskernel/ kernel/ | +19 | 2 replies | |
| 2/7 | selftests/bpf: Add missing semicolontools/ | +1 | 1 reply | |
| 3/7 | selftests/bpf: Add re-attach test to fentry_testtools/ | +37 | 0 replies | |
| 4/7 | selftests/bpf: Add re-attach test to fexit_testtools/ | +37 | 0 replies | |
| 5/7 | selftests/bpf: Add re-attach test to lsm testtools/ | +38 | 0 replies | |
| 6/7 | selftests/bpf: Test that module can't be unloaded with attached trampolinetools/ | +23 | 0 replies | |
| 7/7 | selftests/bpf: Use ASSERT macros in lsm testtools/ | +10 | 1 reply |
Reviews trailers per patch
6 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Toke Høiland-Jørgensen | Andrii Nakryiko | KP Singh |
|---|---|---|---|
| 1/7 | A-b | A-b | A-b |
| 2/7 | |||
| 3/7 | A-b | ||
| 4/7 | A-b | ||
| 5/7 | A-b | ||
| 6/7 | A-b | ||
| 7/7 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCHv5 bpf-next 0/7] bpf: Tracing and lsm programs re-attach
hi,
while adding test for pinning the module while there's trampoline attach to it, I noticed that we don't allow link detach and following re-attach for trampolines. Adding that for tracing and lsm programs.
You need to have patch [1] from bpf tree for test module attach test to pass.
v5 changes:
- fixed missing hlist_del_init change
- fixed several ASSERT calls
- added extra patch for missing ';'
- added ASSERT macros to lsm test
- added acks
thanks,
jirka
[1] https://lore.kernel.org/bpf/[email protected]/
---
Jiri Olsa (7):
bpf: Allow trampoline re-attach for tracing and lsm programs selftests/bpf: Add missing semicolon
selftests/bpf: Add re-attach test to fentry_test selftests/bpf: Add re-attach test to fexit_test selftests/bpf: Add re-attach test to lsm test
selftests/bpf: Test that module can't be unloaded with attached trampoline selftests/bpf: Use ASSERT macros in lsm test
kernel/bpf/syscall.c | 23 +++++++++++++++++------ kernel/bpf/trampoline.c | 4 ++-- tools/testing/selftests/bpf/prog_tests/fentry_test.c | 52 +++++++++++++++++++++++++++++++++++++--------------- tools/testing/selftests/bpf/prog_tests/fexit_test.c | 52 +++++++++++++++++++++++++++++++++++++--------------- tools/testing/selftests/bpf/prog_tests/module_attach.c | 23 +++++++++++++++++++++++ tools/testing/selftests/bpf/prog_tests/test_lsm.c | 61 +++++++++++++++++++++++++++++++++++++++++-------------------- tools/testing/selftests/bpf/test_progs.h | 2 +- 7 files changed, 158 insertions(+), 59 deletions(-)