selftests/bpf: Add type match test against kernel's task_struct

This change extends the existing core_reloc/kernel test to include a
type match check of a local task_struct against the kernel's definition
-- which we assume to succeed.

Signed-off-by: Daniel Müller <deso@posteo.net>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220628160127.607834-11-deso@posteo.net
This commit is contained in:
Daniel Müller 2022-06-28 16:01:27 +00:00 • committed by Andrii Nakryiko
commit 950b347787
3 changed files with 21 additions and 0 deletions