From: Leon Hwang <leon.hwang@linux.dev>
To: Lin Ma <malin89@huawei.com>
Cc: Leon Hwang <leon.hwang@linux.dev>,
Alexei Starovoitov <ast@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>,
bpf@vger.kernel.org, Andrii Nakryiko <andrii@kernel.org>,
John Fastabend <john.fastabend@gmail.com>,
Martin KaFai Lau <martin.lau@linux.dev>,
Eduard Zingerman <eddyz87@gmail.com>,
Kumar Kartikeya Dwivedi <memxor@gmail.com>,
Song Liu <song@kernel.org>,
Yonghong Song <yonghong.song@linux.dev>,
Jiri Olsa <jolsa@kernel.org>, YiFei Zhu <zhuyifei@google.com>,
Shuah Khan <shuah@kernel.org>,
linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org,
Amery Hung <ameryhung@gmail.com>,
Rongzhen Cui <cuirongzhen@huawei.com>,
Jingguo Tan <tanjingguo@huawei.com>,
cenxianlong@huawei.com, chenzhe@huawei.com
Subject: Re: [PATCH v2 2/2] selftests/bpf: Cover tail-call cgroup storage prog-array checks
Date: Wed, 3 Jun 2026 23:01:42 +0800 [thread overview]
Message-ID: <20260603150213.68746-1-leon.hwang@linux.dev> (raw)
In-Reply-To: <20260602073539.1567846-2-malin89@huawei.com>
On Tue, 2 Jun 2026 15:35:39 +0800, Lin Ma <malin89@huawei.com> 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 or for a storage-less bridge program.
>
> Signed-off-by: Lin Ma <malin89@huawei.com>
> Signed-off-by: Rongzhen Cui <cuirongzhen@huawei.com>
> Signed-off-by: Jingguo Tan <tanjingguo@huawei.com>
> ---
[...]
> @@ -1777,6 +1874,12 @@ void test_tailcalls(void)
> test_tailcall_freplace();
> if (test__start_subtest("tailcall_bpf2bpf_freplace"))
> test_tailcall_bpf2bpf_freplace();
> + if (test__start_subtest("tailcall_cgrp_storage"))
> + test_tailcall_cgrp_storage();
> + if (test__start_subtest("tailcall_cgrp_storage_diff_storage"))
> + test_tailcall_cgrp_storage_diff_storage();
> + if (test__start_subtest("tailcall_cgrp_storage_no_storage"))
> + test_tailcall_cgrp_storage_no_storage();
>
These new ones should stay at the tail of test_tailcalls().
Thanks,
Leon
> if (test__start_subtest("tailcall_failure"))
> test_tailcall_failure();
> if (test__start_subtest("tailcall_sleepable"))
[...]
next prev parent reply other threads:[~2026-06-03 15:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-02 7:35 [PATCH v2 1/2] bpf: Tighten cgroup storage cookie checks for prog arrays Lin Ma
2026-06-02 7:35 ` [PATCH v2 2/2] selftests/bpf: Cover tail-call cgroup storage prog-array checks Lin Ma
2026-06-02 8:15 ` bot+bpf-ci
2026-06-02 16:41 ` Yonghong Song
2026-06-03 15:01 ` Leon Hwang [this message]
2026-06-02 8:15 ` [PATCH v2 1/2] bpf: Tighten cgroup storage cookie checks for prog arrays bot+bpf-ci
2026-06-02 15:14 ` Yonghong Song
-- strict thread matches above, loose matches on Subject: below --
2026-06-04 1:52 [PATCH v2 2/2] selftests/bpf: Cover tail-call cgroup storage prog-array checks malin (R)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260603150213.68746-1-leon.hwang@linux.dev \
--to=leon.hwang@linux.dev \
--cc=ameryhung@gmail.com \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=cenxianlong@huawei.com \
--cc=chenzhe@huawei.com \
--cc=cuirongzhen@huawei.com \
--cc=daniel@iogearbox.net \
--cc=eddyz87@gmail.com \
--cc=john.fastabend@gmail.com \
--cc=jolsa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=malin89@huawei.com \
--cc=martin.lau@linux.dev \
--cc=memxor@gmail.com \
--cc=shuah@kernel.org \
--cc=song@kernel.org \
--cc=tanjingguo@huawei.com \
--cc=yonghong.song@linux.dev \
--cc=zhuyifei@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.