Re: [PATCH v4 2/2] selftests/bpf: Cover tail-call cgroup storage prog-array checks

From: Yonghong Song

Date: Thu Jun 04 2026 - 14:11:13 EST




On 6/4/26 12:03 AM, Lin Ma wrote:
Add tail-call selftests for prog-array ownership when cgroup storage is
in use. Verify that loading succeeds when callers and callees reuse the
owner's cgroup storage map, and that loading fails for a different
storage map and for the A(storage) -> B(no storage) -> C(storage)
bridge case from patch 1.

Suggested-by: Leon Hwang <leon.hwang@xxxxxxxxx>
Signed-off-by: Lin Ma <malin89@xxxxxxxxxx>
Signed-off-by: Rongzhen Cui <cuirongzhen@xxxxxxxxxx>
Signed-off-by: Jingguo Tan <tanjingguo@xxxxxxxxxx>

Acked-by: Yonghong Song <yonghong.song@xxxxxxxxx>