bpf: Show precise rejected function when attaching to __noreturn and deny list functions
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 2 repliesIn review
- v13 patches 4 repliesSuperseded
Changes in v2 from the cover letter
- change verifier log message (Alexei)
- add missing Suggested-by
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | bpf: Show precise rejected function when attaching fexit/fmod_ret to __noreturn functionskernel/ tools/ | +3 | 0 replies | |
| 2/3 | bpf: Add log for attaching tracing programs to functions in deny listkernel/ | +2 | 0 replies | |
| 3/3 | selftests/bpf: Add selftest for attaching tracing programs to functions in deny listtools/ tools/ | +26 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH bpf-next v2 0/3] bpf: Show precise rejected function when attaching to __noreturn and deny list functions
Show precise rejected function when attaching fexit/fmod_ret to __noreturn functions.
Add log for attaching tracing programs to functions in deny list. Add selftest for attaching tracing programs to functions in deny list.
changes:
v2:
- change verifier log message (Alexei)
- add missing Suggested-by
v1:
https://lore.kernel.org/all/[email protected]/
---
KaFai Wan (3):
bpf: Show precise rejected function when attaching fexit/fmod_ret to
__noreturn functions
bpf: Add log for attaching tracing programs to functions in deny list selftests/bpf: Add selftest for attaching tracing programs to
functions in deny list
kernel/bpf/verifier.c | 5 ++++- .../selftests/bpf/prog_tests/tracing_deny.c | 11 +++++++++++ .../testing/selftests/bpf/progs/fexit_noreturns.c | 2 +- tools/testing/selftests/bpf/progs/tracing_deny.c | 15 +++++++++++++++ 4 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 tools/testing/selftests/bpf/prog_tests/tracing_deny.c create mode 100644 tools/testing/selftests/bpf/progs/tracing_deny.c
Signature · 1 line
2.43.0