From 8e54d9df73f0cde39c60bcfacf66fb31af49f97a Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Wed, 19 May 2021 09:59:29 -0700 Subject: [PATCH] vendor: bump runc to rc95 runc rc95 contains a fix for CVE-2021-30465. runc rc94 provides fixes and improvements. One notable change is cgroup manager's Set now accept Resources rather than Cgroup (see https://github.com/opencontainers/runc/pull/2906). Modify the code accordingly. Also update runc dependencies (as hinted by hack/lint-depdendencies.sh): github.com/cilium/ebpf v0.5.0 github.com/containerd/console v1.0.2 github.com/coreos/go-systemd/v22 v22.3.1 github.com/godbus/dbus/v5 v5.0.4 github.com/moby/sys/mountinfo v0.4.1 golang.org/x/sys v0.0.0-20210426230700-d19ff857e887 github.com/google/go-cmp v0.5.4 github.com/kr/pretty v0.2.1 github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 Signed-off-by: Kir Kolyshkin Kubernetes-commit: 5eea5478ae4859f2d66135d086b9675361d8d2a8 --- go.mod | 25 +++++++++++++------------ go.sum | 20 ++++---------------- 2 files changed, 17 insertions(+), 28 deletions(-) diff --git a/go.mod b/go.mod index e745d3231..c7a480551 100644 --- a/go.mod +++ b/go.mod @@ -14,12 +14,12 @@ require ( github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.6.1 golang.org/x/net v0.0.0-20210224082022-3d97a244fca7 - k8s.io/api v0.0.0-20210315145215-fd88418e43d2 - k8s.io/apimachinery v0.0.0-20210329111815-e337f44144a6 - k8s.io/apiserver v0.0.0-20210319035835-04bf549f9a61 - k8s.io/client-go v0.0.0-20210329112528-6be0785e0e32 - k8s.io/code-generator v0.0.0-20210329111516-cb1b268548af - k8s.io/component-base v0.0.0-20210313031516-9f42c8df41b0 + k8s.io/api v0.0.0 + k8s.io/apimachinery v0.0.0 + k8s.io/apiserver v0.0.0 + k8s.io/client-go v0.0.0 + k8s.io/code-generator v0.0.0 + k8s.io/component-base v0.0.0 k8s.io/klog/v2 v2.8.0 k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7 k8s.io/utils v0.0.0-20201110183641-67b214c5f920 @@ -27,10 +27,11 @@ require ( ) replace ( - k8s.io/api => k8s.io/api v0.0.0-20210315145215-fd88418e43d2 - k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20210329111815-e337f44144a6 - k8s.io/apiserver => k8s.io/apiserver v0.0.0-20210319035835-04bf549f9a61 - k8s.io/client-go => k8s.io/client-go v0.0.0-20210329112528-6be0785e0e32 - k8s.io/code-generator => k8s.io/code-generator v0.0.0-20210329111516-cb1b268548af - k8s.io/component-base => k8s.io/component-base v0.0.0-20210313031516-9f42c8df41b0 + k8s.io/api => ../api + k8s.io/apimachinery => ../apimachinery + k8s.io/apiserver => ../apiserver + k8s.io/client-go => ../client-go + k8s.io/code-generator => ../code-generator + k8s.io/component-base => ../component-base + k8s.io/kube-aggregator => ../kube-aggregator ) diff --git a/go.sum b/go.sum index 4b1600c13..c14e3060c 100644 --- a/go.sum +++ b/go.sum @@ -170,8 +170,8 @@ github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMyw github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.2 h1:X2ev0eStA3AbceY54o37/0PQ/UWqKEiiO2dKL5OPaFM= -github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M= +github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.1.0 h1:Hsa8mG0dQ46ij8Sl2AYJDUv1oA9/d6Vk+3LG99Oe02g= github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= @@ -517,8 +517,8 @@ golang.org/x/sys v0.0.0-20200831180312-196b9ba8737a/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073 h1:8qxJSnu+7dRq6upnbntrmriWByIakBuct5OM/MdQC1M= -golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210426230700-d19ff857e887 h1:dXfMednGJh/SUUFjTLsWJz3P+TQt9qnR11GgeI3vWKs= +golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d h1:SZxvLBoTP5yHO3Frd4z4vrF+DBX9vMVanchswa69toE= @@ -674,18 +674,6 @@ honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -k8s.io/api v0.0.0-20210315145215-fd88418e43d2 h1:gM0GBc0S4f8MG4IIkHFykmJycgybDwKUVwk5qDjvw4M= -k8s.io/api v0.0.0-20210315145215-fd88418e43d2/go.mod h1:7Byi1J8zhqxObDDyvyvJdvEZioXQZDTsNqSFMk4JMMM= -k8s.io/apimachinery v0.0.0-20210329111815-e337f44144a6 h1:rF9UWPFMeCzTx61QJd1PO4vZmpe8eNmJRuFGfZBG1r4= -k8s.io/apimachinery v0.0.0-20210329111815-e337f44144a6/go.mod h1:jbreFvJo3ov9rj7eWT7+sYiRx+qZuCYXwWT1bcDswPY= -k8s.io/apiserver v0.0.0-20210319035835-04bf549f9a61 h1:NZ9PRx4QLJmWt9SQHbIihX4q9RkvZBmdolbZsLzTlY4= -k8s.io/apiserver v0.0.0-20210319035835-04bf549f9a61/go.mod h1:dIKfXWYH5WorMIgcqkqg/CoOrxjpXzrt5DXx4jo0pbQ= -k8s.io/client-go v0.0.0-20210329112528-6be0785e0e32 h1:Qu7DBMSFCtY/i0Q5reJbTOgwbPZqOQSdLszDn05zbBA= -k8s.io/client-go v0.0.0-20210329112528-6be0785e0e32/go.mod h1:yj5ScWeltrJYKEZW5QJU0u5fFsd8R5Pr3n4PemFPttM= -k8s.io/code-generator v0.0.0-20210329111516-cb1b268548af h1:5Idpvv/p+QVhUUUQr8DJIEsfRc9qS6iyCk7hkaMUODk= -k8s.io/code-generator v0.0.0-20210329111516-cb1b268548af/go.mod h1:hUlps5+9QaTrKx+jiM4rmq7YmH8wPOIko64uZCHDh6Q= -k8s.io/component-base v0.0.0-20210313031516-9f42c8df41b0 h1:w4ki8L+OEXufvXGCiV2qGPjI7wP8nMfbhGmsOQV0l3w= -k8s.io/component-base v0.0.0-20210313031516-9f42c8df41b0/go.mod h1:xbfn3fkC6RSVPe1kpuRzmIvpCcq7C7TWSACOY1TfJZA= k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= k8s.io/gengo v0.0.0-20201214224949-b6c5ce23f027 h1:Uusb3oh8XcdzDF/ndlI4ToKTYVlkCSJP39SRY2mfRAw= k8s.io/gengo v0.0.0-20201214224949-b6c5ce23f027/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E=