Subject: RE: [PATCH v5 4/5] selftests/bpf: Add test for unreleased key references

From: John Fastabend <[email-masked]>
Date: Tue, 21 Jun 2022 15:35:37 -0700

Roberto Sassu wrote:
> Ensure that the verifier detects the attempt of acquiring a reference of a
> key through the helper bpf_lookup_user_key(), without releasing that
> reference with bpf_key_put(), and refuses to load the program.
> 
> Signed-off-by: Roberto Sassu <[email-masked]>
> ---

Any reason not to add these to ./verifier/ref_tracking.c tests? Seems it
might be easier to follow there and test both good/bad cases.