Daniel Borkmann
23599ada0e
bpf: Add selftest cases for ctx_or_null argument type
Add various tests to make sure the verifier keeps catching them:
# ./test_verifier
[...]
#230/p pass ctx or null check, 1: ctx OK
#231/p pass ctx or null check, 2: null OK
#232/p pass ctx or null check, 3: 1 OK
#233/p pass ctx or null check, 4: ctx - const OK
#234/p pass ctx or null check, 5: null (connect) OK
#235/p pass ctx or null check, 6: null (bind) OK
#236/p pass ctx or null check, 7: ctx (bind) OK
#237/p pass ctx or null check, 8: null (bind) OK
[...]
Summary: 1595 PASSED, 0 SKIPPED, 0 FAILED
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/c74758d07b1b678036465ef7f068a49e9efd3548.1585323121.git.daniel@iogearbox.net
2020-03-27 19:40:39 -07:00
..
2020-02-27 09:51:30 -03:00
2020-02-21 09:59:39 -05:00
2020-03-20 15:51:35 +01:00
2020-03-13 00:08:33 +01:00
2020-01-17 11:54:35 -08:00
2019-11-13 13:46:04 +01:00
2020-01-26 22:10:10 -05:00
2019-11-10 17:11:06 +00:00
2020-03-27 19:40:39 -07:00
2020-01-23 09:51:06 +01:00
2020-03-26 00:13:37 +01:00
2019-10-05 11:59:44 -07:00
2020-01-22 07:54:57 +01:00
2019-10-29 12:04:18 +00:00
2020-02-27 11:47:23 -03:00
2020-01-31 14:36:35 -08:00
2020-03-10 00:04:07 +01:00
2020-03-27 19:40:39 -07:00
2020-01-09 16:44:26 +01:00
2019-10-13 09:38:27 -04:00
2020-01-31 10:30:38 -08:00
2020-01-13 13:19:39 -05:00