diff options
author | Eduard Zingerman <eddyz87@gmail.com> | 2022-12-09 15:57:28 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-12-10 13:20:52 -0800 |
commit | cb578c1c9cf60275f258b5af7929c2a54a188f66 (patch) | |
tree | 9e1c91dfaee6c55fe0ee90344c17178c37985c8d /kernel/bpf | |
parent | 7c884339bbff80250bfc11d56b5cf48640e6ebdb (diff) | |
download | linux-cb578c1c9cf60275f258b5af7929c2a54a188f66.tar.bz2 |
selftests/bpf: test cases for regsafe() bug skipping check_id()
Under certain conditions it was possible for verifier.c:regsafe() to
skip check_id() call. This commit adds negative test cases previously
errorneously accepted as safe.
Signed-off-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20221209135733.28851-3-eddyz87@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions