bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] update 32-bit bounds when the lower 32-bit value is not wrapping
@ 2023-03-07 22:04 Xu Kuohai
  2023-03-07 22:04 ` [PATCH bpf-next 1/2] bpf: " Xu Kuohai
  2023-03-07 22:04 ` [PATCH bpf-next 2/2] selftests/bpf: check bounds not in the 32-bit range Xu Kuohai
  0 siblings, 2 replies; 6+ messages in thread
From: Xu Kuohai @ 2023-03-07 22:04 UTC (permalink / raw)
  To: bpf, linux-kselftest, linux-kernel
  Cc: Alexei Starovoitov, Daniel Borkmann, John Fastabend,
	Andrii Nakryiko, Martin KaFai Lau, Song Liu, Yonghong Song,
	KP Singh, Stanislav Fomichev, Hao Luo, Jiri Olsa, Mykola Lysenko,
	Shuah Khan

This patchset updates __reg_combine_64_into_32 function to set 32-bit bounds
when lower 32-bit value is not wrapping, and add cases to for it.

Xu Kuohai (2):
  bpf: update 32-bit bounds when the lower 32-bit value is not wrapping
  selftests/bpf: check bounds not in the 32-bit range

 kernel/bpf/verifier.c                         |  27 ++--
 tools/testing/selftests/bpf/verifier/bounds.c | 121 ++++++++++++++++++
 2 files changed, 132 insertions(+), 16 deletions(-)

-- 
2.30.2


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

end of thread, other threads:[~2023-03-08 10:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-07 22:04 [PATCH bpf-next 0/2] update 32-bit bounds when the lower 32-bit value is not wrapping Xu Kuohai
2023-03-07 22:04 ` [PATCH bpf-next 1/2] bpf: " Xu Kuohai
2023-03-07  9:21   ` Xu Kuohai
2023-03-07 17:22   ` Alexei Starovoitov
2023-03-08 10:05     ` Xu Kuohai
2023-03-07 22:04 ` [PATCH bpf-next 2/2] selftests/bpf: check bounds not in the 32-bit range Xu Kuohai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).