BPF List
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] A pair of follow ups for indirect jumps
@ 2025-11-28  6:32 Anton Protopopov
  2025-11-28  6:32 ` [PATCH bpf-next 1/2] bpf: force BPF_F_RDONLY_PROG on insn array creation Anton Protopopov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Anton Protopopov @ 2025-11-28  6:32 UTC (permalink / raw)
  To: bpf; +Cc: Anton Protopopov

Two fixes suggested by Alexei in [1]. Resending as a series,
as the second patch depends on the first.

  [1] https://lore.kernel.org/bpf/CAADnVQK3piReoo1ja=9hgz7aJ60Y_Jjur_JMOaYV8-Mn_VyE4A@mail.gmail.com/#R

Anton Protopopov (2):
  bpf: force BPF_F_RDONLY_PROG on insn array creation
  bpf: check for insn arrays in check_ptr_alignment

 kernel/bpf/bpf_insn_array.c                   |  3 +++
 kernel/bpf/verifier.c                         | 19 +++++++++----------
 .../selftests/bpf/progs/verifier_gotox.c      |  2 +-
 3 files changed, 13 insertions(+), 11 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-11-28 23:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-28  6:32 [PATCH bpf-next 0/2] A pair of follow ups for indirect jumps Anton Protopopov
2025-11-28  6:32 ` [PATCH bpf-next 1/2] bpf: force BPF_F_RDONLY_PROG on insn array creation Anton Protopopov
2025-11-28  6:32 ` [PATCH bpf-next 2/2] bpf: check for insn arrays in check_ptr_alignment Anton Protopopov
2025-11-28 23:20 ` [PATCH bpf-next 0/2] A pair of follow ups for indirect jumps 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