From: patchwork-bot+netdevbpf@kernel.org
To: Viktor Malik <vmalik@redhat.com>
Cc: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net,
andrii@kernel.org, martin.lau@linux.dev, eddyz87@gmail.com,
song@kernel.org, yonghong.song@linux.dev,
john.fastabend@gmail.com, kpsingh@kernel.org, sdf@google.com,
haoluo@google.com, jolsa@kernel.org, mykolal@fb.com,
shuah@kernel.org, laoar.shao@gmail.com
Subject: Re: [PATCH bpf-next] selftests/bpf: run cgroup1_hierarchy test in own mount namespace
Date: Mon, 29 Apr 2024 23:20:30 +0000 [thread overview]
Message-ID: <171443283053.1398.6063083961990796968.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20240429112311.402497-1-vmalik@redhat.com>
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@kernel.org>:
On Mon, 29 Apr 2024 13:23:11 +0200 you wrote:
> The cgroup1_hierarchy test uses setup_classid_environment to setup
> cgroupv1 environment. The problem is that the environment is set in
> /sys/fs/cgroup and therefore, if not run under an own mount namespace,
> effectively deletes all system cgroups:
>
> $ ls /sys/fs/cgroup | wc -l
> 27
> $ sudo ./test_progs -t cgroup1_hierarchy
> #41/1 cgroup1_hierarchy/test_cgroup1_hierarchy:OK
> #41/2 cgroup1_hierarchy/test_root_cgid:OK
> #41/3 cgroup1_hierarchy/test_invalid_level:OK
> #41/4 cgroup1_hierarchy/test_invalid_cgid:OK
> #41/5 cgroup1_hierarchy/test_invalid_hid:OK
> #41/6 cgroup1_hierarchy/test_invalid_cgrp_name:OK
> #41/7 cgroup1_hierarchy/test_invalid_cgrp_name2:OK
> #41/8 cgroup1_hierarchy/test_sleepable_prog:OK
> #41 cgroup1_hierarchy:OK
> Summary: 1/8 PASSED, 0 SKIPPED, 0 FAILED
> $ ls /sys/fs/cgroup | wc -l
> 1
>
> [...]
Here is the summary with links:
- [bpf-next] selftests/bpf: run cgroup1_hierarchy test in own mount namespace
https://git.kernel.org/bpf/bpf-next/c/19468ed51488
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2024-04-29 23:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-29 11:23 [PATCH bpf-next] selftests/bpf: run cgroup1_hierarchy test in own mount namespace Viktor Malik
2024-04-29 23:20 ` patchwork-bot+netdevbpf [this message]
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=171443283053.1398.6063083961990796968.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=eddyz87@gmail.com \
--cc=haoluo@google.com \
--cc=john.fastabend@gmail.com \
--cc=jolsa@kernel.org \
--cc=kpsingh@kernel.org \
--cc=laoar.shao@gmail.com \
--cc=martin.lau@linux.dev \
--cc=mykolal@fb.com \
--cc=sdf@google.com \
--cc=shuah@kernel.org \
--cc=song@kernel.org \
--cc=vmalik@redhat.com \
--cc=yonghong.song@linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).