On Fri, 2025-07-04 at 20:12 +0200, Kumar Kartikeya Dwivedi wrote: > On Thu, 3 Jul 2025 at 00:44, Eduard Zingerman <eddyz87@xxxxxxxxx> wrote: > > > > Check usage of __arg_untrusted parameters of primitive type: > > - passing of {trusted, untrusted, map value, scalar value, values with > > variable offset} to untrusted `void *` or `char *` is ok; > > - varifier represents such parameters as rdonly_untrusted_mem(sz=0). > > > > Signed-off-by: Eduard Zingerman <eddyz87@xxxxxxxxx> > > --- > > LGTM, but can we also exercise BTF_KIND_ENUM{,64}? Since you > explicitly handle both of them. I guess char * covers BTF_KIND_INT, so > we don't need more cases (but up to you). Sure, will add. [...]