Skip to content

Misc bug fixes - part 1

Kumar Kartikeya Dwivedi bpf sashiko-reviews 1 version Applied

Status from this message: This series was applied to bpf/bpf.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 4 repliesApplied 10/10

Patches in v1 All 10 applied

#Subject and filesSizeRepliesApplied
1/10bpf: Mark signal tracepoint siginfo arguments as scalarkernel/bpf/btf.c+3 -01 replyApplied
2/10selftests/bpf: Cover signal tracepoint siginfo sentinelstools/testing/selftests/bpf/progs/raw_tp_null_fail.c+36 -00 repliesApplied
3/10bpf: Reject tail calls directly from callback frameskernel/bpf/verifier.c+11 -01 replyApplied
4/10selftests/bpf: Test direct tail calls from callbackstools/testing/selftests/bpf/progs/tailcall_callback.c+16 -00 repliesApplied
5/10bpf: Reject resilient lock operations in rbtree callbackskernel/bpf/verifier.c+5 -01 replyApplied
6/10selftests/bpf: Reject resilient unlock in rbtree callbacktools/testing/selftests/bpf/progs/rbtree_fail.c+29 -00 repliesApplied
7/10bpf: Mark sched_process_wait argument as nullablekernel/bpf/btf.c+4 -00 repliesApplied
8/10selftests/bpf: Test sched_process_wait nullable argumenttools/testing/selftests/bpf/progs/raw_tp_null_fail.c+17 -00 repliesApplied
9/10bpf: Mark syscall helpers as sleepablekernel/bpf/syscall.c+2 -01 replyApplied
10/10selftests/bpf: Check syscall helpers in timer callbackstools/testing/selftests/bpf/progs/verifier_async_cb_context.c+64 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH bpf v1 00/10] Misc bug fixes - part 1

A set of miscellaneous fixes for bugs reported by Nicholas. These are easy ones and should not require any major discussion, hence batched together. See commit logs and selftests for details.

Kumar Kartikeya Dwivedi (10):
bpf: Mark signal tracepoint siginfo arguments as scalar selftests/bpf: Cover signal tracepoint siginfo sentinels
bpf: Reject tail calls directly from callback frames selftests/bpf: Test direct tail calls from callbacks
bpf: Reject resilient lock operations in rbtree callbacks selftests/bpf: Reject resilient unlock in rbtree callback
bpf: Mark sched_process_wait argument as nullable selftests/bpf: Test sched_process_wait nullable argument
bpf: Mark syscall helpers as sleepable selftests/bpf: Check syscall helpers in timer callbacks

 kernel/bpf/btf.c                              |  7 ++
 kernel/bpf/syscall.c                          |  2 +
 kernel/bpf/verifier.c                         | 16 +++++
 .../selftests/bpf/progs/raw_tp_null_fail.c    | 53 +++++++++++++++
 .../testing/selftests/bpf/progs/rbtree_fail.c | 29 +++++++++
 .../selftests/bpf/progs/tailcall_callback.c   | 16 +++++
 .../bpf/progs/verifier_async_cb_context.c     | 64 +++++++++++++++++++
 7 files changed, 187 insertions(+)

base-commit: ac0aaef0aa997fcdcb2458bd584539ba8608d33e

Signature · 1 line
2.53.0