All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next v1 0/4] Follow ups for kptr series
@ 2022-05-10 21:17 Kumar Kartikeya Dwivedi
  2022-05-10 21:17 ` [PATCH bpf-next v1 1/4] bpf: Fix sparse warning for bpf_kptr_xchg_proto Kumar Kartikeya Dwivedi
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Kumar Kartikeya Dwivedi @ 2022-05-10 21:17 UTC (permalink / raw)
  To: bpf; +Cc: Alexei Starovoitov, Andrii Nakryiko, Daniel Borkmann

Fix a build time warning, and address comments from Alexei on the merged version
[0].

  [0]: https://lore.kernel.org/bpf/20220424214901.2743946-1-memxor@gmail.com

Kumar Kartikeya Dwivedi (4):
  bpf: Fix sparse warning for bpf_kptr_xchg_proto
  bpf: Prepare prog_test_struct kfuncs for runtime tests
  selftests/bpf: Add negative C tests for kptrs
  selftests/bpf: Add tests for kptr_ref refcounting

 include/linux/bpf.h                           |   1 +
 net/bpf/test_run.c                            |  32 +-
 .../selftests/bpf/prog_tests/map_kptr.c       | 109 ++++-
 tools/testing/selftests/bpf/progs/map_kptr.c  | 109 ++++-
 .../selftests/bpf/progs/map_kptr_fail.c       | 419 ++++++++++++++++++
 .../testing/selftests/bpf/verifier/map_kptr.c |   4 +-
 6 files changed, 660 insertions(+), 14 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/progs/map_kptr_fail.c

-- 
2.35.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-05-12  0:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-10 21:17 [PATCH bpf-next v1 0/4] Follow ups for kptr series Kumar Kartikeya Dwivedi
2022-05-10 21:17 ` [PATCH bpf-next v1 1/4] bpf: Fix sparse warning for bpf_kptr_xchg_proto Kumar Kartikeya Dwivedi
2022-05-10 21:17 ` [PATCH bpf-next v1 2/4] bpf: Prepare prog_test_struct kfuncs for runtime tests Kumar Kartikeya Dwivedi
2022-05-11  4:37   ` Alexei Starovoitov
2022-05-11  6:02     ` Kumar Kartikeya Dwivedi
2022-05-11 17:53       ` Alexei Starovoitov
2022-05-11 19:07         ` Kumar Kartikeya Dwivedi
2022-05-12  0:28           ` Alexei Starovoitov
2022-05-10 21:17 ` [PATCH bpf-next v1 3/4] selftests/bpf: Add negative C tests for kptrs Kumar Kartikeya Dwivedi
2022-05-10 21:17 ` [PATCH bpf-next v1 4/4] selftests/bpf: Add tests for kptr_ref refcounting Kumar Kartikeya Dwivedi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.