BPF List
 help / color / mirror / Atom feed
* [PATCH bpf-next v1 0/2] Follow ups for bpf-list set
@ 2022-11-18 18:59 Kumar Kartikeya Dwivedi
  2022-11-18 18:59 ` [PATCH bpf-next v1 1/2] bpf: Disallow calling bpf_obj_new_impl on bpf_mem_alloc_init failure Kumar Kartikeya Dwivedi
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Kumar Kartikeya Dwivedi @ 2022-11-18 18:59 UTC (permalink / raw)
  To: bpf; +Cc: Alexei Starovoitov, Andrii Nakryiko, Daniel Borkmann,
	Martin KaFai Lau

Make a few changes
 - Remove bpf_global_ma_set check at runtime, disallow calling bpf_obj_new during verification
 - Disable spin lock failure test when JIT does not support kfunc (s390x)

Kumar Kartikeya Dwivedi (2):
  bpf: Disallow calling bpf_obj_new_impl on bpf_mem_alloc_init failure
  selftests/bpf: Skip spin lock failure test on s390x

 kernel/bpf/helpers.c                               |  2 --
 kernel/bpf/verifier.c                              | 13 ++++++++++++-
 tools/testing/selftests/bpf/prog_tests/spin_lock.c |  6 ++++++
 3 files changed, 18 insertions(+), 3 deletions(-)


base-commit: db6bf999544c8c8dcae093e91eba4570647874b1
-- 
2.38.1


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

end of thread, other threads:[~2022-11-20 22:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-18 18:59 [PATCH bpf-next v1 0/2] Follow ups for bpf-list set Kumar Kartikeya Dwivedi
2022-11-18 18:59 ` [PATCH bpf-next v1 1/2] bpf: Disallow calling bpf_obj_new_impl on bpf_mem_alloc_init failure Kumar Kartikeya Dwivedi
2022-11-18 20:17   ` Alexei Starovoitov
2022-11-20 20:46     ` Kumar Kartikeya Dwivedi
2022-11-20 22:29       ` Alexei Starovoitov
2022-11-18 18:59 ` [PATCH bpf-next v1 2/2] selftests/bpf: Skip spin lock failure test on s390x Kumar Kartikeya Dwivedi
2022-11-18 20:20 ` [PATCH bpf-next v1 0/2] Follow ups for bpf-list set patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox