Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.0] Don't freeze cgroup on update for systemd cgroup v2 #3092

Merged
merged 2 commits into from
Jul 15, 2021

Commits on Jul 15, 2021

  1. Update device update tests

    Run device update tests on cgroup v2, and add a test verifying that we
    don't allow access to devices when we don't intend to.
    
    Signed-off-by: Odin Ugedal <odin@uged.al>
    (cherry picked from commit d41a273)
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    odinuge authored and kolyshkin committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    298a310 View commit details
    Browse the repository at this point in the history
  2. libct/cg/sd: Don't freeze cgroup on cgroup v2 Set

    Since device updates in cgroup v2 are atomic for systemd, there is no
    need to freeze the processes before running the updates.
    
    Signed-off-by: Odin Ugedal <odin@uged.al>
    (cherry picked from commit f33be7c, trivial conflict
     due to missing commit b60e2ed)
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    odinuge authored and kolyshkin committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    04edd79 View commit details
    Browse the repository at this point in the history