Re: [PATCH bpf-next] selftests/bpf: run cgroup1_hierarchy test in own mount namespace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

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






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux