diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-08-23 13:40:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-23 13:40:22 -0400 |
commit | 062900c264c8228ba660b73a938fcad3b8c28ab8 (patch) | |
tree | efe3da8c6e7454dc4054c6dae97b9a54b146f29b /vendor/github.com | |
parent | f9d706bc4982255f40a77ee3dcfb8e3369570ccc (diff) | |
parent | d24a5d9fddb455cd1f4afa0046e30d00271fdd8f (diff) | |
download | podman-062900c264c8228ba660b73a938fcad3b8c28ab8.tar.gz podman-062900c264c8228ba660b73a938fcad3b8c28ab8.tar.bz2 podman-062900c264c8228ba660b73a938fcad3b8c28ab8.zip |
Merge pull request #11309 from containers/dependabot/go_modules/github.com/opencontainers/runc-1.0.2
Bump github.com/opencontainers/runc from 1.0.1 to 1.0.2
Diffstat (limited to 'vendor/github.com')
-rw-r--r-- | vendor/github.com/opencontainers/runc/libcontainer/configs/cgroup_linux.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/github.com/opencontainers/runc/libcontainer/configs/cgroup_linux.go b/vendor/github.com/opencontainers/runc/libcontainer/configs/cgroup_linux.go index a1e7f0afd..5ea9d940c 100644 --- a/vendor/github.com/opencontainers/runc/libcontainer/configs/cgroup_linux.go +++ b/vendor/github.com/opencontainers/runc/libcontainer/configs/cgroup_linux.go @@ -131,4 +131,16 @@ type Resources struct { // // NOTE it is impossible to start a container which has this flag set. SkipDevices bool `json:"-"` + + // SkipFreezeOnSet is a flag for cgroup manager to skip the cgroup + // freeze when setting resources. Only applicable to systemd legacy + // (i.e. cgroup v1) manager (which uses freeze by default to avoid + // spurious permission errors caused by systemd inability to update + // device rules in a non-disruptive manner). + // + // If not set, a few methods (such as looking into cgroup's + // devices.list and querying the systemd unit properties) are used + // during Set() to figure out whether the freeze is required. Those + // methods may be relatively slow, thus this flag. + SkipFreezeOnSet bool `json:"-"` } |