[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201202194532.12879-1-dev@der-flo.net>
Date: Wed, 2 Dec 2020 20:45:30 +0100
From: Florian Lehner <dev@...-flo.net>
To: bpf@...r.kernel.org
Cc: netdev@...r.kernel.org, ast@...nel.org, daniel@...earbox.net,
andrii@...nel.org, john.fastabend@...il.com,
Florian Lehner <dev@...-flo.net>,
Krzesimir Nowak <krzesimir@...volk.io>
Subject: [PATCH 0/2 v2] Improve error handling of verifier tests
These patches improve the error handling for verifier tests. With "Test
the 32bit narrow read" Krzesimir Nowak provided these patches first, but
they were never merged.
The improved error handling helps to implement and test BPF program types
that are not supported yet.
v2:
- Add unpriv check in error validation
Florian Lehner (2):
selftests/bpf: Print reason when a tester could not run a program
selftests/bpf: Avoid errno clobbering
tools/testing/selftests/bpf/test_verifier.c | 30 ++++++++++++++++-----
1 file changed, 24 insertions(+), 6 deletions(-)
--
2.28.0
Powered by blists - more mailing lists