go.mod: update osbuild/images to v0.174.0

Also update the minimum required osbuild version by the osbuild/images
library.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2025-08-11 13:40:51 +02:00 committed by Tomáš Hozza
parent 3d0110f14e
commit 74d2edb772
110 changed files with 1218 additions and 1104 deletions

View file

@ -2,7 +2,7 @@
"fedora-41": { "fedora-41": {
"dependencies": { "dependencies": {
"osbuild": { "osbuild": {
"commit": "fd6801e380a87fb0026c1c73af7e17614fa6efb8" "commit": "e3236a8b34e86712463130ba8edc6a8707c7ed0d"
} }
}, },
"repos": [ "repos": [
@ -45,7 +45,7 @@
"fedora-42": { "fedora-42": {
"dependencies": { "dependencies": {
"osbuild": { "osbuild": {
"commit": "fd6801e380a87fb0026c1c73af7e17614fa6efb8" "commit": "e3236a8b34e86712463130ba8edc6a8707c7ed0d"
} }
}, },
"repos": [ "repos": [
@ -88,70 +88,70 @@
"rhel-8.4": { "rhel-8.4": {
"dependencies": { "dependencies": {
"osbuild": { "osbuild": {
"commit": "fd6801e380a87fb0026c1c73af7e17614fa6efb8" "commit": "e3236a8b34e86712463130ba8edc6a8707c7ed0d"
} }
} }
}, },
"rhel-8.8": { "rhel-8.8": {
"dependencies": { "dependencies": {
"osbuild": { "osbuild": {
"commit": "fd6801e380a87fb0026c1c73af7e17614fa6efb8" "commit": "e3236a8b34e86712463130ba8edc6a8707c7ed0d"
} }
} }
}, },
"rhel-8.9": { "rhel-8.9": {
"dependencies": { "dependencies": {
"osbuild": { "osbuild": {
"commit": "fd6801e380a87fb0026c1c73af7e17614fa6efb8" "commit": "e3236a8b34e86712463130ba8edc6a8707c7ed0d"
} }
} }
}, },
"rhel-8.10": { "rhel-8.10": {
"dependencies": { "dependencies": {
"osbuild": { "osbuild": {
"commit": "fd6801e380a87fb0026c1c73af7e17614fa6efb8" "commit": "e3236a8b34e86712463130ba8edc6a8707c7ed0d"
} }
} }
}, },
"rhel-9.2": { "rhel-9.2": {
"dependencies": { "dependencies": {
"osbuild": { "osbuild": {
"commit": "fd6801e380a87fb0026c1c73af7e17614fa6efb8" "commit": "e3236a8b34e86712463130ba8edc6a8707c7ed0d"
} }
} }
}, },
"rhel-9.3": { "rhel-9.3": {
"dependencies": { "dependencies": {
"osbuild": { "osbuild": {
"commit": "fd6801e380a87fb0026c1c73af7e17614fa6efb8" "commit": "e3236a8b34e86712463130ba8edc6a8707c7ed0d"
} }
} }
}, },
"rhel-9.4": { "rhel-9.4": {
"dependencies": { "dependencies": {
"osbuild": { "osbuild": {
"commit": "fd6801e380a87fb0026c1c73af7e17614fa6efb8" "commit": "e3236a8b34e86712463130ba8edc6a8707c7ed0d"
} }
} }
}, },
"rhel-9.5": { "rhel-9.5": {
"dependencies": { "dependencies": {
"osbuild": { "osbuild": {
"commit": "fd6801e380a87fb0026c1c73af7e17614fa6efb8" "commit": "e3236a8b34e86712463130ba8edc6a8707c7ed0d"
} }
} }
}, },
"rhel-9.6": { "rhel-9.6": {
"dependencies": { "dependencies": {
"osbuild": { "osbuild": {
"commit": "fd6801e380a87fb0026c1c73af7e17614fa6efb8" "commit": "e3236a8b34e86712463130ba8edc6a8707c7ed0d"
} }
} }
}, },
"rhel-9.7": { "rhel-9.7": {
"dependencies": { "dependencies": {
"osbuild": { "osbuild": {
"commit": "fd6801e380a87fb0026c1c73af7e17614fa6efb8" "commit": "e3236a8b34e86712463130ba8edc6a8707c7ed0d"
} }
}, },
"repos": [ "repos": [
@ -197,14 +197,14 @@
"rhel-10.0": { "rhel-10.0": {
"dependencies": { "dependencies": {
"osbuild": { "osbuild": {
"commit": "fd6801e380a87fb0026c1c73af7e17614fa6efb8" "commit": "e3236a8b34e86712463130ba8edc6a8707c7ed0d"
} }
} }
}, },
"rhel-10.1": { "rhel-10.1": {
"dependencies": { "dependencies": {
"osbuild": { "osbuild": {
"commit": "fd6801e380a87fb0026c1c73af7e17614fa6efb8" "commit": "e3236a8b34e86712463130ba8edc6a8707c7ed0d"
} }
}, },
"repos": [ "repos": [
@ -250,14 +250,14 @@
"centos-9": { "centos-9": {
"dependencies": { "dependencies": {
"osbuild": { "osbuild": {
"commit": "fd6801e380a87fb0026c1c73af7e17614fa6efb8" "commit": "e3236a8b34e86712463130ba8edc6a8707c7ed0d"
} }
} }
}, },
"centos-stream-9": { "centos-stream-9": {
"dependencies": { "dependencies": {
"osbuild": { "osbuild": {
"commit": "fd6801e380a87fb0026c1c73af7e17614fa6efb8" "commit": "e3236a8b34e86712463130ba8edc6a8707c7ed0d"
} }
}, },
"repos": [ "repos": [
@ -303,14 +303,14 @@
"centos-10": { "centos-10": {
"dependencies": { "dependencies": {
"osbuild": { "osbuild": {
"commit": "fd6801e380a87fb0026c1c73af7e17614fa6efb8" "commit": "e3236a8b34e86712463130ba8edc6a8707c7ed0d"
} }
} }
}, },
"centos-stream-10": { "centos-stream-10": {
"dependencies": { "dependencies": {
"osbuild": { "osbuild": {
"commit": "fd6801e380a87fb0026c1c73af7e17614fa6efb8" "commit": "e3236a8b34e86712463130ba8edc6a8707c7ed0d"
} }
}, },
"repos": [ "repos": [

30
go.mod
View file

@ -36,7 +36,7 @@ require (
github.com/openshift-online/ocm-sdk-go v0.1.473 github.com/openshift-online/ocm-sdk-go v0.1.473
github.com/oracle/oci-go-sdk/v54 v54.0.0 github.com/oracle/oci-go-sdk/v54 v54.0.0
github.com/osbuild/blueprint v1.12.0 github.com/osbuild/blueprint v1.12.0
github.com/osbuild/images v0.172.0 github.com/osbuild/images v0.174.0
github.com/osbuild/osbuild-composer/pkg/splunk_logger v0.0.0-20240814102216-0239db53236d github.com/osbuild/osbuild-composer/pkg/splunk_logger v0.0.0-20240814102216-0239db53236d
github.com/prometheus/client_golang v1.23.0 github.com/prometheus/client_golang v1.23.0
github.com/segmentio/ksuid v1.0.4 github.com/segmentio/ksuid v1.0.4
@ -58,9 +58,9 @@ require (
cloud.google.com/go/iam v1.5.2 // indirect cloud.google.com/go/iam v1.5.2 // indirect
cloud.google.com/go/monitoring v1.24.2 // indirect cloud.google.com/go/monitoring v1.24.2 // indirect
dario.cat/mergo v1.0.2 // indirect dario.cat/mergo v1.0.2 // indirect
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.18.1 // indirect github.com/Azure/azure-sdk-for-go/sdk/azcore v1.18.2 // indirect
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.10.1 // indirect github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.11.0 // indirect
github.com/Azure/azure-sdk-for-go/sdk/internal v1.11.1 // indirect github.com/Azure/azure-sdk-for-go/sdk/internal v1.11.2 // indirect
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5 v5.7.0 // indirect github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5 v5.7.0 // indirect
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.2.0 // indirect github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.2.0 // indirect
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.8.1 // indirect github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.8.1 // indirect
@ -98,11 +98,11 @@ require (
github.com/containerd/errdefs/pkg v0.3.0 // indirect github.com/containerd/errdefs/pkg v0.3.0 // indirect
github.com/containerd/stargz-snapshotter/estargz v0.16.3 // indirect github.com/containerd/stargz-snapshotter/estargz v0.16.3 // indirect
github.com/containerd/typeurl/v2 v2.2.3 // indirect github.com/containerd/typeurl/v2 v2.2.3 // indirect
github.com/containers/common v0.64.0 // indirect github.com/containers/common v0.64.1 // indirect
github.com/containers/image/v5 v5.36.0 // indirect github.com/containers/image/v5 v5.36.1 // indirect
github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01 // indirect github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01 // indirect
github.com/containers/ocicrypt v1.2.1 // indirect github.com/containers/ocicrypt v1.2.1 // indirect
github.com/containers/storage v1.59.0 // indirect github.com/containers/storage v1.59.1 // indirect
github.com/coreos/go-semver v0.3.1 // indirect github.com/coreos/go-semver v0.3.1 // indirect
github.com/cyberphone/json-canonicalization v0.0.0-20241213102144-19d51d7fe467 // indirect github.com/cyberphone/json-canonicalization v0.0.0-20241213102144-19d51d7fe467 // indirect
github.com/cyphar/filepath-securejoin v0.4.1 // indirect github.com/cyphar/filepath-securejoin v0.4.1 // indirect
@ -124,7 +124,7 @@ require (
github.com/go-openapi/jsonpointer v0.21.1 // indirect github.com/go-openapi/jsonpointer v0.21.1 // indirect
github.com/go-openapi/swag v0.23.1 // indirect github.com/go-openapi/swag v0.23.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt/v5 v5.2.3 // indirect github.com/golang-jwt/jwt/v5 v5.3.0 // indirect
github.com/golang/glog v1.2.5 // indirect github.com/golang/glog v1.2.5 // indirect
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
github.com/golang/protobuf v1.5.4 // indirect github.com/golang/protobuf v1.5.4 // indirect
@ -220,14 +220,14 @@ require (
go.opentelemetry.io/otel/sdk v1.36.0 // indirect go.opentelemetry.io/otel/sdk v1.36.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.36.0 // indirect go.opentelemetry.io/otel/sdk/metric v1.36.0 // indirect
go.opentelemetry.io/otel/trace v1.36.0 // indirect go.opentelemetry.io/otel/trace v1.36.0 // indirect
golang.org/x/crypto v0.40.0 // indirect golang.org/x/crypto v0.41.0 // indirect
golang.org/x/mod v0.26.0 // indirect golang.org/x/mod v0.27.0 // indirect
golang.org/x/net v0.42.0 // indirect golang.org/x/net v0.43.0 // indirect
golang.org/x/sys v0.34.0 // indirect golang.org/x/sys v0.35.0 // indirect
golang.org/x/term v0.33.0 // indirect golang.org/x/term v0.34.0 // indirect
golang.org/x/text v0.27.0 // indirect golang.org/x/text v0.28.0 // indirect
golang.org/x/time v0.12.0 // indirect golang.org/x/time v0.12.0 // indirect
golang.org/x/tools v0.35.0 // indirect golang.org/x/tools v0.36.0 // indirect
google.golang.org/genproto v0.0.0-20250603155806-513f23925822 // indirect google.golang.org/genproto v0.0.0-20250603155806-513f23925822 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20250728155136-f173205681a0 // indirect google.golang.org/genproto/googleapis/api v0.0.0-20250728155136-f173205681a0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250728155136-f173205681a0 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20250728155136-f173205681a0 // indirect

68
go.sum
View file

@ -25,14 +25,14 @@ cloud.google.com/go/trace v1.11.6 h1:2O2zjPzqPYAHrn3OKl029qlqG6W8ZdYaOWRyr8NgMT4
cloud.google.com/go/trace v1.11.6/go.mod h1:GA855OeDEBiBMzcckLPE2kDunIpC72N+Pq8WFieFjnI= cloud.google.com/go/trace v1.11.6/go.mod h1:GA855OeDEBiBMzcckLPE2kDunIpC72N+Pq8WFieFjnI=
dario.cat/mergo v1.0.2 h1:85+piFYR1tMbRrLcDwR18y4UKJ3aH1Tbzi24VRW1TK8= dario.cat/mergo v1.0.2 h1:85+piFYR1tMbRrLcDwR18y4UKJ3aH1Tbzi24VRW1TK8=
dario.cat/mergo v1.0.2/go.mod h1:E/hbnu0NxMFBjpMIE34DRGLWqDy0g5FuKDhCb31ngxA= dario.cat/mergo v1.0.2/go.mod h1:E/hbnu0NxMFBjpMIE34DRGLWqDy0g5FuKDhCb31ngxA=
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.18.1 h1:Wc1ml6QlJs2BHQ/9Bqu1jiyggbsSjramq2oUmp5WeIo= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.18.2 h1:Hr5FTipp7SL07o2FvoVOX9HRiRH3CR3Mj8pxqCcdD5A=
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.18.1/go.mod h1:Ot/6aikWnKWi4l9QB7qVSwa8iMphQNqkWALMoNT3rzM= github.com/Azure/azure-sdk-for-go/sdk/azcore v1.18.2/go.mod h1:QyVsSSN64v5TGltphKLQ2sQxe4OBQg0J1eKRcVBnfgE=
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.10.1 h1:B+blDbyVIG3WaikNxPnhPiJ1MThR03b3vKGtER95TP4= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.11.0 h1:MhRfI58HblXzCtWEZCO0feHs8LweePB3s90r7WaR1KU=
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.10.1/go.mod h1:JdM5psgjfBf5fo2uWOZhflPWyDBZ/O/CNAH9CtsuZE4= github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.11.0/go.mod h1:okZ+ZURbArNdlJ+ptXoyHNuOETzOl1Oww19rm8I2WLA=
github.com/Azure/azure-sdk-for-go/sdk/azidentity/cache v0.3.2 h1:yz1bePFlP5Vws5+8ez6T3HWXPmwOK7Yvq8QxDBD3SKY= github.com/Azure/azure-sdk-for-go/sdk/azidentity/cache v0.3.2 h1:yz1bePFlP5Vws5+8ez6T3HWXPmwOK7Yvq8QxDBD3SKY=
github.com/Azure/azure-sdk-for-go/sdk/azidentity/cache v0.3.2/go.mod h1:Pa9ZNPuoNu/GztvBSKk9J1cDJW6vk/n0zLtV4mgd8N8= github.com/Azure/azure-sdk-for-go/sdk/azidentity/cache v0.3.2/go.mod h1:Pa9ZNPuoNu/GztvBSKk9J1cDJW6vk/n0zLtV4mgd8N8=
github.com/Azure/azure-sdk-for-go/sdk/internal v1.11.1 h1:FPKJS1T+clwv+OLGt13a8UjqeRuh0O4SJ3lUriThc+4= github.com/Azure/azure-sdk-for-go/sdk/internal v1.11.2 h1:9iefClla7iYpfYWdzPCRDozdmndjTm8DXdpCzPajMgA=
github.com/Azure/azure-sdk-for-go/sdk/internal v1.11.1/go.mod h1:j2chePtV91HrC22tGoRX3sGY42uF13WzmmV80/OdVAA= github.com/Azure/azure-sdk-for-go/sdk/internal v1.11.2/go.mod h1:XtLgD3ZD34DAaVIIAyG3objl5DynM3CQ/vMcbBNJZGI=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5 v5.7.0 h1:LkHbJbgF3YyvC53aqYGR+wWQDn2Rdp9AQdGndf9QvY4= github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5 v5.7.0 h1:LkHbJbgF3YyvC53aqYGR+wWQDn2Rdp9AQdGndf9QvY4=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5 v5.7.0/go.mod h1:QyiQdW4f4/BIfB8ZutZ2s+28RAgfa/pT+zS++ZHyM1I= github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5 v5.7.0/go.mod h1:QyiQdW4f4/BIfB8ZutZ2s+28RAgfa/pT+zS++ZHyM1I=
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal/v2 v2.0.0 h1:PTFGRSlMKCQelWwxUyYVEUqseBJVemLyqWJjvMyt0do= github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal/v2 v2.0.0 h1:PTFGRSlMKCQelWwxUyYVEUqseBJVemLyqWJjvMyt0do=
@ -149,16 +149,16 @@ github.com/containerd/stargz-snapshotter/estargz v0.16.3 h1:7evrXtoh1mSbGj/pfRcc
github.com/containerd/stargz-snapshotter/estargz v0.16.3/go.mod h1:uyr4BfYfOj3G9WBVE8cOlQmXAbPN9VEQpBBeJIuOipU= github.com/containerd/stargz-snapshotter/estargz v0.16.3/go.mod h1:uyr4BfYfOj3G9WBVE8cOlQmXAbPN9VEQpBBeJIuOipU=
github.com/containerd/typeurl/v2 v2.2.3 h1:yNA/94zxWdvYACdYO8zofhrTVuQY73fFU1y++dYSw40= github.com/containerd/typeurl/v2 v2.2.3 h1:yNA/94zxWdvYACdYO8zofhrTVuQY73fFU1y++dYSw40=
github.com/containerd/typeurl/v2 v2.2.3/go.mod h1:95ljDnPfD3bAbDJRugOiShd/DlAAsxGtUBhJxIn7SCk= github.com/containerd/typeurl/v2 v2.2.3/go.mod h1:95ljDnPfD3bAbDJRugOiShd/DlAAsxGtUBhJxIn7SCk=
github.com/containers/common v0.64.0 h1:Jdjq1e5tqrLov9tcAVc/AfvQCgX4krhcfDBgOXwrSfw= github.com/containers/common v0.64.1 h1:E8vSiL+B84/UCsyVSb70GoxY9cu+0bseLujm4EKF6GE=
github.com/containers/common v0.64.0/go.mod h1:bq2UIiFP8vUJdgM+WN8E8jkD7wF69SpDRGzU7epJljg= github.com/containers/common v0.64.1/go.mod h1:CtfQNHoCAZqWeXMwdShcsxmMJSeGRgKKMqAwRKmWrHE=
github.com/containers/image/v5 v5.36.0 h1:Zh+xFcLjRmicnOT5AFPHH/xj+e3s9ojDN/9X2Kx1+Jo= github.com/containers/image/v5 v5.36.1 h1:6zpXBqR59UcAzoKpa/By5XekeqFV+htWYfr65+Cgjqo=
github.com/containers/image/v5 v5.36.0/go.mod h1:VZ6cyDHbxZoOt4dklUJ+WNEH9FrgSgfH3qUBYKFlcT0= github.com/containers/image/v5 v5.36.1/go.mod h1:b4GMKH2z/5t6/09utbse2ZiLK/c72GuGLFdp7K69eA4=
github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01 h1:Qzk5C6cYglewc+UyGf6lc8Mj2UaPTHy/iF2De0/77CA= github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01 h1:Qzk5C6cYglewc+UyGf6lc8Mj2UaPTHy/iF2De0/77CA=
github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01/go.mod h1:9rfv8iPl1ZP7aqh9YA68wnZv2NUDbXdcdPHVz0pFbPY= github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01/go.mod h1:9rfv8iPl1ZP7aqh9YA68wnZv2NUDbXdcdPHVz0pFbPY=
github.com/containers/ocicrypt v1.2.1 h1:0qIOTT9DoYwcKmxSt8QJt+VzMY18onl9jUXsxpVhSmM= github.com/containers/ocicrypt v1.2.1 h1:0qIOTT9DoYwcKmxSt8QJt+VzMY18onl9jUXsxpVhSmM=
github.com/containers/ocicrypt v1.2.1/go.mod h1:aD0AAqfMp0MtwqWgHM1bUwe1anx0VazI108CRrSKINQ= github.com/containers/ocicrypt v1.2.1/go.mod h1:aD0AAqfMp0MtwqWgHM1bUwe1anx0VazI108CRrSKINQ=
github.com/containers/storage v1.59.0 h1:r2pYSTzQpJTROZbjJQ54Z0GT+rUC6+wHzlSY8yPjsXk= github.com/containers/storage v1.59.1 h1:11Zu68MXsEQGBBd+GadPrHPpWeqjKS8hJDGiAHgIqDs=
github.com/containers/storage v1.59.0/go.mod h1:KoAYHnAjP3/cTsRS+mmWZGkufSY2GACiKQ4V3ZLQnR0= github.com/containers/storage v1.59.1/go.mod h1:KoAYHnAjP3/cTsRS+mmWZGkufSY2GACiKQ4V3ZLQnR0=
github.com/coreos/go-semver v0.3.1 h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4= github.com/coreos/go-semver v0.3.1 h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4=
github.com/coreos/go-semver v0.3.1/go.mod h1:irMmmIw/7yzSRPWryHsK7EYSg09caPQL03VsM8rvUec= github.com/coreos/go-semver v0.3.1/go.mod h1:irMmmIw/7yzSRPWryHsK7EYSg09caPQL03VsM8rvUec=
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
@ -176,8 +176,6 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78=
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc=
github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk= github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk=
github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E= github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
github.com/docker/cli v28.3.2+incompatible h1:mOt9fcLE7zaACbxW1GeS65RI67wIJrTnqS3hP2huFsY= github.com/docker/cli v28.3.2+incompatible h1:mOt9fcLE7zaACbxW1GeS65RI67wIJrTnqS3hP2huFsY=
@ -260,8 +258,8 @@ github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/golang-jwt/jwt/v4 v4.5.2 h1:YtQM7lnr8iZ+j5q71MGKkNw9Mn7AjHM68uc9g5fXeUI= github.com/golang-jwt/jwt/v4 v4.5.2 h1:YtQM7lnr8iZ+j5q71MGKkNw9Mn7AjHM68uc9g5fXeUI=
github.com/golang-jwt/jwt/v4 v4.5.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= github.com/golang-jwt/jwt/v4 v4.5.2/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0=
github.com/golang-jwt/jwt/v5 v5.2.3 h1:kkGXqQOBSDDWRhWNXTFpqGSCMyh/PLnqUvMGJPDJDs0= github.com/golang-jwt/jwt/v5 v5.3.0 h1:pv4AsKCKKZuqlgs5sUmn4x8UlGa0kEVt/puTpKx9vvo=
github.com/golang-jwt/jwt/v5 v5.2.3/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= github.com/golang-jwt/jwt/v5 v5.3.0/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
github.com/golang/glog v1.2.5 h1:DrW6hGnjIhtvhOIiAKT6Psh/Kd/ldepEa81DKeiRJ5I= github.com/golang/glog v1.2.5 h1:DrW6hGnjIhtvhOIiAKT6Psh/Kd/ldepEa81DKeiRJ5I=
github.com/golang/glog v1.2.5/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w= github.com/golang/glog v1.2.5/go.mod h1:6AhwSGph0fcJtXVM/PEHPqZlFeoLxhs7/t5UDAwmO+w=
@ -464,8 +462,8 @@ github.com/moby/sys/capability v0.4.0 h1:4D4mI6KlNtWMCM1Z/K0i7RV1FkX+DBDHKVJpCnd
github.com/moby/sys/capability v0.4.0/go.mod h1:4g9IK291rVkms3LKCDOoYlnV8xKwoDTpIrNEE35Wq0I= github.com/moby/sys/capability v0.4.0/go.mod h1:4g9IK291rVkms3LKCDOoYlnV8xKwoDTpIrNEE35Wq0I=
github.com/moby/sys/mountinfo v0.7.2 h1:1shs6aH5s4o5H2zQLn796ADW1wMrIwHsyJ2v9KouLrg= github.com/moby/sys/mountinfo v0.7.2 h1:1shs6aH5s4o5H2zQLn796ADW1wMrIwHsyJ2v9KouLrg=
github.com/moby/sys/mountinfo v0.7.2/go.mod h1:1YOa8w8Ih7uW0wALDUgT1dTTSBrZ+HiBLGws92L2RU4= github.com/moby/sys/mountinfo v0.7.2/go.mod h1:1YOa8w8Ih7uW0wALDUgT1dTTSBrZ+HiBLGws92L2RU4=
github.com/moby/sys/sequential v0.5.0 h1:OPvI35Lzn9K04PBbCLW0g4LcFAJgHsvXsRyewg5lXtc= github.com/moby/sys/sequential v0.6.0 h1:qrx7XFUd/5DxtqcoH1h438hF5TmOvzC/lspjy7zgvCU=
github.com/moby/sys/sequential v0.5.0/go.mod h1:tH2cOOs5V9MlPiXcQzRC+eEyab644PWKGRYaaV5ZZlo= github.com/moby/sys/sequential v0.6.0/go.mod h1:uyv8EUTrca5PnDsdMGXhZe6CCe8U/UiTWd+lL+7b/Ko=
github.com/moby/sys/user v0.4.0 h1:jhcMKit7SA80hivmFJcbB1vqmw//wU61Zdui2eQXuMs= github.com/moby/sys/user v0.4.0 h1:jhcMKit7SA80hivmFJcbB1vqmw//wU61Zdui2eQXuMs=
github.com/moby/sys/user v0.4.0/go.mod h1:bG+tYYYJgaMtRKgEmuueC0hJEAZWwtIbZTB+85uoHjs= github.com/moby/sys/user v0.4.0/go.mod h1:bG+tYYYJgaMtRKgEmuueC0hJEAZWwtIbZTB+85uoHjs=
github.com/moby/term v0.5.2 h1:6qk3FJAFDs6i/q3W/pQ97SX192qKfZgGjCQqfCJkgzQ= github.com/moby/term v0.5.2 h1:6qk3FJAFDs6i/q3W/pQ97SX192qKfZgGjCQqfCJkgzQ=
@ -522,8 +520,8 @@ github.com/oracle/oci-go-sdk/v54 v54.0.0 h1:CDLjeSejv2aDpElAJrhKpi6zvT/zhZCZuXch
github.com/oracle/oci-go-sdk/v54 v54.0.0/go.mod h1:+t+yvcFGVp+3ZnztnyxqXfQDsMlq8U25faBLa+mqCMc= github.com/oracle/oci-go-sdk/v54 v54.0.0/go.mod h1:+t+yvcFGVp+3ZnztnyxqXfQDsMlq8U25faBLa+mqCMc=
github.com/osbuild/blueprint v1.12.0 h1:Q2VXPyOnRs9uqgH1lNsvob6PS+73oPF0K9FmsyC98RI= github.com/osbuild/blueprint v1.12.0 h1:Q2VXPyOnRs9uqgH1lNsvob6PS+73oPF0K9FmsyC98RI=
github.com/osbuild/blueprint v1.12.0/go.mod h1:HPlJzkEl7q5g8hzaGksUk7ifFAy9QFw9LmzhuFOAVm4= github.com/osbuild/blueprint v1.12.0/go.mod h1:HPlJzkEl7q5g8hzaGksUk7ifFAy9QFw9LmzhuFOAVm4=
github.com/osbuild/images v0.172.0 h1:UccT9dK7P5325HavVEYg4kG96GDqxQT4MTxC0mC1rdU= github.com/osbuild/images v0.174.0 h1:lQkRK1QENw7YtTu50bmtwsBs3HH88m7CmcRk98fbOLs=
github.com/osbuild/images v0.172.0/go.mod h1:Iz2dCTJOrKBjiwp6mt24m3hqLWkfVmg8ZvrhAQbgV9g= github.com/osbuild/images v0.174.0/go.mod h1:EbAEDP9JEbY9Ih12Cxb5ZYke8H09ljiyjDkq3f0fv28=
github.com/osbuild/osbuild-composer/pkg/splunk_logger v0.0.0-20240814102216-0239db53236d h1:r9BFPDv0uuA9k1947Jybcxs36c/pTywWS1gjeizvtcQ= github.com/osbuild/osbuild-composer/pkg/splunk_logger v0.0.0-20240814102216-0239db53236d h1:r9BFPDv0uuA9k1947Jybcxs36c/pTywWS1gjeizvtcQ=
github.com/osbuild/osbuild-composer/pkg/splunk_logger v0.0.0-20240814102216-0239db53236d/go.mod h1:zR1iu/hOuf+OQNJlk70tju9IqzzM4ycq0ectkFBm94U= github.com/osbuild/osbuild-composer/pkg/splunk_logger v0.0.0-20240814102216-0239db53236d/go.mod h1:zR1iu/hOuf+OQNJlk70tju9IqzzM4ycq0ectkFBm94U=
github.com/perimeterx/marshmallow v1.1.5 h1:a2LALqQ1BlHM8PZblsDdidgv1mWi1DgC2UmX50IvK2s= github.com/perimeterx/marshmallow v1.1.5 h1:a2LALqQ1BlHM8PZblsDdidgv1mWi1DgC2UmX50IvK2s=
@ -551,8 +549,6 @@ github.com/prometheus/common v0.65.0 h1:QDwzd+G1twt//Kwj/Ww6E9FQq1iVMmODnILtW1t2
github.com/prometheus/common v0.65.0/go.mod h1:0gZns+BLRQ3V6NdaerOhMbwwRbNh9hkGINtQAsP5GS8= github.com/prometheus/common v0.65.0/go.mod h1:0gZns+BLRQ3V6NdaerOhMbwwRbNh9hkGINtQAsP5GS8=
github.com/prometheus/procfs v0.16.1 h1:hZ15bTNuirocR6u0JZ6BAHHmwS1p8B4P6MRqxtzMyRg= github.com/prometheus/procfs v0.16.1 h1:hZ15bTNuirocR6u0JZ6BAHHmwS1p8B4P6MRqxtzMyRg=
github.com/prometheus/procfs v0.16.1/go.mod h1:teAbpZRB1iIAJYREa1LsoWUXykVXA1KlTmWl8x/U+Is= github.com/prometheus/procfs v0.16.1/go.mod h1:teAbpZRB1iIAJYREa1LsoWUXykVXA1KlTmWl8x/U+Is=
github.com/redis/go-redis/v9 v9.8.0 h1:q3nRvjrlge/6UD7eTu/DSg2uYiU2mCL0G/uzBWqhicI=
github.com/redis/go-redis/v9 v9.8.0/go.mod h1:huWgSWd8mW6+m0VPhJjSSQ+d6Nh1VICQ6Q5lHuCH/Iw=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ= github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
@ -714,8 +710,8 @@ golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDf
golang.org/x/crypto v0.20.0/go.mod h1:Xwo95rrVNIoSMx9wa1JroENMToLWn3RNVrTBpLHgZPQ= golang.org/x/crypto v0.20.0/go.mod h1:Xwo95rrVNIoSMx9wa1JroENMToLWn3RNVrTBpLHgZPQ=
golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8=
golang.org/x/crypto v0.30.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= golang.org/x/crypto v0.30.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk=
golang.org/x/crypto v0.40.0 h1:r4x+VvoG5Fm+eJcxMaY8CQM7Lb0l1lsmjGBQ6s8BfKM= golang.org/x/crypto v0.41.0 h1:WKYxWedPGCTVVl5+WHSSrOBT0O8lx32+zxmHxijgXp4=
golang.org/x/crypto v0.40.0/go.mod h1:Qr1vMER5WyS2dfPHAlsOj01wgLbsyWtFn/aY+5+ZdxY= golang.org/x/crypto v0.41.0/go.mod h1:pO5AFd7FA68rFak7rOAGVuygIISepHftHnr8dr6+sUc=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20250103183323-7d7fa50e5329 h1:9kj3STMvgqy3YA4VQXBrN7925ICMxD5wzMRcgA30588= golang.org/x/exp v0.0.0-20250103183323-7d7fa50e5329 h1:9kj3STMvgqy3YA4VQXBrN7925ICMxD5wzMRcgA30588=
golang.org/x/exp v0.0.0-20250103183323-7d7fa50e5329/go.mod h1:qj5a5QZpwLU2NLQudwIN5koi3beDhSAlJwa67PuM98c= golang.org/x/exp v0.0.0-20250103183323-7d7fa50e5329/go.mod h1:qj5a5QZpwLU2NLQudwIN5koi3beDhSAlJwa67PuM98c=
@ -732,8 +728,8 @@ golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/mod v0.26.0 h1:EGMPT//Ezu+ylkCijjPc+f4Aih7sZvaAr+O3EHBxvZg= golang.org/x/mod v0.27.0 h1:kb+q2PyFnEADO2IEF935ehFUXlWiNjJWtRNgBLSfbxQ=
golang.org/x/mod v0.26.0/go.mod h1:/j6NAhSk8iQ723BGAUyoAcn7SlD7s15Dp9Nd/SfeaFQ= golang.org/x/mod v0.27.0/go.mod h1:rWI627Fq0DEoudcK+MBkNkCe0EetEaDSwJJkCcjpazc=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
@ -755,8 +751,8 @@ golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk=
golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
golang.org/x/net v0.42.0 h1:jzkYrhi3YQWD6MLBJcsklgQsoAcw89EcZbJw8Z614hs= golang.org/x/net v0.43.0 h1:lat02VYK2j4aLzMzecihNvTlJNQUq316m2Mr9rnM6YE=
golang.org/x/net v0.42.0/go.mod h1:FF1RA5d3u7nAYA4z2TkclSCKh68eSXtiFwcWQpPXdt8= golang.org/x/net v0.43.0/go.mod h1:vhO1fvI4dGsIjh73sWfUVjj3N7CA9WkKJNQm2svM6Jg=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.30.0 h1:dnDm7JmhM45NNpd8FDDeLhK6FwqbOf4MLCM9zb1BOHI= golang.org/x/oauth2 v0.30.0 h1:dnDm7JmhM45NNpd8FDDeLhK6FwqbOf4MLCM9zb1BOHI=
golang.org/x/oauth2 v0.30.0/go.mod h1:B++QgG3ZKulg6sRPGD/mqlHQs5rB3Ml9erfeDY7xKlU= golang.org/x/oauth2 v0.30.0/go.mod h1:B++QgG3ZKulg6sRPGD/mqlHQs5rB3Ml9erfeDY7xKlU=
@ -807,8 +803,8 @@ golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.34.0 h1:H5Y5sJ2L2JRdyv7ROF1he/lPdvFsd0mJHFw2ThKHxLA= golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI=
golang.org/x/sys v0.34.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2/go.mod h1:TeRTkGYfJXctD9OcfyVLyj2J3IxLnKwHJR8f4D8a3YE= golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2/go.mod h1:TeRTkGYfJXctD9OcfyVLyj2J3IxLnKwHJR8f4D8a3YE=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= 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-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
@ -819,8 +815,8 @@ golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU=
golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk=
golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY=
golang.org/x/term v0.27.0/go.mod h1:iMsnZpn0cago0GOrHO2+Y7u7JPn5AylBrcoWkElMTSM= golang.org/x/term v0.27.0/go.mod h1:iMsnZpn0cago0GOrHO2+Y7u7JPn5AylBrcoWkElMTSM=
golang.org/x/term v0.33.0 h1:NuFncQrRcaRvVmgRkvM3j/F00gWIAlcmlB8ACEKmGIg= golang.org/x/term v0.34.0 h1:O/2T7POpk0ZZ7MAzMeWFSg6S5IpWd/RXDlM9hgM3DR4=
golang.org/x/term v0.33.0/go.mod h1:s18+ql9tYWp1IfpV9DmCtQDDSRBUjKaw9M1eAv5UeF0= golang.org/x/term v0.34.0/go.mod h1:5jC53AEywhIVebHgPVeg0mj8OD3VO9OzclacVrqpaAw=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
@ -833,8 +829,8 @@ golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ= golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ=
golang.org/x/text v0.27.0 h1:4fGWRpyh641NLlecmyl4LOe6yDdfaYNrGb2zdfo4JV4= golang.org/x/text v0.28.0 h1:rhazDwis8INMIwQ4tpjLDzUhx6RlXqZNPEM0huQojng=
golang.org/x/text v0.27.0/go.mod h1:1D28KMCvyooCX9hBiosv5Tz/+YLxj0j7XhWjpSUF7CU= golang.org/x/text v0.28.0/go.mod h1:U8nCwOR8jO/marOQ0QbDiOngZVEBB7MAiitBuMjXiNU=
golang.org/x/time v0.12.0 h1:ScB/8o8olJvc+CQPWrK3fPZNfh7qgwCrY0zJmoEQLSE= golang.org/x/time v0.12.0 h1:ScB/8o8olJvc+CQPWrK3fPZNfh7qgwCrY0zJmoEQLSE=
golang.org/x/time v0.12.0/go.mod h1:CDIdPxbZBQxdj6cxyCIdrNogrJKMJ7pr37NYpMcMDSg= golang.org/x/time v0.12.0/go.mod h1:CDIdPxbZBQxdj6cxyCIdrNogrJKMJ7pr37NYpMcMDSg=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
@ -856,8 +852,8 @@ golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc
golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58=
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
golang.org/x/tools v0.35.0 h1:mBffYraMEf7aa0sB+NuKnuCy8qI/9Bughn8dC2Gu5r0= golang.org/x/tools v0.36.0 h1:kWS0uv/zsvHEle1LbV5LE8QujrxB3wfQyxHfhOk0Qkg=
golang.org/x/tools v0.35.0/go.mod h1:NKdj5HkL/73byiZSJjqJgKn3ep7KjFkBOkR/Hps3VPw= golang.org/x/tools v0.36.0/go.mod h1:WBDiHKJK8YgLHlcQPYQzNCkUxUypCaa5ZegCVutKm+s=
golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

View file

@ -8,7 +8,7 @@
%bcond_with relax_requires %bcond_with relax_requires
# The minimum required osbuild version # The minimum required osbuild version
%global min_osbuild_version 156 %global min_osbuild_version 157
%global goipath github.com/osbuild/osbuild-composer %global goipath github.com/osbuild/osbuild-composer

View file

@ -1,5 +1,11 @@
# Release History # Release History
## 1.18.2 (2025-07-31)
### Bugs Fixed
* Fixed a case in which `BearerTokenPolicy` didn't ensure an authentication error is non-retriable
## 1.18.1 (2025-07-10) ## 1.18.1 (2025-07-10)
### Bugs Fixed ### Bugs Fixed

View file

@ -40,5 +40,5 @@ const (
Module = "azcore" Module = "azcore"
// Version is the semantic version (see http://semver.org) of this module. // Version is the semantic version (see http://semver.org) of this module.
Version = "v1.18.1" Version = "v1.18.2"
) )

View file

@ -97,7 +97,9 @@ func (b *BearerTokenPolicy) authenticateAndAuthorize(req *policy.Request) func(p
as := acquiringResourceState{p: b, req: req, tro: tro} as := acquiringResourceState{p: b, req: req, tro: tro}
tk, err := b.mainResource.Get(as) tk, err := b.mainResource.Get(as)
if err != nil { if err != nil {
return err // consider this error non-retriable because if it could be resolved by
// retrying authentication, the credential would have done so already
return errorinfo.NonRetriableError(err)
} }
req.Raw().Header.Set(shared.HeaderAuthorization, shared.BearerTokenPrefix+tk.Token) req.Raw().Header.Set(shared.HeaderAuthorization, shared.BearerTokenPrefix+tk.Token)
return nil return nil

View file

@ -1,5 +1,23 @@
# Release History # Release History
## 1.11.0 (2025-08-05)
### Other Changes
- `DefaultAzureCredential` tries its next credential when a dev tool credential such as
`AzureCLICredential` returns an error
## 1.11.0-beta.1 (2025-07-15)
### Features Added
- `DefaultAzureCredential` allows selecting one of its credential types by name via environment variable
`AZURE_TOKEN_CREDENTIALS`. It will use only the selected type at runtime. For example, set
`AZURE_TOKEN_CREDENTIALS=WorkloadIdentityCredential` to have `DefaultAzureCredential` use only
`WorkloadIdentityCredential`.
### Other Changes
- By default, `ManagedIdentityCredential` retries IMDS requests for a maximum of ~70 seconds as recommended
in IMDS documentation. In previous versions, it would stop retrying after ~54 seconds by default.
## 1.10.1 (2025-06-10) ## 1.10.1 (2025-06-10)
### Bugs Fixed ### Bugs Fixed

View file

@ -86,6 +86,7 @@ azlog.SetEvents(azidentity.EventAuthentication)
|"DefaultAzureCredential failed to acquire a token"|No credential in the `DefaultAzureCredential` chain provided a token|<ul><li>[Enable logging](#enable-and-configure-logging) to get further diagnostic information.</li><li>Consult the troubleshooting guide for underlying credential types for more information.</li><ul><li>[EnvironmentCredential](#troubleshoot-environmentcredential-authentication-issues)</li><li>[ManagedIdentityCredential](#troubleshoot-managedidentitycredential-authentication-issues)</li><li>[AzureCLICredential](#troubleshoot-azureclicredential-authentication-issues)</li></ul>| |"DefaultAzureCredential failed to acquire a token"|No credential in the `DefaultAzureCredential` chain provided a token|<ul><li>[Enable logging](#enable-and-configure-logging) to get further diagnostic information.</li><li>Consult the troubleshooting guide for underlying credential types for more information.</li><ul><li>[EnvironmentCredential](#troubleshoot-environmentcredential-authentication-issues)</li><li>[ManagedIdentityCredential](#troubleshoot-managedidentitycredential-authentication-issues)</li><li>[AzureCLICredential](#troubleshoot-azureclicredential-authentication-issues)</li></ul>|
|Error from the client with a status code of 401 or 403|Authentication succeeded but the authorizing Azure service responded with a 401 (Unauthorized), or 403 (Forbidden) status code|<ul><li>[Enable logging](#enable-and-configure-logging) to determine which credential in the chain returned the authenticating token.</li><li>If an unexpected credential is returning a token, check application configuration such as environment variables.</li><li>Ensure the correct role is assigned to the authenticated identity. For example, a service specific role rather than the subscription Owner role.</li></ul>| |Error from the client with a status code of 401 or 403|Authentication succeeded but the authorizing Azure service responded with a 401 (Unauthorized), or 403 (Forbidden) status code|<ul><li>[Enable logging](#enable-and-configure-logging) to determine which credential in the chain returned the authenticating token.</li><li>If an unexpected credential is returning a token, check application configuration such as environment variables.</li><li>Ensure the correct role is assigned to the authenticated identity. For example, a service specific role rather than the subscription Owner role.</li></ul>|
|"managed identity timed out"|`DefaultAzureCredential` sets a short timeout on its first managed identity authentication attempt to prevent very long timeouts during local development when no managed identity is available. That timeout causes this error in production when an application requests a token before the hosting environment is ready to provide one.|Use [ManagedIdentityCredential](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity#ManagedIdentityCredential) directly, at least in production. It doesn't set a timeout on its authentication attempts.| |"managed identity timed out"|`DefaultAzureCredential` sets a short timeout on its first managed identity authentication attempt to prevent very long timeouts during local development when no managed identity is available. That timeout causes this error in production when an application requests a token before the hosting environment is ready to provide one.|Use [ManagedIdentityCredential](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity#ManagedIdentityCredential) directly, at least in production. It doesn't set a timeout on its authentication attempts.|
|invalid AZURE_TOKEN_CREDENTIALS value "..."|AZURE_TOKEN_CREDENTIALS has an unexpected value|Specify a valid value as described in [DefaultAzureCredential documentation](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity#DefaultAzureCredential)
## Troubleshoot EnvironmentCredential authentication issues ## Troubleshoot EnvironmentCredential authentication issues

View file

@ -43,4 +43,4 @@ extends:
Selection: sparse Selection: sparse
MatrixReplace: MatrixReplace:
- Pool=.*LINUXPOOL.*/azsdk-pool-mms-ubuntu-2204-identitymsi - Pool=.*LINUXPOOL.*/azsdk-pool-mms-ubuntu-2204-identitymsi
- OSVmImage=.*LINUXNEXTVMIMAGE.*/azsdk-pool-mms-ubuntu-2204-1espt - OSVmImage=.*LINUXVMIMAGE.*/azsdk-pool-mms-ubuntu-2204-1espt

View file

@ -19,6 +19,15 @@ import (
const azureTokenCredentials = "AZURE_TOKEN_CREDENTIALS" const azureTokenCredentials = "AZURE_TOKEN_CREDENTIALS"
// bit flags NewDefaultAzureCredential uses to parse AZURE_TOKEN_CREDENTIALS
const (
env = uint8(1) << iota
workloadIdentity
managedIdentity
az
azd
)
// DefaultAzureCredentialOptions contains optional parameters for DefaultAzureCredential. // DefaultAzureCredentialOptions contains optional parameters for DefaultAzureCredential.
// These options may not apply to all credentials in the chain. // These options may not apply to all credentials in the chain.
type DefaultAzureCredentialOptions struct { type DefaultAzureCredentialOptions struct {
@ -63,6 +72,16 @@ type DefaultAzureCredentialOptions struct {
// Once a credential has successfully authenticated, DefaultAzureCredential will use that credential for // Once a credential has successfully authenticated, DefaultAzureCredential will use that credential for
// every subsequent authentication. // every subsequent authentication.
// //
// # Selecting credentials
//
// Set environment variable AZURE_TOKEN_CREDENTIALS to select a subset of the credential chain described above.
// DefaultAzureCredential will try only the specified credential(s), but its other behavior remains the same.
// Valid values for AZURE_TOKEN_CREDENTIALS are the name of any single type in the above chain, for example
// "EnvironmentCredential" or "AzureCLICredential", and these special values:
//
// - "dev": try [AzureCLICredential] and [AzureDeveloperCLICredential], in that order
// - "prod": try [EnvironmentCredential], [WorkloadIdentityCredential], and [ManagedIdentityCredential], in that order
//
// [DefaultAzureCredential overview]: https://aka.ms/azsdk/go/identity/credential-chains#defaultazurecredential-overview // [DefaultAzureCredential overview]: https://aka.ms/azsdk/go/identity/credential-chains#defaultazurecredential-overview
type DefaultAzureCredential struct { type DefaultAzureCredential struct {
chain *ChainedTokenCredential chain *ChainedTokenCredential
@ -73,17 +92,27 @@ func NewDefaultAzureCredential(options *DefaultAzureCredentialOptions) (*Default
var ( var (
creds []azcore.TokenCredential creds []azcore.TokenCredential
errorMessages []string errorMessages []string
includeDev, includeProd = true, true selected = env | workloadIdentity | managedIdentity | az | azd
) )
if c, ok := os.LookupEnv(azureTokenCredentials); ok { if atc, ok := os.LookupEnv(azureTokenCredentials); ok {
switch c { switch {
case "dev": case atc == "dev":
includeProd = false selected = az | azd
case "prod": case atc == "prod":
includeDev = false selected = env | workloadIdentity | managedIdentity
case strings.EqualFold(atc, credNameEnvironment):
selected = env
case strings.EqualFold(atc, credNameWorkloadIdentity):
selected = workloadIdentity
case strings.EqualFold(atc, credNameManagedIdentity):
selected = managedIdentity
case strings.EqualFold(atc, credNameAzureCLI):
selected = az
case strings.EqualFold(atc, credNameAzureDeveloperCLI):
selected = azd
default: default:
return nil, fmt.Errorf(`invalid %s value %q. Valid values are "dev" and "prod"`, azureTokenCredentials, c) return nil, fmt.Errorf(`invalid %s value %q. Valid values are "dev", "prod", or the name of any credential type in the default chain. See https://aka.ms/azsdk/go/identity/docs#DefaultAzureCredential for more information`, azureTokenCredentials, atc)
} }
} }
@ -96,8 +125,7 @@ func NewDefaultAzureCredential(options *DefaultAzureCredentialOptions) (*Default
additionalTenants = strings.Split(tenants, ";") additionalTenants = strings.Split(tenants, ";")
} }
} }
if selected&env != 0 {
if includeProd {
envCred, err := NewEnvironmentCredential(&EnvironmentCredentialOptions{ envCred, err := NewEnvironmentCredential(&EnvironmentCredentialOptions{
ClientOptions: options.ClientOptions, ClientOptions: options.ClientOptions,
DisableInstanceDiscovery: options.DisableInstanceDiscovery, DisableInstanceDiscovery: options.DisableInstanceDiscovery,
@ -107,9 +135,10 @@ func NewDefaultAzureCredential(options *DefaultAzureCredentialOptions) (*Default
creds = append(creds, envCred) creds = append(creds, envCred)
} else { } else {
errorMessages = append(errorMessages, "EnvironmentCredential: "+err.Error()) errorMessages = append(errorMessages, "EnvironmentCredential: "+err.Error())
creds = append(creds, &defaultCredentialErrorReporter{credType: "EnvironmentCredential", err: err}) creds = append(creds, &defaultCredentialErrorReporter{credType: credNameEnvironment, err: err})
} }
}
if selected&workloadIdentity != 0 {
wic, err := NewWorkloadIdentityCredential(&WorkloadIdentityCredentialOptions{ wic, err := NewWorkloadIdentityCredential(&WorkloadIdentityCredentialOptions{
AdditionallyAllowedTenants: additionalTenants, AdditionallyAllowedTenants: additionalTenants,
ClientOptions: options.ClientOptions, ClientOptions: options.ClientOptions,
@ -122,7 +151,8 @@ func NewDefaultAzureCredential(options *DefaultAzureCredentialOptions) (*Default
errorMessages = append(errorMessages, credNameWorkloadIdentity+": "+err.Error()) errorMessages = append(errorMessages, credNameWorkloadIdentity+": "+err.Error())
creds = append(creds, &defaultCredentialErrorReporter{credType: credNameWorkloadIdentity, err: err}) creds = append(creds, &defaultCredentialErrorReporter{credType: credNameWorkloadIdentity, err: err})
} }
}
if selected&managedIdentity != 0 {
o := &ManagedIdentityCredentialOptions{ClientOptions: options.ClientOptions, dac: true} o := &ManagedIdentityCredentialOptions{ClientOptions: options.ClientOptions, dac: true}
if ID, ok := os.LookupEnv(azureClientID); ok { if ID, ok := os.LookupEnv(azureClientID); ok {
o.ID = ClientID(ID) o.ID = ClientID(ID)
@ -135,18 +165,24 @@ func NewDefaultAzureCredential(options *DefaultAzureCredentialOptions) (*Default
creds = append(creds, &defaultCredentialErrorReporter{credType: credNameManagedIdentity, err: err}) creds = append(creds, &defaultCredentialErrorReporter{credType: credNameManagedIdentity, err: err})
} }
} }
if includeDev { if selected&az != 0 {
azCred, err := NewAzureCLICredential(&AzureCLICredentialOptions{AdditionallyAllowedTenants: additionalTenants, TenantID: options.TenantID}) azCred, err := NewAzureCLICredential(&AzureCLICredentialOptions{
AdditionallyAllowedTenants: additionalTenants,
TenantID: options.TenantID,
inDefaultChain: true,
})
if err == nil { if err == nil {
creds = append(creds, azCred) creds = append(creds, azCred)
} else { } else {
errorMessages = append(errorMessages, credNameAzureCLI+": "+err.Error()) errorMessages = append(errorMessages, credNameAzureCLI+": "+err.Error())
creds = append(creds, &defaultCredentialErrorReporter{credType: credNameAzureCLI, err: err}) creds = append(creds, &defaultCredentialErrorReporter{credType: credNameAzureCLI, err: err})
} }
}
if selected&azd != 0 {
azdCred, err := NewAzureDeveloperCLICredential(&AzureDeveloperCLICredentialOptions{ azdCred, err := NewAzureDeveloperCLICredential(&AzureDeveloperCLICredentialOptions{
AdditionallyAllowedTenants: additionalTenants, AdditionallyAllowedTenants: additionalTenants,
TenantID: options.TenantID, TenantID: options.TenantID,
inDefaultChain: true,
}) })
if err == nil { if err == nil {
creds = append(creds, azdCred) creds = append(creds, azdCred)

View file

@ -18,7 +18,10 @@ import (
"github.com/Azure/azure-sdk-for-go/sdk/internal/log" "github.com/Azure/azure-sdk-for-go/sdk/internal/log"
) )
const envVarSendCertChain = "AZURE_CLIENT_SEND_CERTIFICATE_CHAIN" const (
credNameEnvironment = "EnvironmentCredential"
envVarSendCertChain = "AZURE_CLIENT_SEND_CERTIFICATE_CHAIN"
)
// EnvironmentCredentialOptions contains optional parameters for EnvironmentCredential // EnvironmentCredentialOptions contains optional parameters for EnvironmentCredential
type EnvironmentCredentialOptions struct { type EnvironmentCredentialOptions struct {

View file

@ -4,7 +4,7 @@
"Agent": { "Agent": {
"msi_image": { "msi_image": {
"ArmTemplateParameters": "@{deployResources = $true}", "ArmTemplateParameters": "@{deployResources = $true}",
"OSVmImage": "env:LINUXNEXTVMIMAGE", "OSVmImage": "env:LINUXVMIMAGE",
"Pool": "env:LINUXPOOL" "Pool": "env:LINUXPOOL"
} }
}, },

View file

@ -54,10 +54,10 @@ type managedIdentityClient struct {
// setIMDSRetryOptionDefaults sets zero-valued fields to default values appropriate for IMDS // setIMDSRetryOptionDefaults sets zero-valued fields to default values appropriate for IMDS
func setIMDSRetryOptionDefaults(o *policy.RetryOptions) { func setIMDSRetryOptionDefaults(o *policy.RetryOptions) {
if o.MaxRetries == 0 { if o.MaxRetries == 0 {
o.MaxRetries = 5 o.MaxRetries = 6
} }
if o.MaxRetryDelay == 0 { if o.MaxRetryDelay == 0 {
o.MaxRetryDelay = 1 * time.Minute o.MaxRetryDelay = 25 * time.Second
} }
if o.RetryDelay == 0 { if o.RetryDelay == 0 {
o.RetryDelay = 2 * time.Second o.RetryDelay = 2 * time.Second

View file

@ -100,7 +100,7 @@ $idName = $DeploymentOutputs['AZIDENTITY_USER_ASSIGNED_IDENTITY_NAME']
$issuer = az aks show -g $rg -n $aksName --query "oidcIssuerProfile.issuerUrl" -otsv $issuer = az aks show -g $rg -n $aksName --query "oidcIssuerProfile.issuerUrl" -otsv
$podName = "azidentity-test" $podName = "azidentity-test"
$serviceAccountName = "workload-identity-sa" $serviceAccountName = "workload-identity-sa"
az identity federated-credential create -g $rg --identity-name $idName --issuer $issuer --name $idName --subject system:serviceaccount:default:$serviceAccountName az identity federated-credential create -g $rg --identity-name $idName --issuer $issuer --name $idName --subject system:serviceaccount:default:$serviceAccountName --audiences api://AzureADTokenExchange
Write-Host "Deploying to AKS" Write-Host "Deploying to AKS"
az aks get-credentials -g $rg -n $aksName az aks get-credentials -g $rg -n $aksName
az aks update --attach-acr $DeploymentOutputs['AZIDENTITY_ACR_NAME'] -g $rg -n $aksName az aks update --attach-acr $DeploymentOutputs['AZIDENTITY_ACR_NAME'] -g $rg -n $aksName

View file

@ -14,5 +14,5 @@ const (
module = "github.com/Azure/azure-sdk-for-go/sdk/" + component module = "github.com/Azure/azure-sdk-for-go/sdk/" + component
// Version is the semantic version (see http://semver.org) of this module. // Version is the semantic version (see http://semver.org) of this module.
version = "v1.10.1" version = "v1.11.0"
) )

View file

@ -6,6 +6,8 @@
package errorinfo package errorinfo
import "errors"
// NonRetriable represents a non-transient error. This works in // NonRetriable represents a non-transient error. This works in
// conjunction with the retry policy, indicating that the error condition // conjunction with the retry policy, indicating that the error condition
// is idempotent, so no retries will be attempted. // is idempotent, so no retries will be attempted.
@ -15,10 +17,14 @@ type NonRetriable interface {
NonRetriable() NonRetriable()
} }
// NonRetriableError marks the specified error as non-retriable. // NonRetriableError ensures the specified error is [NonRetriable]. If
// This function takes an error as input and returns a new error that is marked as non-retriable. // the error is already [NonRetriable], it returns that error unchanged.
// Otherwise, it returns a new, [NonRetriable] error.
func NonRetriableError(err error) error { func NonRetriableError(err error) error {
return &nonRetriableError{err} if !errors.As(err, new(NonRetriable)) {
err = &nonRetriableError{err}
}
return err
} }
// nonRetriableError is a struct that embeds the error interface. // nonRetriableError is a struct that embeds the error interface.

View file

@ -8,7 +8,7 @@ const (
// VersionMinor is for functionality in a backwards-compatible manner // VersionMinor is for functionality in a backwards-compatible manner
VersionMinor = 36 VersionMinor = 36
// VersionPatch is for backwards-compatible bug fixes // VersionPatch is for backwards-compatible bug fixes
VersionPatch = 0 VersionPatch = 1
// VersionDev indicates development branch. Releases will be empty string. // VersionDev indicates development branch. Releases will be empty string.
VersionDev = "" VersionDev = ""

View file

@ -1 +1 @@
1.59.0 1.59.1

View file

@ -697,7 +697,10 @@ func (ta *tarWriter) addFile(headers *addFileData) error {
} }
if !headers.fi.IsDir() && hasHardlinks(headers.fi) { if !headers.fi.IsDir() && hasHardlinks(headers.fi) {
ta.SeenFiles[getInodeFromStat(headers.fi.Sys())] = headers.hdr.Name ino := getInodeFromStat(headers.fi.Sys())
if _, seen := ta.SeenFiles[ino]; !seen {
ta.SeenFiles[ino] = headers.hdr.Name
}
} }
return nil return nil

View file

@ -2,6 +2,7 @@ package jwt
import ( import (
"errors" "errors"
"fmt"
"strings" "strings"
) )
@ -47,3 +48,42 @@ func joinErrors(errs ...error) error {
errs: errs, errs: errs,
} }
} }
// Unwrap implements the multiple error unwrapping for this error type, which is
// possible in Go 1.20.
func (je joinedError) Unwrap() []error {
return je.errs
}
// newError creates a new error message with a detailed error message. The
// message will be prefixed with the contents of the supplied error type.
// Additionally, more errors, that provide more context can be supplied which
// will be appended to the message. This makes use of Go 1.20's possibility to
// include more than one %w formatting directive in [fmt.Errorf].
//
// For example,
//
// newError("no keyfunc was provided", ErrTokenUnverifiable)
//
// will produce the error string
//
// "token is unverifiable: no keyfunc was provided"
func newError(message string, err error, more ...error) error {
var format string
var args []any
if message != "" {
format = "%w: %s"
args = []any{err, message}
} else {
format = "%w"
args = []any{err}
}
for _, e := range more {
format += ": %w"
args = append(args, e)
}
err = fmt.Errorf(format, args...)
return err
}

View file

@ -1,47 +0,0 @@
//go:build go1.20
// +build go1.20
package jwt
import (
"fmt"
)
// Unwrap implements the multiple error unwrapping for this error type, which is
// possible in Go 1.20.
func (je joinedError) Unwrap() []error {
return je.errs
}
// newError creates a new error message with a detailed error message. The
// message will be prefixed with the contents of the supplied error type.
// Additionally, more errors, that provide more context can be supplied which
// will be appended to the message. This makes use of Go 1.20's possibility to
// include more than one %w formatting directive in [fmt.Errorf].
//
// For example,
//
// newError("no keyfunc was provided", ErrTokenUnverifiable)
//
// will produce the error string
//
// "token is unverifiable: no keyfunc was provided"
func newError(message string, err error, more ...error) error {
var format string
var args []any
if message != "" {
format = "%w: %s"
args = []any{err, message}
} else {
format = "%w"
args = []any{err}
}
for _, e := range more {
format += ": %w"
args = append(args, e)
}
err = fmt.Errorf(format, args...)
return err
}

View file

@ -1,78 +0,0 @@
//go:build !go1.20
// +build !go1.20
package jwt
import (
"errors"
"fmt"
)
// Is implements checking for multiple errors using [errors.Is], since multiple
// error unwrapping is not possible in versions less than Go 1.20.
func (je joinedError) Is(err error) bool {
for _, e := range je.errs {
if errors.Is(e, err) {
return true
}
}
return false
}
// wrappedErrors is a workaround for wrapping multiple errors in environments
// where Go 1.20 is not available. It basically uses the already implemented
// functionality of joinedError to handle multiple errors with supplies a
// custom error message that is identical to the one we produce in Go 1.20 using
// multiple %w directives.
type wrappedErrors struct {
msg string
joinedError
}
// Error returns the stored error string
func (we wrappedErrors) Error() string {
return we.msg
}
// newError creates a new error message with a detailed error message. The
// message will be prefixed with the contents of the supplied error type.
// Additionally, more errors, that provide more context can be supplied which
// will be appended to the message. Since we cannot use of Go 1.20's possibility
// to include more than one %w formatting directive in [fmt.Errorf], we have to
// emulate that.
//
// For example,
//
// newError("no keyfunc was provided", ErrTokenUnverifiable)
//
// will produce the error string
//
// "token is unverifiable: no keyfunc was provided"
func newError(message string, err error, more ...error) error {
// We cannot wrap multiple errors here with %w, so we have to be a little
// bit creative. Basically, we are using %s instead of %w to produce the
// same error message and then throw the result into a custom error struct.
var format string
var args []any
if message != "" {
format = "%s: %s"
args = []any{err, message}
} else {
format = "%s"
args = []any{err}
}
errs := []error{err}
for _, e := range more {
format += ": %s"
args = append(args, e)
errs = append(errs, e)
}
err = &wrappedErrors{
msg: fmt.Sprintf(format, args...),
joinedError: joinedError{errs: errs},
}
return err
}

View file

@ -1,6 +1,3 @@
//go:build go1.4
// +build go1.4
package jwt package jwt
import ( import (

View file

@ -1 +1 @@
156 157

View file

@ -169,9 +169,13 @@
installer_config: &default_installer_config installer_config: &default_installer_config
additional_anaconda_modules: &install_config_additional_anaconda_modules enabled_anaconda_modules: &install_config_enabled_anaconda_modules
- "org.fedoraproject.Anaconda.Modules.Timezone"
- "org.fedoraproject.Anaconda.Modules.Localization" - "org.fedoraproject.Anaconda.Modules.Localization"
- "org.fedoraproject.Anaconda.Modules.Network"
- "org.fedoraproject.Anaconda.Modules.Payloads"
- "org.fedoraproject.Anaconda.Modules.Runtime"
- "org.fedoraproject.Anaconda.Modules.Storage"
- "org.fedoraproject.Anaconda.Modules.Timezone"
- "org.fedoraproject.Anaconda.Modules.Users" - "org.fedoraproject.Anaconda.Modules.Users"
additional_dracut_modules: additional_dracut_modules:
- "net-lib" - "net-lib"
@ -604,7 +608,7 @@ image_types:
image_format: "vagrant_virtualbox" image_format: "vagrant_virtualbox"
"server-qcow2": &server_qcow2 "server-qcow2": &server_qcow2
name_aliases: ["qcow2"] name_aliases: ["qcow2", "guest-image"]
filename: "disk.qcow2" filename: "disk.qcow2"
mime_type: "application/x-qemu-disk" mime_type: "application/x-qemu-disk"
environment: *kvm_env environment: *kvm_env
@ -650,7 +654,7 @@ image_types:
"server-ami": "server-ami":
<<: *server_qcow2 <<: *server_qcow2
name_aliases: ["ami"] name_aliases: ["ami", "aws"]
filename: "image.raw" filename: "image.raw"
mime_type: "application/octet-stream" mime_type: "application/octet-stream"
payload_pipelines: ["os", "image"] payload_pipelines: ["os", "image"]
@ -684,7 +688,7 @@ image_types:
"server-vhd": "server-vhd":
<<: *server_qcow2 <<: *server_qcow2
name_aliases: ["vhd"] name_aliases: ["vhd", "azure"]
filename: "disk.vhd" filename: "disk.vhd"
mime_type: "application/x-vhd" mime_type: "application/x-vhd"
payload_pipelines: ["os", "image", "vpc"] payload_pipelines: ["os", "image", "vpc"]
@ -708,7 +712,7 @@ image_types:
- "WALinuxAgent" - "WALinuxAgent"
"server-vmdk": &server_vmdk "server-vmdk": &server_vmdk
name_aliases: ["vmdk"] name_aliases: ["vmdk", "vsphere"]
filename: "disk.vmdk" filename: "disk.vmdk"
mime_type: "application/x-vmdk" mime_type: "application/x-vmdk"
bootable: true bootable: true
@ -761,7 +765,7 @@ image_types:
"server-ova": "server-ova":
<<: *server_vmdk <<: *server_vmdk
name_aliases: ["ova"] name_aliases: ["ova", "vsphere-ova"]
filename: "image.ova" filename: "image.ova"
mime_type: "application/ovf" mime_type: "application/ovf"
payload_pipelines: ["os", "image", "vmdk", "ovf", "archive"] payload_pipelines: ["os", "image", "vmdk", "ovf", "archive"]
@ -1633,10 +1637,7 @@ image_types:
exports: ["bootiso"] exports: ["bootiso"]
required_partition_sizes: *default_required_dir_sizes required_partition_sizes: *default_required_dir_sizes
installer_config: installer_config:
additional_dracut_modules: <<: *default_installer_config
- "net-lib"
- "dbus-broker"
squashfs_rootfs: true
# NOTE: this is not supported right now because the # NOTE: this is not supported right now because the
# image-installer on Fedora isn't working when unattended. # image-installer on Fedora isn't working when unattended.
# These options are probably necessary but could change. # These options are probably necessary but could change.
@ -1645,20 +1646,14 @@ image_types:
kickstart_unattended_extra_kernel_opts: kickstart_unattended_extra_kernel_opts:
- "inst.text" - "inst.text"
- "inst.noninteractive" - "inst.noninteractive"
conditions: # NOTE the minimal installer uses a different set of enabled modules
"on f40 we use ifcfg instead of net-lib": # but the why is unclear
when: enabled_anaconda_modules:
version_equal: "40" - "org.fedoraproject.Anaconda.Modules.Network"
shallow_merge: - "org.fedoraproject.Anaconda.Modules.Payloads"
additional_dracut_modules: &additional_dracut_f40 - "org.fedoraproject.Anaconda.Modules.Runtime"
- "ifcfg" - "org.fedoraproject.Anaconda.Modules.Storage"
- "dbus-broker" - "org.fedoraproject.Anaconda.Modules.Users"
squashfs_rootfs: false
"on f41 use squashfs_rootfs":
when:
version_equal: "41"
shallow_merge:
additional_dracut_modules: *additional_dracut_f40
image_config: image_config:
locale: "en_US.UTF-8" locale: "en_US.UTF-8"
iso_rootfs_type: "squashfs" iso_rootfs_type: "squashfs"
@ -1875,8 +1870,7 @@ image_types:
- "bootiso" - "bootiso"
exports: ["bootiso"] exports: ["bootiso"]
required_partition_sizes: *default_required_dir_sizes required_partition_sizes: *default_required_dir_sizes
installer_config: installer_config: *default_installer_config
<<: *default_installer_config
image_config: image_config:
<<: *image_config_iot <<: *image_config_iot
ignition_platform: "metal" ignition_platform: "metal"

View file

@ -123,6 +123,21 @@
zipl: zipl:
- "s390utils-base" - "s390utils-base"
installer_config: &default_installer_config
enabled_anaconda_modules: &install_config_enabled_anaconda_modules
- "org.fedoraproject.Anaconda.Modules.Network"
- "org.fedoraproject.Anaconda.Modules.Payloads"
- "org.fedoraproject.Anaconda.Modules.Runtime"
- "org.fedoraproject.Anaconda.Modules.Storage"
additional_dracut_modules:
- "nvdimm" # non-volatile DIMM firmware (provides nfit, cuse, and nd_e820)
- "net-lib"
additional_drivers:
- "ipmi_devintf"
- "ipmi_msghandler"
# see commit c6bfb22f54, controls the kickstart location
iso_root_kickstart: true
sapapps_image_config: &sapapps_image_config sapapps_image_config: &sapapps_image_config
selinux_config: selinux_config:
state: "permissive" state: "permissive"
@ -730,6 +745,7 @@ image_types:
- "subscription-manager-cockpit" - "subscription-manager-cockpit"
qcow2: &qcow2 qcow2: &qcow2
name_aliases: ["guest-image"]
filename: "disk.qcow2" filename: "disk.qcow2"
mime_type: "application/x-qemu-disk" mime_type: "application/x-qemu-disk"
# note that unlike fedora rhel does not use the environment.KVM # note that unlike fedora rhel does not use the environment.KVM
@ -838,6 +854,9 @@ image_types:
"vagrant-libvirt": &vagrant_libvirt "vagrant-libvirt": &vagrant_libvirt
<<: *qcow2 <<: *qcow2
# we have to reset the aliases otherwise this type
# will inherit the name aliases causing a conflict
name_aliases: []
filename: "vagrant-libvirt.box" filename: "vagrant-libvirt.box"
mime_type: "application/x-tar" mime_type: "application/x-tar"
bootable: true bootable: true
@ -878,12 +897,18 @@ image_types:
oci: oci:
<<: *qcow2 <<: *qcow2
# we have to reset the aliases otherwise this type
# will inherit the name aliases causing a conflict
name_aliases: []
platforms: platforms:
- <<: *x86_64_bios_platform - <<: *x86_64_bios_platform
image_format: "qcow2" image_format: "qcow2"
vhd: &vhd vhd: &vhd
<<: *qcow2 <<: *qcow2
# we have to reset the aliases otherwise this type
# will inherit the name aliases causing a conflict
name_aliases: []
filename: "disk.vhd" filename: "disk.vhd"
mime_type: "application/x-vhd" mime_type: "application/x-vhd"
default_size: 4_294_967_296 # 4 * datasizes.GibiByte default_size: 4_294_967_296 # 4 * datasizes.GibiByte
@ -1153,6 +1178,7 @@ image_types:
- arch: "s390x" - arch: "s390x"
vmdk: &vmdk vmdk: &vmdk
name_aliases: ["vshpere"]
filename: "disk.vmdk" filename: "disk.vmdk"
mime_type: "application/x-vmdk" mime_type: "application/x-vmdk"
bootable: true bootable: true
@ -1186,6 +1212,7 @@ image_types:
ova: ova:
<<: *vmdk <<: *vmdk
name_aliases: ["vsphere-ova"]
filename: "image.ova" filename: "image.ova"
mime_type: "application/ovf" mime_type: "application/ovf"
payload_pipelines: ["os", "image", "vmdk", "ovf", "archive"] payload_pipelines: ["os", "image", "vmdk", "ovf", "archive"]
@ -1195,6 +1222,7 @@ image_types:
image_format: "ova" image_format: "ova"
ami: &ami ami: &ami
name_aliases: ['aws']
filename: "image.raw" filename: "image.raw"
mime_type: "application/octet-stream" mime_type: "application/octet-stream"
image_func: "disk" image_func: "disk"
@ -1376,6 +1404,9 @@ image_types:
# RHEL internal-only x86_64 EC2 image type # RHEL internal-only x86_64 EC2 image type
ec2: &ec2 ec2: &ec2
<<: *ami <<: *ami
# we have to reset the aliases otherwise this type
# will inherit the name aliases causing a conflict
name_aliases: []
payload_pipelines: ["os", "image", "xz"] payload_pipelines: ["os", "image", "xz"]
exports: ["xz"] exports: ["xz"]
filename: "image.raw.xz" filename: "image.raw.xz"
@ -1581,18 +1612,20 @@ image_types:
arch: "x86_64" arch: "x86_64"
shallow_merge: shallow_merge:
iso_boot_type: "grub2" iso_boot_type: "grub2"
installer_config: installer_config: *default_installer_config
additional_dracut_modules:
- "nvdimm" # non-volatile DIMM firmware (provides nfit, cuse, and nd_e820)
- "net-lib"
additional_drivers:
- "ipmi_devintf"
- "ipmi_msghandler"
# see commit c6bfb22f54, controls the kickstart location
iso_root_kickstart: true
platforms: platforms:
- *x86_64_installer_platform - *x86_64_installer_platform
- *aarch64_platform - *aarch64_platform
platforms_override:
conditions:
"RHEL 10.1+ adds FIPS menu":
when:
version_greater_or_equal: "10.1"
override:
- <<: *x86_64_installer_platform
fips_menu: true
- <<: *aarch64_platform
fips_menu: true
package_sets: package_sets:
<<: *bare_metal_pkgset <<: *bare_metal_pkgset
installer: installer:
@ -1725,6 +1758,9 @@ image_types:
- "dmidecode" - "dmidecode"
gce: gce:
# this image type is set to `gcp` in image-builder-crc
# & `osbuild-composer`, so set the alias here
name_aliases: ["gcp"]
filename: "image.tar.gz" filename: "image.tar.gz"
mime_type: "application/gzip" mime_type: "application/gzip"
image_func: "disk" image_func: "disk"
@ -1983,6 +2019,7 @@ image_types:
- "redhat-release" - "redhat-release"
- "tpm2-tools" - "tpm2-tools"
- "WALinuxAgent" - "WALinuxAgent"
- "yum-utils"
- exclude: - exclude:
- "dracut-config-rescue" - "dracut-config-rescue"
- "grubby" - "grubby"

View file

@ -863,6 +863,15 @@
zipl: zipl:
- "s390utils-base" - "s390utils-base"
default_installer_config: &default_installer_config
enabled_anaconda_modules: &install_config_enabled_anaconda_modules
- "org.fedoraproject.Anaconda.Modules.Network"
- "org.fedoraproject.Anaconda.Modules.Payloads"
- "org.fedoraproject.Anaconda.Modules.Storage"
iso_root_kickstart: true
additional_dracut_modules:
- "ifcfg"
partitioning: partitioning:
ids: ids:
- &prep_partition_dosid "41" - &prep_partition_dosid "41"
@ -1302,6 +1311,9 @@ image_types:
ec2: &ec2 ec2: &ec2
<<: *ami <<: *ami
# we have to reset the aliases otherwise this type
# will inherit the name aliases causing a conflict
name_aliases: []
filename: "image.raw.xz" filename: "image.raw.xz"
mime_type: "application/xz" mime_type: "application/xz"
compression: "xz" compression: "xz"
@ -1408,6 +1420,7 @@ image_types:
- "rh-amazon-rhui-client-sap-bundle" - "rh-amazon-rhui-client-sap-bundle"
qcow2: &qcow2 qcow2: &qcow2
name_aliases: ["guest-image"]
filename: "disk.qcow2" filename: "disk.qcow2"
mime_type: "application/x-qemu-disk" mime_type: "application/x-qemu-disk"
# note that unlike fedora rhel does not use the environment.KVM # note that unlike fedora rhel does not use the environment.KVM
@ -1459,6 +1472,7 @@ image_types:
- *qcow2_common_pkgset - *qcow2_common_pkgset
vhd: vhd:
name_aliases: ["azure"]
filename: "disk.vhd" filename: "disk.vhd"
mime_type: "application/x-vhd" mime_type: "application/x-vhd"
image_func: "disk" image_func: "disk"
@ -1800,11 +1814,7 @@ image_types:
arch: "x86_64" arch: "x86_64"
shallow_merge: shallow_merge:
iso_boot_type: "syslinux" iso_boot_type: "syslinux"
installer_config: installer_config: *default_installer_config
# see commit c6bfb22f54, controls the kickstart location
iso_root_kickstart: true
additional_dracut_modules:
- "ifcfg"
platforms: platforms:
- *x86_64_installer_platform - *x86_64_installer_platform
- *aarch64_platform - *aarch64_platform
@ -2045,9 +2055,7 @@ image_types:
arch: "x86_64" arch: "x86_64"
shallow_merge: shallow_merge:
iso_boot_type: "syslinux" iso_boot_type: "syslinux"
installer_config: installer_config: *default_installer_config
additional_dracut_modules:
- "ifcfg"
platforms: platforms:
- *x86_64_uefi_platform - *x86_64_uefi_platform
- *aarch64_platform - *aarch64_platform
@ -2228,6 +2236,7 @@ image_types:
- *edge_commit_pkgset - *edge_commit_pkgset
vmdk: &vmdk vmdk: &vmdk
name_aliases: ["vsphere"]
filename: "disk.vmdk" filename: "disk.vmdk"
mime_type: "application/x-vmdk" mime_type: "application/x-vmdk"
bootable: true bootable: true
@ -2262,6 +2271,7 @@ image_types:
ova: ova:
<<: *vmdk <<: *vmdk
name_aliases: ["vsphere-ova"]
filename: "image.ova" filename: "image.ova"
mime_type: "application/ovf" mime_type: "application/ovf"
payload_pipelines: ["os", "image", "vmdk", "ovf", "archive"] payload_pipelines: ["os", "image", "vmdk", "ovf", "archive"]
@ -2271,6 +2281,9 @@ image_types:
image_format: "ova" image_format: "ova"
gce: &gce gce: &gce
# this image type is set to `gcp` in image-builder-crc
# & `osbuild-composer`, so set the alias here
name_aliases: ["gcp"]
filename: "image.tar.gz" filename: "image.tar.gz"
mime_type: "application/gzip" mime_type: "application/gzip"
image_func: "disk" image_func: "disk"
@ -2374,6 +2387,9 @@ image_types:
"gce-rhui": "gce-rhui":
<<: *gce <<: *gce
# we have to reset the aliases otherwise this type
# will inherit the name aliases causing a conflict
name_aliases: []
image_config: image_config:
<<: *gce_image_config <<: *gce_image_config
rhsm_config: rhsm_config:
@ -2397,6 +2413,9 @@ image_types:
oci: oci:
<<: *qcow2 <<: *qcow2
# we have to reset the aliases otherwise this type
# will inherit the name aliases causing a conflict
name_aliases: []
platforms: platforms:
- <<: *x86_64_bios_platform - <<: *x86_64_bios_platform
image_format: "qcow2" image_format: "qcow2"
@ -2404,6 +2423,9 @@ image_types:
openstack: openstack:
<<: *qcow2 <<: *qcow2
# we have to reset the aliases otherwise this type
# will inherit the name aliases causing a conflict
name_aliases: []
default_size: 4_294_967_296 # 4 * datasizes.GibiByte default_size: 4_294_967_296 # 4 * datasizes.GibiByte
image_config: image_config:
kernel_options: kernel_options:

View file

@ -1070,6 +1070,11 @@
terminal: ["console"] terminal: ["console"]
default_installer_config: &default_installer_config default_installer_config: &default_installer_config
enabled_anaconda_modules: &install_config_enabled_anaconda_modules
- "org.fedoraproject.Anaconda.Modules.Network"
- "org.fedoraproject.Anaconda.Modules.Payloads"
- "org.fedoraproject.Anaconda.Modules.Runtime"
- "org.fedoraproject.Anaconda.Modules.Storage"
# see commit c6bfb22f54, controls the kickstart location # see commit c6bfb22f54, controls the kickstart location
iso_root_kickstart: true iso_root_kickstart: true
additional_dracut_modules: additional_dracut_modules:
@ -1155,6 +1160,7 @@ image_types:
- "subscription-manager-cockpit" - "subscription-manager-cockpit"
qcow2: &qcow2 qcow2: &qcow2
name_aliases: ["guest-image"]
filename: "disk.qcow2" filename: "disk.qcow2"
mime_type: "application/x-qemu-disk" mime_type: "application/x-qemu-disk"
# note that unlike fedora rhel does not use the environment.KVM # note that unlike fedora rhel does not use the environment.KVM
@ -1267,6 +1273,9 @@ image_types:
"vagrant-libvirt": &vagrant_libvirt "vagrant-libvirt": &vagrant_libvirt
<<: *qcow2 <<: *qcow2
# we have to reset the aliases otherwise this type
# will inherit the name aliases causing a conflict
name_aliases: []
filename: "vagrant-libvirt.box" filename: "vagrant-libvirt.box"
mime_type: "application/x-tar" mime_type: "application/x-tar"
bootable: true bootable: true
@ -1307,12 +1316,18 @@ image_types:
oci: oci:
<<: *qcow2 <<: *qcow2
# we have to reset the aliases otherwise this type
# will inherit the name aliases causing a conflict
name_aliases: []
platforms: platforms:
- <<: *x86_64_bios_platform - <<: *x86_64_bios_platform
image_format: "qcow2" image_format: "qcow2"
vhd: &vhd vhd: &vhd
<<: *qcow2 <<: *qcow2
# we have to reset the aliases otherwise this type
# will inherit the name aliases causing a conflict
name_aliases: []
filename: "disk.vhd" filename: "disk.vhd"
mime_type: "application/x-vhd" mime_type: "application/x-vhd"
default_size: 4_294_967_296 # 4 * datasizes.GibiByte default_size: 4_294_967_296 # 4 * datasizes.GibiByte
@ -1646,6 +1661,7 @@ image_types:
- "rng-tools" - "rng-tools"
vmdk: &vmdk vmdk: &vmdk
name_aliases: ["vsphere"]
filename: "disk.vmdk" filename: "disk.vmdk"
mime_type: "application/x-vmdk" mime_type: "application/x-vmdk"
bootable: true bootable: true
@ -1679,6 +1695,7 @@ image_types:
ova: ova:
<<: *vmdk <<: *vmdk
name_aliases: ["vsphere-ova"]
filename: "image.ova" filename: "image.ova"
mime_type: "application/ovf" mime_type: "application/ovf"
payload_pipelines: ["os", "image", "vmdk", "ovf", "archive"] payload_pipelines: ["os", "image", "vmdk", "ovf", "archive"]
@ -1836,6 +1853,7 @@ image_types:
ami: ami:
<<: *ec2 <<: *ec2
name_aliases: ["aws"]
mime_type: "application/octet-stream" mime_type: "application/octet-stream"
filename: "image.raw" filename: "image.raw"
payload_pipelines: ["os", "image"] payload_pipelines: ["os", "image"]
@ -2057,6 +2075,16 @@ image_types:
platforms: platforms:
- *x86_64_installer_platform - *x86_64_installer_platform
- *aarch64_platform - *aarch64_platform
platforms_override:
conditions:
"RHEL 9.7+ adds FIPS menu":
when:
version_greater_or_equal: "9.7"
override:
- <<: *x86_64_installer_platform
fips_menu: true
- <<: *aarch64_platform
fips_menu: true
installer_config: *default_installer_config installer_config: *default_installer_config
image_config: image_config:
locale: "C.UTF-8" locale: "C.UTF-8"
@ -2073,7 +2101,9 @@ image_types:
- *anaconda_pkgset - *anaconda_pkgset
gce: gce:
name_aliases: ["gce-rhui"] # this image type is set to `gcp` in image-builder-crc
# & `osbuild-composer`, so set the alias here
name_aliases: ["gce-rhui", "gcp"]
filename: "image.tar.gz" filename: "image.tar.gz"
mime_type: "application/gzip" mime_type: "application/gzip"
image_func: "disk" image_func: "disk"
@ -2338,6 +2368,9 @@ image_types:
openstack: openstack:
<<: *qcow2 <<: *qcow2
# we have to reset the aliases otherwise this type
# will inherit the name aliases causing a conflict
name_aliases: []
default_size: 4_294_967_296 # 4 * datasizes.GibiByte default_size: 4_294_967_296 # 4 * datasizes.GibiByte
platforms: platforms:
- <<: *x86_64_bios_platform - <<: *x86_64_bios_platform
@ -2925,6 +2958,7 @@ image_types:
- "redhat-release" - "redhat-release"
- "tpm2-tools" - "tpm2-tools"
- "WALinuxAgent" - "WALinuxAgent"
- "yum-utils"
- exclude: - exclude:
- "dracut-config-rescue" - "dracut-config-rescue"
- "iwl*" - "iwl*"

View file

@ -643,31 +643,30 @@ func (a *AWS) RunInstanceEC2(imageID, secGroupID, userData, instanceType string)
return reservation, nil return reservation, nil
} }
func (a *AWS) TerminateInstanceEC2(instanceID string) (*ec2.TerminateInstancesOutput, error) { // TerminateInstancesEC2 terminates the specified EC2 instances and waits for them to be terminated if timeout is greater than 0.
// We need to terminate the instance now and wait until the termination is done. func (a *AWS) TerminateInstancesEC2(instanceIDs []string, timeout time.Duration) (*ec2.TerminateInstancesOutput, error) {
// Otherwise, it wouldn't be possible to delete the image.
res, err := a.ec2.TerminateInstances( res, err := a.ec2.TerminateInstances(
context.TODO(), context.TODO(),
&ec2.TerminateInstancesInput{ &ec2.TerminateInstancesInput{
InstanceIds: []string{ InstanceIds: slices.Clone(instanceIDs),
instanceID,
},
}) })
if err != nil { if err != nil {
return nil, err return nil, err
} }
if timeout > 0 {
instanceWaiter := newTerminateInstancesWaiterEC2(a.ec2) instanceWaiter := newTerminateInstancesWaiterEC2(a.ec2)
err = instanceWaiter.Wait( err = instanceWaiter.Wait(
context.TODO(), context.TODO(),
&ec2.DescribeInstancesInput{ &ec2.DescribeInstancesInput{
InstanceIds: []string{instanceID}, InstanceIds: slices.Clone(instanceIDs),
}, },
time.Hour, timeout,
) )
if err != nil { if err != nil {
return nil, err return nil, err
} }
}
return res, nil return res, nil
} }
@ -681,22 +680,43 @@ func (a *AWS) GetInstanceAddress(instanceID string) (string, error) {
return *reservation.Instances[0].PublicIpAddress, nil return *reservation.Instances[0].PublicIpAddress, nil
} }
// DeleteEC2Image deletes the specified image and its associated snapshot // DeleteEC2Image deletes the specified image and all of its associated snapshots
func (a *AWS) DeleteEC2Image(imageID, snapshotID string) error { func (a *AWS) DeleteEC2Image(imageID string) error {
var retErr error img, err := a.ec2.DescribeImages(
context.TODO(),
&ec2.DescribeImagesInput{
ImageIds: []string{imageID},
},
)
if err != nil {
return err
}
if len(img.Images) == 0 {
return fmt.Errorf("image %s not found", imageID)
}
var snapshotIDs []string
for _, bdm := range img.Images[0].BlockDeviceMappings {
if bdm.Ebs != nil && bdm.Ebs.SnapshotId != nil {
snapshotIDs = append(snapshotIDs, *bdm.Ebs.SnapshotId)
}
}
var retErr error
// firstly, deregister the image // firstly, deregister the image
_, err := a.ec2.DeregisterImage( _, err = a.ec2.DeregisterImage(
context.TODO(), context.TODO(),
&ec2.DeregisterImageInput{ &ec2.DeregisterImageInput{
ImageId: &imageID, ImageId: &imageID,
}) })
if err != nil { if err != nil {
return err retErr = fmt.Errorf("failed to deregister image %s: %w", imageID, err)
} }
// now it's possible to delete the snapshot // now it's possible to delete snapshots
for _, snapshotID := range snapshotIDs {
_, err = a.ec2.DeleteSnapshot( _, err = a.ec2.DeleteSnapshot(
context.TODO(), context.TODO(),
&ec2.DeleteSnapshotInput{ &ec2.DeleteSnapshotInput{
@ -704,7 +724,12 @@ func (a *AWS) DeleteEC2Image(imageID, snapshotID string) error {
}) })
if err != nil { if err != nil {
return err if retErr != nil {
retErr = fmt.Errorf("%w; failed to delete snapshot %s: %v", retErr, snapshotID, err)
continue
}
retErr = fmt.Errorf("failed to delete snapshot %s: %w", snapshotID, err)
}
} }
return retErr return retErr

View file

@ -32,30 +32,6 @@ type PartitionTable struct {
StartOffset uint64 `json:"start_offset,omitempty" yaml:"start_offset,omitempty"` StartOffset uint64 `json:"start_offset,omitempty" yaml:"start_offset,omitempty"`
} }
// TODO: PartitioningMode is a copy of
// pkg/disk/partition.PartitioningMode - drop once
// https://github.com/osbuild/blueprint/pull/26 is merged
type PartitioningMode string
const (
// AutoLVMPartitioningMode creates a LVM layout if the filesystem
// contains a mountpoint that's not defined in the base partition table
// of the specified image type. In the other case, a raw layout is used.
AutoLVMPartitioningMode PartitioningMode = "auto-lvm"
// LVMPartitioningMode always creates an LVM layout.
LVMPartitioningMode PartitioningMode = "lvm"
// RawPartitioningMode always creates a raw layout.
RawPartitioningMode PartitioningMode = "raw"
// BtrfsPartitioningMode creates a btrfs layout.
BtrfsPartitioningMode PartitioningMode = "btrfs"
// DefaultPartitioningMode is AutoLVMPartitioningMode and is the empty state
DefaultPartitioningMode PartitioningMode = ""
)
// DefaultBootPartitionSize is the default size of the /boot partition if it // DefaultBootPartitionSize is the default size of the /boot partition if it
// needs to be auto-created. This happens if the custom partitioning don't // needs to be auto-created. This happens if the custom partitioning don't
// specify one, but the image requires one to boot (/ is on btrfs, or an LV). // specify one, but the image requires one to boot (/ is on btrfs, or an LV).

View file

@ -79,6 +79,9 @@ type ImageType interface {
// Returns the name of the image type. // Returns the name of the image type.
Name() string Name() string
// Returns the aliases for the image type.
Aliases() []string
// Returns the parent architecture // Returns the parent architecture
Arch() Arch Arch() Arch

View file

@ -580,10 +580,10 @@ func imageInstallerImage(workload workload.Workload,
return nil, err return nil, err
} }
if instCust != nil && instCust.Modules != nil { if instCust != nil && instCust.Modules != nil {
img.AdditionalAnacondaModules = append(img.AdditionalAnacondaModules, instCust.Modules.Enable...) img.EnabledAnacondaModules = append(img.EnabledAnacondaModules, instCust.Modules.Enable...)
img.DisabledAnacondaModules = append(img.DisabledAnacondaModules, instCust.Modules.Disable...) img.DisabledAnacondaModules = append(img.DisabledAnacondaModules, instCust.Modules.Disable...)
} }
img.AdditionalAnacondaModules = append(img.AdditionalAnacondaModules, anaconda.ModuleUsers) img.EnabledAnacondaModules = append(img.EnabledAnacondaModules, anaconda.ModuleUsers)
img.Platform = t.platform img.Platform = t.platform
img.Workload = workload img.Workload = workload
@ -596,6 +596,7 @@ func imageInstallerImage(workload workload.Workload,
} }
if installerConfig != nil { if installerConfig != nil {
img.EnabledAnacondaModules = append(img.EnabledAnacondaModules, installerConfig.EnabledAnacondaModules...)
img.AdditionalDracutModules = append(img.AdditionalDracutModules, installerConfig.AdditionalDracutModules...) img.AdditionalDracutModules = append(img.AdditionalDracutModules, installerConfig.AdditionalDracutModules...)
img.AdditionalDrivers = append(img.AdditionalDrivers, installerConfig.AdditionalDrivers...) img.AdditionalDrivers = append(img.AdditionalDrivers, installerConfig.AdditionalDrivers...)
if installerConfig.SquashfsRootfs != nil && *installerConfig.SquashfsRootfs { if installerConfig.SquashfsRootfs != nil && *installerConfig.SquashfsRootfs {
@ -797,7 +798,7 @@ func iotInstallerImage(workload workload.Workload,
return nil, err return nil, err
} }
if instCust != nil && instCust.Modules != nil { if instCust != nil && instCust.Modules != nil {
img.AdditionalAnacondaModules = append(img.AdditionalAnacondaModules, instCust.Modules.Enable...) img.EnabledAnacondaModules = append(img.EnabledAnacondaModules, instCust.Modules.Enable...)
img.DisabledAnacondaModules = append(img.DisabledAnacondaModules, instCust.Modules.Disable...) img.DisabledAnacondaModules = append(img.DisabledAnacondaModules, instCust.Modules.Disable...)
} }
@ -809,14 +810,14 @@ func iotInstallerImage(workload workload.Workload,
if installerConfig != nil { if installerConfig != nil {
img.AdditionalDracutModules = append(img.AdditionalDracutModules, installerConfig.AdditionalDracutModules...) img.AdditionalDracutModules = append(img.AdditionalDracutModules, installerConfig.AdditionalDracutModules...)
img.AdditionalDrivers = append(img.AdditionalDrivers, installerConfig.AdditionalDrivers...) img.AdditionalDrivers = append(img.AdditionalDrivers, installerConfig.AdditionalDrivers...)
img.AdditionalAnacondaModules = append(img.AdditionalAnacondaModules, installerConfig.AdditionalAnacondaModules...) img.EnabledAnacondaModules = append(img.EnabledAnacondaModules, installerConfig.EnabledAnacondaModules...)
if installerConfig.SquashfsRootfs != nil && *installerConfig.SquashfsRootfs { if installerConfig.SquashfsRootfs != nil && *installerConfig.SquashfsRootfs {
img.RootfsType = manifest.SquashfsRootfs img.RootfsType = manifest.SquashfsRootfs
} }
} }
if len(img.Kickstart.Users)+len(img.Kickstart.Groups) > 0 { if len(img.Kickstart.Users)+len(img.Kickstart.Groups) > 0 {
// only enable the users module if needed // only enable the users module if needed
img.AdditionalAnacondaModules = append(img.AdditionalAnacondaModules, anaconda.ModuleUsers) img.EnabledAnacondaModules = append(img.EnabledAnacondaModules, anaconda.ModuleUsers)
} }
img.Product = d.Product() img.Product = d.Product()

View file

@ -79,6 +79,10 @@ func (t *imageType) Name() string {
return t.ImageTypeYAML.Name() return t.ImageTypeYAML.Name()
} }
func (t *imageType) Aliases() []string {
return t.ImageTypeYAML.NameAliases
}
func (t *imageType) Arch() distro.Arch { func (t *imageType) Arch() distro.Arch {
return t.arch return t.arch
} }

View file

@ -3,10 +3,11 @@ package distro
// InstallerConfig represents a configuration for the installer // InstallerConfig represents a configuration for the installer
// part of an Installer image type. // part of an Installer image type.
type InstallerConfig struct { type InstallerConfig struct {
EnabledAnacondaModules []string `yaml:"enabled_anaconda_modules"`
// Additional dracut modules and drivers to enable // Additional dracut modules and drivers to enable
AdditionalDracutModules []string `yaml:"additional_dracut_modules"` AdditionalDracutModules []string `yaml:"additional_dracut_modules"`
AdditionalDrivers []string `yaml:"additional_drivers"` AdditionalDrivers []string `yaml:"additional_drivers"`
AdditionalAnacondaModules []string `yaml:"additional_anaconda_modules"`
// XXX: this is really here only for compatibility/because of drift in the "imageInstallerImage" // XXX: this is really here only for compatibility/because of drift in the "imageInstallerImage"
// between fedora/rhel // between fedora/rhel

View file

@ -45,6 +45,7 @@ type TestArch struct {
type TestImageType struct { type TestImageType struct {
architecture *TestArch architecture *TestArch
name string name string
aliases []string
} }
const ( const (
@ -178,6 +179,10 @@ func (t *TestImageType) Name() string {
return t.name return t.name
} }
func (t *TestImageType) Aliases() []string {
return t.aliases
}
func (t *TestImageType) Arch() distro.Arch { func (t *TestImageType) Arch() distro.Arch {
return t.architecture return t.architecture
} }
@ -341,10 +346,16 @@ func newTestDistro(releasever string) *TestDistro {
it3 := TestImageType{ it3 := TestImageType{
name: TestImageTypeAmi, name: TestImageTypeAmi,
aliases: []string{
"aws",
},
} }
it4 := TestImageType{ it4 := TestImageType{
name: TestImageTypeVhd, name: TestImageTypeVhd,
aliases: []string{
"azure",
},
} }
it5 := TestImageType{ it5 := TestImageType{
@ -361,14 +372,23 @@ func newTestDistro(releasever string) *TestDistro {
it8 := TestImageType{ it8 := TestImageType{
name: TestImageTypeQcow2, name: TestImageTypeQcow2,
aliases: []string{
"guest-image",
},
} }
it9 := TestImageType{ it9 := TestImageType{
name: TestImageTypeVmdk, name: TestImageTypeVmdk,
aliases: []string{
"vsphere",
},
} }
it10 := TestImageType{ it10 := TestImageType{
name: TestImageTypeGce, name: TestImageTypeGce,
aliases: []string{
"gcp",
},
} }
it11 := TestImageType{ it11 := TestImageType{

View file

@ -40,7 +40,7 @@ type AnacondaContainerInstaller struct {
Filename string Filename string
AdditionalAnacondaModules []string EnabledAnacondaModules []string
DisabledAnacondaModules []string DisabledAnacondaModules []string
AdditionalDracutModules []string AdditionalDracutModules []string
@ -99,11 +99,11 @@ func (img *AnacondaContainerInstaller) InstantiateManifest(m *manifest.Manifest,
anacondaPipeline.Variant = img.Variant anacondaPipeline.Variant = img.Variant
anacondaPipeline.Biosdevname = (img.Platform.GetArch() == arch.ARCH_X86_64) anacondaPipeline.Biosdevname = (img.Platform.GetArch() == arch.ARCH_X86_64)
anacondaPipeline.Checkpoint() anacondaPipeline.Checkpoint()
anacondaPipeline.AdditionalAnacondaModules = img.AdditionalAnacondaModules anacondaPipeline.EnabledAnacondaModules = img.EnabledAnacondaModules
anacondaPipeline.DisabledAnacondaModules = img.DisabledAnacondaModules anacondaPipeline.DisabledAnacondaModules = img.DisabledAnacondaModules
if img.FIPS { if img.FIPS {
anacondaPipeline.AdditionalAnacondaModules = append( anacondaPipeline.EnabledAnacondaModules = append(
anacondaPipeline.AdditionalAnacondaModules, anacondaPipeline.EnabledAnacondaModules,
anaconda.ModuleSecurity, anaconda.ModuleSecurity,
) )
} }

View file

@ -43,7 +43,7 @@ type AnacondaOSTreeInstaller struct {
Filename string Filename string
AdditionalAnacondaModules []string EnabledAnacondaModules []string
DisabledAnacondaModules []string DisabledAnacondaModules []string
AdditionalDracutModules []string AdditionalDracutModules []string
@ -99,10 +99,10 @@ func (img *AnacondaOSTreeInstaller) InstantiateManifest(m *manifest.Manifest,
anacondaPipeline.UseLegacyAnacondaConfig = img.UseLegacyAnacondaConfig anacondaPipeline.UseLegacyAnacondaConfig = img.UseLegacyAnacondaConfig
anacondaPipeline.AdditionalDracutModules = img.AdditionalDracutModules anacondaPipeline.AdditionalDracutModules = img.AdditionalDracutModules
anacondaPipeline.AdditionalAnacondaModules = img.AdditionalAnacondaModules anacondaPipeline.EnabledAnacondaModules = img.EnabledAnacondaModules
if img.FIPS { if img.FIPS {
anacondaPipeline.AdditionalAnacondaModules = append( anacondaPipeline.EnabledAnacondaModules = append(
anacondaPipeline.AdditionalAnacondaModules, anacondaPipeline.EnabledAnacondaModules,
anaconda.ModuleSecurity, anaconda.ModuleSecurity,
) )
} }

View file

@ -70,7 +70,7 @@ type AnacondaTarInstaller struct {
Filename string Filename string
AdditionalKernelOpts []string AdditionalKernelOpts []string
AdditionalAnacondaModules []string EnabledAnacondaModules []string
DisabledAnacondaModules []string DisabledAnacondaModules []string
AdditionalDracutModules []string AdditionalDracutModules []string
@ -136,10 +136,10 @@ func (img *AnacondaTarInstaller) InstantiateManifest(m *manifest.Manifest,
anacondaPipeline.Biosdevname = (img.Platform.GetArch() == arch.ARCH_X86_64) anacondaPipeline.Biosdevname = (img.Platform.GetArch() == arch.ARCH_X86_64)
anacondaPipeline.UseLegacyAnacondaConfig = img.UseLegacyAnacondaConfig anacondaPipeline.UseLegacyAnacondaConfig = img.UseLegacyAnacondaConfig
anacondaPipeline.AdditionalAnacondaModules = img.AdditionalAnacondaModules anacondaPipeline.EnabledAnacondaModules = img.EnabledAnacondaModules
if img.OSCustomizations.FIPS { if img.OSCustomizations.FIPS {
anacondaPipeline.AdditionalAnacondaModules = append( anacondaPipeline.EnabledAnacondaModules = append(
anacondaPipeline.AdditionalAnacondaModules, anacondaPipeline.EnabledAnacondaModules,
anaconda.ModuleSecurity, anaconda.ModuleSecurity,
) )
} }

View file

@ -66,7 +66,7 @@ type AnacondaInstaller struct {
InteractiveDefaultsKickstart *kickstart.Options InteractiveDefaultsKickstart *kickstart.Options
// Additional anaconda modules to enable // Additional anaconda modules to enable
AdditionalAnacondaModules []string EnabledAnacondaModules []string
// Anaconda modules to explicitly disable // Anaconda modules to explicitly disable
DisabledAnacondaModules []string DisabledAnacondaModules []string
@ -307,9 +307,9 @@ func (p *AnacondaInstaller) payloadStages() []*osbuild.Stage {
var anacondaStageOptions *osbuild.AnacondaStageOptions var anacondaStageOptions *osbuild.AnacondaStageOptions
if p.UseLegacyAnacondaConfig { if p.UseLegacyAnacondaConfig {
anacondaStageOptions = osbuild.NewAnacondaStageOptionsLegacy(p.AdditionalAnacondaModules, p.DisabledAnacondaModules) anacondaStageOptions = osbuild.NewAnacondaStageOptionsLegacy(p.EnabledAnacondaModules, p.DisabledAnacondaModules)
} else { } else {
anacondaStageOptions = osbuild.NewAnacondaStageOptions(p.AdditionalAnacondaModules, p.DisabledAnacondaModules) anacondaStageOptions = osbuild.NewAnacondaStageOptions(p.EnabledAnacondaModules, p.DisabledAnacondaModules)
} }
stages = append(stages, osbuild.NewAnacondaStage(anacondaStageOptions)) stages = append(stages, osbuild.NewAnacondaStage(anacondaStageOptions))

View file

@ -435,6 +435,7 @@ func (p *AnacondaInstallerISOTree) serialize() osbuild.Pipeline {
Dir: "/images/pxeboot", Dir: "/images/pxeboot",
Opts: kernelOpts, Opts: kernelOpts,
}, },
FIPS: p.anacondaPipeline.platform.GetFIPSMenu(),
} }
stage := osbuild.NewISOLinuxStage(options, p.anacondaPipeline.Name()) stage := osbuild.NewISOLinuxStage(options, p.anacondaPipeline.Name())
@ -450,6 +451,7 @@ func (p *AnacondaInstallerISOTree) serialize() osbuild.Pipeline {
Opts: kernelOpts, Opts: kernelOpts,
}, },
ISOLabel: p.isoLabel, ISOLabel: p.isoLabel,
FIPS: p.anacondaPipeline.platform.GetFIPSMenu(),
} }
stage := osbuild.NewGrub2ISOLegacyStage(options) stage := osbuild.NewGrub2ISOLegacyStage(options)

View file

@ -55,6 +55,7 @@ func (p *EFIBootTree) serialize() osbuild.Pipeline {
ISOLabel: p.ISOLabel, ISOLabel: p.ISOLabel,
Architectures: architectures, Architectures: architectures,
Vendor: p.UEFIVendor, Vendor: p.UEFIVendor,
FIPS: p.Platform.GetFIPSMenu(),
} }
grub2Stage := osbuild.NewGrubISOStage(grubOptions) grub2Stage := osbuild.NewGrubISOStage(grubOptions)
pipeline.AddStage(grub2Stage) pipeline.AddStage(grub2Stage)

View file

@ -20,9 +20,6 @@ type Pipeline interface {
// Checkpoint this pipeline when osbuild is called. // Checkpoint this pipeline when osbuild is called.
Checkpoint() Checkpoint()
// Export this tree of this pipeline as an artifact when osbuild is called.
Export() *artifact.Artifact
// BuildPipeline returns a reference to the pipeline that creates the build // BuildPipeline returns a reference to the pipeline that creates the build
// root for this pipeline. For build pipelines, it should return nil. // root for this pipeline. For build pipelines, it should return nil.
BuildPipeline() Build BuildPipeline() Build
@ -74,6 +71,14 @@ type Pipeline interface {
fileRefs() []string fileRefs() []string
} }
// ExportingPipeline is a pipeline that can export an artifact
type ExportingPipeline interface {
Pipeline
// Export this tree of this pipeline as an artifact when osbuild is called.
Export() *artifact.Artifact
}
// A Base represents the core functionality shared between each of the pipeline // A Base represents the core functionality shared between each of the pipeline
// implementations, and the Base struct must be embedded in each of them. // implementations, and the Base struct must be embedded in each of them.
type Base struct { type Base struct {
@ -99,10 +104,6 @@ func (p Base) getCheckpoint() bool {
return p.checkpoint return p.checkpoint
} }
func (p *Base) Export() *artifact.Artifact {
panic("can't export pipeline directly from pipeline.Base")
}
func (p Base) getExport() bool { func (p Base) getExport() bool {
return p.export return p.export
} }
@ -204,7 +205,7 @@ type TreePipeline interface {
// FilePipeline is any pipeline that produces a single file (typically an image file). // FilePipeline is any pipeline that produces a single file (typically an image file).
type FilePipeline interface { type FilePipeline interface {
Pipeline ExportingPipeline
Filename() string Filename() string
SetFilename(fname string) SetFilename(fname string)
} }

View file

@ -10,7 +10,7 @@ type VMDK struct {
Base Base
filename string filename string
imgPipeline Pipeline imgPipeline FilePipeline
} }
func (p VMDK) Filename() string { func (p VMDK) Filename() string {

View file

@ -2,8 +2,6 @@ package osbuild
import ( import (
"slices" "slices"
"github.com/osbuild/images/pkg/customizations/anaconda"
) )
type AnacondaStageOptions struct { type AnacondaStageOptions struct {
@ -39,28 +37,17 @@ func NewAnacondaStage(options *AnacondaStageOptions) *Stage {
} }
} }
func defaultModuleStates() map[string]bool { func moduleStates(enable, disable []string) map[string]bool {
return map[string]bool{ states := map[string]bool{}
anaconda.ModuleLocalization: false,
anaconda.ModuleNetwork: true,
anaconda.ModulePayloads: true,
anaconda.ModuleRuntime: true,
anaconda.ModuleSecurity: false,
anaconda.ModuleServices: false,
anaconda.ModuleStorage: true,
anaconda.ModuleSubscription: false,
anaconda.ModuleTimezone: false,
anaconda.ModuleUsers: false,
}
}
func setModuleStates(states map[string]bool, enable, disable []string) {
for _, modname := range enable { for _, modname := range enable {
states[modname] = true states[modname] = true
} }
for _, modname := range disable { for _, modname := range disable {
states[modname] = false states[modname] = false
} }
return states
} }
func filterEnabledModules(moduleStates map[string]bool) []string { func filterEnabledModules(moduleStates map[string]bool) []string {
@ -76,8 +63,7 @@ func filterEnabledModules(moduleStates map[string]bool) []string {
} }
func NewAnacondaStageOptionsLegacy(enableModules, disableModules []string) *AnacondaStageOptions { func NewAnacondaStageOptionsLegacy(enableModules, disableModules []string) *AnacondaStageOptions {
states := defaultModuleStates() states := moduleStates(enableModules, disableModules)
setModuleStates(states, enableModules, disableModules)
return &AnacondaStageOptions{ return &AnacondaStageOptions{
KickstartModules: filterEnabledModules(states), KickstartModules: filterEnabledModules(states),
@ -85,8 +71,7 @@ func NewAnacondaStageOptionsLegacy(enableModules, disableModules []string) *Anac
} }
func NewAnacondaStageOptions(enableModules, disableModules []string) *AnacondaStageOptions { func NewAnacondaStageOptions(enableModules, disableModules []string) *AnacondaStageOptions {
states := defaultModuleStates() states := moduleStates(enableModules, disableModules)
setModuleStates(states, enableModules, disableModules)
return &AnacondaStageOptions{ return &AnacondaStageOptions{
ActivatableModules: filterEnabledModules(states), ActivatableModules: filterEnabledModules(states),

View file

@ -10,6 +10,8 @@ type Grub2ISOLegacyStageOptions struct {
Kernel ISOKernel `json:"kernel"` Kernel ISOKernel `json:"kernel"`
ISOLabel string `json:"isolabel"` ISOLabel string `json:"isolabel"`
FIPS bool `json:"fips,omitempty"`
} }
func (Grub2ISOLegacyStageOptions) isStageOptions() {} func (Grub2ISOLegacyStageOptions) isStageOptions() {}

View file

@ -14,6 +14,8 @@ type GrubISOStageOptions struct {
Architectures []string `json:"architectures,omitempty"` Architectures []string `json:"architectures,omitempty"`
Vendor string `json:"vendor,omitempty"` Vendor string `json:"vendor,omitempty"`
FIPS bool `json:"fips,omitempty"`
} }
func (GrubISOStageOptions) isStageOptions() {} func (GrubISOStageOptions) isStageOptions() {}

View file

@ -3,6 +3,7 @@ package osbuild
type ISOLinuxStageOptions struct { type ISOLinuxStageOptions struct {
Product ISOLinuxProduct `json:"product"` Product ISOLinuxProduct `json:"product"`
Kernel ISOLinuxKernel `json:"kernel"` Kernel ISOLinuxKernel `json:"kernel"`
FIPS bool `json:"fips,omitempty"`
} }
func (ISOLinuxStageOptions) isStageOptions() {} func (ISOLinuxStageOptions) isStageOptions() {}

View file

@ -136,12 +136,14 @@ type Platform interface {
GetBuildPackages() []string GetBuildPackages() []string
GetBootFiles() [][2]string GetBootFiles() [][2]string
GetBootloader() Bootloader GetBootloader() Bootloader
GetFIPSMenu() bool
} }
type BasePlatform struct { type BasePlatform struct {
ImageFormat ImageFormat ImageFormat ImageFormat
QCOW2Compat string QCOW2Compat string
FirmwarePackages []string FirmwarePackages []string
FIPSMenu bool // Add FIPS entry to iso bootloader menu
} }
func (p BasePlatform) GetImageFormat() ImageFormat { func (p BasePlatform) GetImageFormat() ImageFormat {
@ -179,3 +181,8 @@ func (p BasePlatform) GetBootFiles() [][2]string {
func (p BasePlatform) GetBootloader() Bootloader { func (p BasePlatform) GetBootloader() Bootloader {
return BOOTLOADER_NONE return BOOTLOADER_NONE
} }
// GetFIPSMenu is used to add the FIPS entry to the iso bootloader menu
func (p BasePlatform) GetFIPSMenu() bool {
return p.FIPSMenu
}

View file

@ -22,6 +22,7 @@ type PlatformConf struct {
BootFiles [][2]string `yaml:"boot_files"` BootFiles [][2]string `yaml:"boot_files"`
Bootloader Bootloader `yaml:"bootloader"` Bootloader Bootloader `yaml:"bootloader"`
FIPSMenu bool `yaml:"fips_menu"` // Add FIPS entry to iso bootloader menu
} }
// ensure PlatformConf implements the Platform interface // ensure PlatformConf implements the Platform interface
@ -66,3 +67,8 @@ func (pc *PlatformConf) GetBootFiles() [][2]string {
func (pc *PlatformConf) GetBootloader() Bootloader { func (pc *PlatformConf) GetBootloader() Bootloader {
return pc.Bootloader return pc.Bootloader
} }
// GetFIPSMenu is used to add the FIPS entry to the iso bootloader menu
func (pc *PlatformConf) GetFIPSMenu() bool {
return pc.FIPSMenu
}

View file

@ -11,8 +11,6 @@
// requires Go 1.6 or later) // requires Go 1.6 or later)
// //
// See https://http2.github.io/ for more information on HTTP/2. // See https://http2.github.io/ for more information on HTTP/2.
//
// See https://http2.golang.org/ for a test server running this code.
package http2 // import "golang.org/x/net/http2" package http2 // import "golang.org/x/net/http2"
import ( import (

View file

@ -349,6 +349,9 @@ struct ltchars {
#define _HIDIOCGRAWPHYS HIDIOCGRAWPHYS(_HIDIOCGRAWPHYS_LEN) #define _HIDIOCGRAWPHYS HIDIOCGRAWPHYS(_HIDIOCGRAWPHYS_LEN)
#define _HIDIOCGRAWUNIQ HIDIOCGRAWUNIQ(_HIDIOCGRAWUNIQ_LEN) #define _HIDIOCGRAWUNIQ HIDIOCGRAWUNIQ(_HIDIOCGRAWUNIQ_LEN)
// Renamed in v6.16, commit c6d732c38f93 ("net: ethtool: remove duplicate defines for family info")
#define ETHTOOL_FAMILY_NAME ETHTOOL_GENL_NAME
#define ETHTOOL_FAMILY_VERSION ETHTOOL_GENL_VERSION
' '
includes_NetBSD=' includes_NetBSD='

View file

@ -602,14 +602,9 @@ func Connectx(fd int, srcIf uint32, srcAddr, dstAddr Sockaddr, associd SaeAssocI
return return
} }
// sys connectx(fd int, endpoints *SaEndpoints, associd SaeAssocID, flags uint32, iov []Iovec, n *uintptr, connid *SaeConnID) (err error)
const minIovec = 8 const minIovec = 8
func Readv(fd int, iovs [][]byte) (n int, err error) { func Readv(fd int, iovs [][]byte) (n int, err error) {
if !darwinKernelVersionMin(11, 0, 0) {
return 0, ENOSYS
}
iovecs := make([]Iovec, 0, minIovec) iovecs := make([]Iovec, 0, minIovec)
iovecs = appendBytes(iovecs, iovs) iovecs = appendBytes(iovecs, iovs)
n, err = readv(fd, iovecs) n, err = readv(fd, iovecs)
@ -618,9 +613,6 @@ func Readv(fd int, iovs [][]byte) (n int, err error) {
} }
func Preadv(fd int, iovs [][]byte, offset int64) (n int, err error) { func Preadv(fd int, iovs [][]byte, offset int64) (n int, err error) {
if !darwinKernelVersionMin(11, 0, 0) {
return 0, ENOSYS
}
iovecs := make([]Iovec, 0, minIovec) iovecs := make([]Iovec, 0, minIovec)
iovecs = appendBytes(iovecs, iovs) iovecs = appendBytes(iovecs, iovs)
n, err = preadv(fd, iovecs, offset) n, err = preadv(fd, iovecs, offset)
@ -629,10 +621,6 @@ func Preadv(fd int, iovs [][]byte, offset int64) (n int, err error) {
} }
func Writev(fd int, iovs [][]byte) (n int, err error) { func Writev(fd int, iovs [][]byte) (n int, err error) {
if !darwinKernelVersionMin(11, 0, 0) {
return 0, ENOSYS
}
iovecs := make([]Iovec, 0, minIovec) iovecs := make([]Iovec, 0, minIovec)
iovecs = appendBytes(iovecs, iovs) iovecs = appendBytes(iovecs, iovs)
if raceenabled { if raceenabled {
@ -644,10 +632,6 @@ func Writev(fd int, iovs [][]byte) (n int, err error) {
} }
func Pwritev(fd int, iovs [][]byte, offset int64) (n int, err error) { func Pwritev(fd int, iovs [][]byte, offset int64) (n int, err error) {
if !darwinKernelVersionMin(11, 0, 0) {
return 0, ENOSYS
}
iovecs := make([]Iovec, 0, minIovec) iovecs := make([]Iovec, 0, minIovec)
iovecs = appendBytes(iovecs, iovs) iovecs = appendBytes(iovecs, iovs)
if raceenabled { if raceenabled {
@ -707,45 +691,7 @@ func readvRacedetect(iovecs []Iovec, n int, err error) {
} }
} }
func darwinMajorMinPatch() (maj, min, patch int, err error) { //sys connectx(fd int, endpoints *SaEndpoints, associd SaeAssocID, flags uint32, iov []Iovec, n *uintptr, connid *SaeConnID) (err error)
var un Utsname
err = Uname(&un)
if err != nil {
return
}
var mmp [3]int
c := 0
Loop:
for _, b := range un.Release[:] {
switch {
case b >= '0' && b <= '9':
mmp[c] = 10*mmp[c] + int(b-'0')
case b == '.':
c++
if c > 2 {
return 0, 0, 0, ENOTSUP
}
case b == 0:
break Loop
default:
return 0, 0, 0, ENOTSUP
}
}
if c != 2 {
return 0, 0, 0, ENOTSUP
}
return mmp[0], mmp[1], mmp[2], nil
}
func darwinKernelVersionMin(maj, min, patch int) bool {
actualMaj, actualMin, actualPatch, err := darwinMajorMinPatch()
if err != nil {
return false
}
return actualMaj > maj || actualMaj == maj && (actualMin > min || actualMin == min && actualPatch >= patch)
}
//sys sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error) //sys sendfile(infd int, outfd int, offset int64, len *int64, hdtr unsafe.Pointer, flags int) (err error)
//sys shmat(id int, addr uintptr, flag int) (ret uintptr, err error) //sys shmat(id int, addr uintptr, flag int) (ret uintptr, err error)

View file

@ -328,6 +328,8 @@ const (
AUDIT_KERNEL = 0x7d0 AUDIT_KERNEL = 0x7d0
AUDIT_KERNEL_OTHER = 0x524 AUDIT_KERNEL_OTHER = 0x524
AUDIT_KERN_MODULE = 0x532 AUDIT_KERN_MODULE = 0x532
AUDIT_LANDLOCK_ACCESS = 0x58f
AUDIT_LANDLOCK_DOMAIN = 0x590
AUDIT_LAST_FEATURE = 0x1 AUDIT_LAST_FEATURE = 0x1
AUDIT_LAST_KERN_ANOM_MSG = 0x707 AUDIT_LAST_KERN_ANOM_MSG = 0x707
AUDIT_LAST_USER_MSG = 0x4af AUDIT_LAST_USER_MSG = 0x4af
@ -492,6 +494,7 @@ const (
BPF_F_BEFORE = 0x8 BPF_F_BEFORE = 0x8
BPF_F_ID = 0x20 BPF_F_ID = 0x20
BPF_F_NETFILTER_IP_DEFRAG = 0x1 BPF_F_NETFILTER_IP_DEFRAG = 0x1
BPF_F_PREORDER = 0x40
BPF_F_QUERY_EFFECTIVE = 0x1 BPF_F_QUERY_EFFECTIVE = 0x1
BPF_F_REDIRECT_FLAGS = 0x19 BPF_F_REDIRECT_FLAGS = 0x19
BPF_F_REPLACE = 0x4 BPF_F_REPLACE = 0x4
@ -528,6 +531,7 @@ const (
BPF_LDX = 0x1 BPF_LDX = 0x1
BPF_LEN = 0x80 BPF_LEN = 0x80
BPF_LL_OFF = -0x200000 BPF_LL_OFF = -0x200000
BPF_LOAD_ACQ = 0x100
BPF_LSH = 0x60 BPF_LSH = 0x60
BPF_MAJOR_VERSION = 0x1 BPF_MAJOR_VERSION = 0x1
BPF_MAXINSNS = 0x1000 BPF_MAXINSNS = 0x1000
@ -555,6 +559,7 @@ const (
BPF_RET = 0x6 BPF_RET = 0x6
BPF_RSH = 0x70 BPF_RSH = 0x70
BPF_ST = 0x2 BPF_ST = 0x2
BPF_STORE_REL = 0x110
BPF_STX = 0x3 BPF_STX = 0x3
BPF_SUB = 0x10 BPF_SUB = 0x10
BPF_TAG_SIZE = 0x8 BPF_TAG_SIZE = 0x8
@ -844,9 +849,9 @@ const (
DM_UUID_FLAG = 0x4000 DM_UUID_FLAG = 0x4000
DM_UUID_LEN = 0x81 DM_UUID_LEN = 0x81
DM_VERSION = 0xc138fd00 DM_VERSION = 0xc138fd00
DM_VERSION_EXTRA = "-ioctl (2025-01-17)" DM_VERSION_EXTRA = "-ioctl (2025-04-28)"
DM_VERSION_MAJOR = 0x4 DM_VERSION_MAJOR = 0x4
DM_VERSION_MINOR = 0x31 DM_VERSION_MINOR = 0x32
DM_VERSION_PATCHLEVEL = 0x0 DM_VERSION_PATCHLEVEL = 0x0
DT_BLK = 0x6 DT_BLK = 0x6
DT_CHR = 0x2 DT_CHR = 0x2
@ -937,9 +942,6 @@ const (
EPOLL_CTL_MOD = 0x3 EPOLL_CTL_MOD = 0x3
EPOLL_IOC_TYPE = 0x8a EPOLL_IOC_TYPE = 0x8a
EROFS_SUPER_MAGIC_V1 = 0xe0f5e1e2 EROFS_SUPER_MAGIC_V1 = 0xe0f5e1e2
ESP_V4_FLOW = 0xa
ESP_V6_FLOW = 0xc
ETHER_FLOW = 0x12
ETHTOOL_BUSINFO_LEN = 0x20 ETHTOOL_BUSINFO_LEN = 0x20
ETHTOOL_EROMVERS_LEN = 0x20 ETHTOOL_EROMVERS_LEN = 0x20
ETHTOOL_FAMILY_NAME = "ethtool" ETHTOOL_FAMILY_NAME = "ethtool"
@ -1213,6 +1215,7 @@ const (
FAN_EVENT_INFO_TYPE_DFID_NAME = 0x2 FAN_EVENT_INFO_TYPE_DFID_NAME = 0x2
FAN_EVENT_INFO_TYPE_ERROR = 0x5 FAN_EVENT_INFO_TYPE_ERROR = 0x5
FAN_EVENT_INFO_TYPE_FID = 0x1 FAN_EVENT_INFO_TYPE_FID = 0x1
FAN_EVENT_INFO_TYPE_MNT = 0x7
FAN_EVENT_INFO_TYPE_NEW_DFID_NAME = 0xc FAN_EVENT_INFO_TYPE_NEW_DFID_NAME = 0xc
FAN_EVENT_INFO_TYPE_OLD_DFID_NAME = 0xa FAN_EVENT_INFO_TYPE_OLD_DFID_NAME = 0xa
FAN_EVENT_INFO_TYPE_PIDFD = 0x4 FAN_EVENT_INFO_TYPE_PIDFD = 0x4
@ -1231,9 +1234,12 @@ const (
FAN_MARK_IGNORED_SURV_MODIFY = 0x40 FAN_MARK_IGNORED_SURV_MODIFY = 0x40
FAN_MARK_IGNORE_SURV = 0x440 FAN_MARK_IGNORE_SURV = 0x440
FAN_MARK_INODE = 0x0 FAN_MARK_INODE = 0x0
FAN_MARK_MNTNS = 0x110
FAN_MARK_MOUNT = 0x10 FAN_MARK_MOUNT = 0x10
FAN_MARK_ONLYDIR = 0x8 FAN_MARK_ONLYDIR = 0x8
FAN_MARK_REMOVE = 0x2 FAN_MARK_REMOVE = 0x2
FAN_MNT_ATTACH = 0x1000000
FAN_MNT_DETACH = 0x2000000
FAN_MODIFY = 0x2 FAN_MODIFY = 0x2
FAN_MOVE = 0xc0 FAN_MOVE = 0xc0
FAN_MOVED_FROM = 0x40 FAN_MOVED_FROM = 0x40
@ -1255,6 +1261,7 @@ const (
FAN_REPORT_DIR_FID = 0x400 FAN_REPORT_DIR_FID = 0x400
FAN_REPORT_FD_ERROR = 0x2000 FAN_REPORT_FD_ERROR = 0x2000
FAN_REPORT_FID = 0x200 FAN_REPORT_FID = 0x200
FAN_REPORT_MNT = 0x4000
FAN_REPORT_NAME = 0x800 FAN_REPORT_NAME = 0x800
FAN_REPORT_PIDFD = 0x80 FAN_REPORT_PIDFD = 0x80
FAN_REPORT_TARGET_FID = 0x1000 FAN_REPORT_TARGET_FID = 0x1000
@ -1274,6 +1281,7 @@ const (
FIB_RULE_PERMANENT = 0x1 FIB_RULE_PERMANENT = 0x1
FIB_RULE_UNRESOLVED = 0x4 FIB_RULE_UNRESOLVED = 0x4
FIDEDUPERANGE = 0xc0189436 FIDEDUPERANGE = 0xc0189436
FSCRYPT_ADD_KEY_FLAG_HW_WRAPPED = 0x1
FSCRYPT_KEY_DESCRIPTOR_SIZE = 0x8 FSCRYPT_KEY_DESCRIPTOR_SIZE = 0x8
FSCRYPT_KEY_DESC_PREFIX = "fscrypt:" FSCRYPT_KEY_DESC_PREFIX = "fscrypt:"
FSCRYPT_KEY_DESC_PREFIX_SIZE = 0x8 FSCRYPT_KEY_DESC_PREFIX_SIZE = 0x8
@ -1582,7 +1590,6 @@ const (
IPV6_DONTFRAG = 0x3e IPV6_DONTFRAG = 0x3e
IPV6_DROP_MEMBERSHIP = 0x15 IPV6_DROP_MEMBERSHIP = 0x15
IPV6_DSTOPTS = 0x3b IPV6_DSTOPTS = 0x3b
IPV6_FLOW = 0x11
IPV6_FREEBIND = 0x4e IPV6_FREEBIND = 0x4e
IPV6_HDRINCL = 0x24 IPV6_HDRINCL = 0x24
IPV6_HOPLIMIT = 0x34 IPV6_HOPLIMIT = 0x34
@ -1633,7 +1640,6 @@ const (
IPV6_TRANSPARENT = 0x4b IPV6_TRANSPARENT = 0x4b
IPV6_UNICAST_HOPS = 0x10 IPV6_UNICAST_HOPS = 0x10
IPV6_UNICAST_IF = 0x4c IPV6_UNICAST_IF = 0x4c
IPV6_USER_FLOW = 0xe
IPV6_V6ONLY = 0x1a IPV6_V6ONLY = 0x1a
IPV6_VERSION = 0x60 IPV6_VERSION = 0x60
IPV6_VERSION_MASK = 0xf0 IPV6_VERSION_MASK = 0xf0
@ -1695,7 +1701,6 @@ const (
IP_TTL = 0x2 IP_TTL = 0x2
IP_UNBLOCK_SOURCE = 0x25 IP_UNBLOCK_SOURCE = 0x25
IP_UNICAST_IF = 0x32 IP_UNICAST_IF = 0x32
IP_USER_FLOW = 0xd
IP_XFRM_POLICY = 0x11 IP_XFRM_POLICY = 0x11
ISOFS_SUPER_MAGIC = 0x9660 ISOFS_SUPER_MAGIC = 0x9660
ISTRIP = 0x20 ISTRIP = 0x20
@ -1817,7 +1822,11 @@ const (
LANDLOCK_ACCESS_FS_WRITE_FILE = 0x2 LANDLOCK_ACCESS_FS_WRITE_FILE = 0x2
LANDLOCK_ACCESS_NET_BIND_TCP = 0x1 LANDLOCK_ACCESS_NET_BIND_TCP = 0x1
LANDLOCK_ACCESS_NET_CONNECT_TCP = 0x2 LANDLOCK_ACCESS_NET_CONNECT_TCP = 0x2
LANDLOCK_CREATE_RULESET_ERRATA = 0x2
LANDLOCK_CREATE_RULESET_VERSION = 0x1 LANDLOCK_CREATE_RULESET_VERSION = 0x1
LANDLOCK_RESTRICT_SELF_LOG_NEW_EXEC_ON = 0x2
LANDLOCK_RESTRICT_SELF_LOG_SAME_EXEC_OFF = 0x1
LANDLOCK_RESTRICT_SELF_LOG_SUBDOMAINS_OFF = 0x4
LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET = 0x1 LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET = 0x1
LANDLOCK_SCOPE_SIGNAL = 0x2 LANDLOCK_SCOPE_SIGNAL = 0x2
LINUX_REBOOT_CMD_CAD_OFF = 0x0 LINUX_REBOOT_CMD_CAD_OFF = 0x0
@ -2493,6 +2502,10 @@ const (
PR_FP_EXC_UND = 0x40000 PR_FP_EXC_UND = 0x40000
PR_FP_MODE_FR = 0x1 PR_FP_MODE_FR = 0x1
PR_FP_MODE_FRE = 0x2 PR_FP_MODE_FRE = 0x2
PR_FUTEX_HASH = 0x4e
PR_FUTEX_HASH_GET_IMMUTABLE = 0x3
PR_FUTEX_HASH_GET_SLOTS = 0x2
PR_FUTEX_HASH_SET_SLOTS = 0x1
PR_GET_AUXV = 0x41555856 PR_GET_AUXV = 0x41555856
PR_GET_CHILD_SUBREAPER = 0x25 PR_GET_CHILD_SUBREAPER = 0x25
PR_GET_DUMPABLE = 0x3 PR_GET_DUMPABLE = 0x3
@ -2652,6 +2665,10 @@ const (
PR_TAGGED_ADDR_ENABLE = 0x1 PR_TAGGED_ADDR_ENABLE = 0x1
PR_TASK_PERF_EVENTS_DISABLE = 0x1f PR_TASK_PERF_EVENTS_DISABLE = 0x1f
PR_TASK_PERF_EVENTS_ENABLE = 0x20 PR_TASK_PERF_EVENTS_ENABLE = 0x20
PR_TIMER_CREATE_RESTORE_IDS = 0x4d
PR_TIMER_CREATE_RESTORE_IDS_GET = 0x2
PR_TIMER_CREATE_RESTORE_IDS_OFF = 0x0
PR_TIMER_CREATE_RESTORE_IDS_ON = 0x1
PR_TIMING_STATISTICAL = 0x0 PR_TIMING_STATISTICAL = 0x0
PR_TIMING_TIMESTAMP = 0x1 PR_TIMING_TIMESTAMP = 0x1
PR_TSC_ENABLE = 0x1 PR_TSC_ENABLE = 0x1
@ -2732,6 +2749,7 @@ const (
PTRACE_SETREGSET = 0x4205 PTRACE_SETREGSET = 0x4205
PTRACE_SETSIGINFO = 0x4203 PTRACE_SETSIGINFO = 0x4203
PTRACE_SETSIGMASK = 0x420b PTRACE_SETSIGMASK = 0x420b
PTRACE_SET_SYSCALL_INFO = 0x4212
PTRACE_SET_SYSCALL_USER_DISPATCH_CONFIG = 0x4210 PTRACE_SET_SYSCALL_USER_DISPATCH_CONFIG = 0x4210
PTRACE_SINGLESTEP = 0x9 PTRACE_SINGLESTEP = 0x9
PTRACE_SYSCALL = 0x18 PTRACE_SYSCALL = 0x18
@ -2982,6 +3000,7 @@ const (
RTPROT_NTK = 0xf RTPROT_NTK = 0xf
RTPROT_OPENR = 0x63 RTPROT_OPENR = 0x63
RTPROT_OSPF = 0xbc RTPROT_OSPF = 0xbc
RTPROT_OVN = 0x54
RTPROT_RA = 0x9 RTPROT_RA = 0x9
RTPROT_REDIRECT = 0x1 RTPROT_REDIRECT = 0x1
RTPROT_RIP = 0xbd RTPROT_RIP = 0xbd
@ -3336,7 +3355,7 @@ const (
TASKSTATS_GENL_NAME = "TASKSTATS" TASKSTATS_GENL_NAME = "TASKSTATS"
TASKSTATS_GENL_VERSION = 0x1 TASKSTATS_GENL_VERSION = 0x1
TASKSTATS_TYPE_MAX = 0x6 TASKSTATS_TYPE_MAX = 0x6
TASKSTATS_VERSION = 0xf TASKSTATS_VERSION = 0x10
TCIFLUSH = 0x0 TCIFLUSH = 0x0
TCIOFF = 0x2 TCIOFF = 0x2
TCIOFLUSH = 0x2 TCIOFLUSH = 0x2
@ -3406,8 +3425,6 @@ const (
TCP_TX_DELAY = 0x25 TCP_TX_DELAY = 0x25
TCP_ULP = 0x1f TCP_ULP = 0x1f
TCP_USER_TIMEOUT = 0x12 TCP_USER_TIMEOUT = 0x12
TCP_V4_FLOW = 0x1
TCP_V6_FLOW = 0x5
TCP_WINDOW_CLAMP = 0xa TCP_WINDOW_CLAMP = 0xa
TCP_ZEROCOPY_RECEIVE = 0x23 TCP_ZEROCOPY_RECEIVE = 0x23
TFD_TIMER_ABSTIME = 0x1 TFD_TIMER_ABSTIME = 0x1
@ -3530,8 +3547,6 @@ const (
UDP_NO_CHECK6_RX = 0x66 UDP_NO_CHECK6_RX = 0x66
UDP_NO_CHECK6_TX = 0x65 UDP_NO_CHECK6_TX = 0x65
UDP_SEGMENT = 0x67 UDP_SEGMENT = 0x67
UDP_V4_FLOW = 0x2
UDP_V6_FLOW = 0x6
UMOUNT_NOFOLLOW = 0x8 UMOUNT_NOFOLLOW = 0x8
USBDEVICE_SUPER_MAGIC = 0x9fa2 USBDEVICE_SUPER_MAGIC = 0x9fa2
UTIME_NOW = 0x3fffffff UTIME_NOW = 0x3fffffff
@ -3574,7 +3589,7 @@ const (
WDIOS_TEMPPANIC = 0x4 WDIOS_TEMPPANIC = 0x4
WDIOS_UNKNOWN = -0x1 WDIOS_UNKNOWN = -0x1
WEXITED = 0x4 WEXITED = 0x4
WGALLOWEDIP_A_MAX = 0x3 WGALLOWEDIP_A_MAX = 0x4
WGDEVICE_A_MAX = 0x8 WGDEVICE_A_MAX = 0x8
WGPEER_A_MAX = 0xa WGPEER_A_MAX = 0xa
WG_CMD_MAX = 0x1 WG_CMD_MAX = 0x1
@ -3688,6 +3703,7 @@ const (
XDP_SHARED_UMEM = 0x1 XDP_SHARED_UMEM = 0x1
XDP_STATISTICS = 0x7 XDP_STATISTICS = 0x7
XDP_TXMD_FLAGS_CHECKSUM = 0x2 XDP_TXMD_FLAGS_CHECKSUM = 0x2
XDP_TXMD_FLAGS_LAUNCH_TIME = 0x4
XDP_TXMD_FLAGS_TIMESTAMP = 0x1 XDP_TXMD_FLAGS_TIMESTAMP = 0x1
XDP_TX_METADATA = 0x2 XDP_TX_METADATA = 0x2
XDP_TX_RING = 0x3 XDP_TX_RING = 0x3

View file

@ -68,6 +68,7 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
DM_MPATH_PROBE_PATHS = 0xfd12
ECCGETLAYOUT = 0x81484d11 ECCGETLAYOUT = 0x81484d11
ECCGETSTATS = 0x80104d12 ECCGETSTATS = 0x80104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
@ -360,6 +361,7 @@ const (
SO_OOBINLINE = 0xa SO_OOBINLINE = 0xa
SO_PASSCRED = 0x10 SO_PASSCRED = 0x10
SO_PASSPIDFD = 0x4c SO_PASSPIDFD = 0x4c
SO_PASSRIGHTS = 0x53
SO_PASSSEC = 0x22 SO_PASSSEC = 0x22
SO_PEEK_OFF = 0x2a SO_PEEK_OFF = 0x2a
SO_PEERCRED = 0x11 SO_PEERCRED = 0x11

View file

@ -68,6 +68,7 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
DM_MPATH_PROBE_PATHS = 0xfd12
ECCGETLAYOUT = 0x81484d11 ECCGETLAYOUT = 0x81484d11
ECCGETSTATS = 0x80104d12 ECCGETSTATS = 0x80104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
@ -361,6 +362,7 @@ const (
SO_OOBINLINE = 0xa SO_OOBINLINE = 0xa
SO_PASSCRED = 0x10 SO_PASSCRED = 0x10
SO_PASSPIDFD = 0x4c SO_PASSPIDFD = 0x4c
SO_PASSRIGHTS = 0x53
SO_PASSSEC = 0x22 SO_PASSSEC = 0x22
SO_PEEK_OFF = 0x2a SO_PEEK_OFF = 0x2a
SO_PEERCRED = 0x11 SO_PEERCRED = 0x11

View file

@ -68,6 +68,7 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
DM_MPATH_PROBE_PATHS = 0xfd12
ECCGETLAYOUT = 0x81484d11 ECCGETLAYOUT = 0x81484d11
ECCGETSTATS = 0x80104d12 ECCGETSTATS = 0x80104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
@ -366,6 +367,7 @@ const (
SO_OOBINLINE = 0xa SO_OOBINLINE = 0xa
SO_PASSCRED = 0x10 SO_PASSCRED = 0x10
SO_PASSPIDFD = 0x4c SO_PASSPIDFD = 0x4c
SO_PASSRIGHTS = 0x53
SO_PASSSEC = 0x22 SO_PASSSEC = 0x22
SO_PEEK_OFF = 0x2a SO_PEEK_OFF = 0x2a
SO_PEERCRED = 0x11 SO_PEERCRED = 0x11

View file

@ -68,6 +68,7 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
DM_MPATH_PROBE_PATHS = 0xfd12
ECCGETLAYOUT = 0x81484d11 ECCGETLAYOUT = 0x81484d11
ECCGETSTATS = 0x80104d12 ECCGETSTATS = 0x80104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
@ -359,6 +360,7 @@ const (
SO_OOBINLINE = 0xa SO_OOBINLINE = 0xa
SO_PASSCRED = 0x10 SO_PASSCRED = 0x10
SO_PASSPIDFD = 0x4c SO_PASSPIDFD = 0x4c
SO_PASSRIGHTS = 0x53
SO_PASSSEC = 0x22 SO_PASSSEC = 0x22
SO_PEEK_OFF = 0x2a SO_PEEK_OFF = 0x2a
SO_PEERCRED = 0x11 SO_PEERCRED = 0x11

View file

@ -68,6 +68,7 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
DM_MPATH_PROBE_PATHS = 0xfd12
ECCGETLAYOUT = 0x81484d11 ECCGETLAYOUT = 0x81484d11
ECCGETSTATS = 0x80104d12 ECCGETSTATS = 0x80104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
@ -353,6 +354,7 @@ const (
SO_OOBINLINE = 0xa SO_OOBINLINE = 0xa
SO_PASSCRED = 0x10 SO_PASSCRED = 0x10
SO_PASSPIDFD = 0x4c SO_PASSPIDFD = 0x4c
SO_PASSRIGHTS = 0x53
SO_PASSSEC = 0x22 SO_PASSSEC = 0x22
SO_PEEK_OFF = 0x2a SO_PEEK_OFF = 0x2a
SO_PEERCRED = 0x11 SO_PEERCRED = 0x11

View file

@ -68,6 +68,7 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
DM_MPATH_PROBE_PATHS = 0x2000fd12
ECCGETLAYOUT = 0x41484d11 ECCGETLAYOUT = 0x41484d11
ECCGETSTATS = 0x40104d12 ECCGETSTATS = 0x40104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
@ -359,6 +360,7 @@ const (
SO_OOBINLINE = 0x100 SO_OOBINLINE = 0x100
SO_PASSCRED = 0x11 SO_PASSCRED = 0x11
SO_PASSPIDFD = 0x4c SO_PASSPIDFD = 0x4c
SO_PASSRIGHTS = 0x53
SO_PASSSEC = 0x22 SO_PASSSEC = 0x22
SO_PEEK_OFF = 0x2a SO_PEEK_OFF = 0x2a
SO_PEERCRED = 0x12 SO_PEERCRED = 0x12

View file

@ -68,6 +68,7 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
DM_MPATH_PROBE_PATHS = 0x2000fd12
ECCGETLAYOUT = 0x41484d11 ECCGETLAYOUT = 0x41484d11
ECCGETSTATS = 0x40104d12 ECCGETSTATS = 0x40104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
@ -359,6 +360,7 @@ const (
SO_OOBINLINE = 0x100 SO_OOBINLINE = 0x100
SO_PASSCRED = 0x11 SO_PASSCRED = 0x11
SO_PASSPIDFD = 0x4c SO_PASSPIDFD = 0x4c
SO_PASSRIGHTS = 0x53
SO_PASSSEC = 0x22 SO_PASSSEC = 0x22
SO_PEEK_OFF = 0x2a SO_PEEK_OFF = 0x2a
SO_PEERCRED = 0x12 SO_PEERCRED = 0x12

View file

@ -68,6 +68,7 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
DM_MPATH_PROBE_PATHS = 0x2000fd12
ECCGETLAYOUT = 0x41484d11 ECCGETLAYOUT = 0x41484d11
ECCGETSTATS = 0x40104d12 ECCGETSTATS = 0x40104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
@ -359,6 +360,7 @@ const (
SO_OOBINLINE = 0x100 SO_OOBINLINE = 0x100
SO_PASSCRED = 0x11 SO_PASSCRED = 0x11
SO_PASSPIDFD = 0x4c SO_PASSPIDFD = 0x4c
SO_PASSRIGHTS = 0x53
SO_PASSSEC = 0x22 SO_PASSSEC = 0x22
SO_PEEK_OFF = 0x2a SO_PEEK_OFF = 0x2a
SO_PEERCRED = 0x12 SO_PEERCRED = 0x12

View file

@ -68,6 +68,7 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
DM_MPATH_PROBE_PATHS = 0x2000fd12
ECCGETLAYOUT = 0x41484d11 ECCGETLAYOUT = 0x41484d11
ECCGETSTATS = 0x40104d12 ECCGETSTATS = 0x40104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
@ -359,6 +360,7 @@ const (
SO_OOBINLINE = 0x100 SO_OOBINLINE = 0x100
SO_PASSCRED = 0x11 SO_PASSCRED = 0x11
SO_PASSPIDFD = 0x4c SO_PASSPIDFD = 0x4c
SO_PASSRIGHTS = 0x53
SO_PASSSEC = 0x22 SO_PASSSEC = 0x22
SO_PEEK_OFF = 0x2a SO_PEEK_OFF = 0x2a
SO_PEERCRED = 0x12 SO_PEERCRED = 0x12

View file

@ -68,6 +68,7 @@ const (
CS8 = 0x300 CS8 = 0x300
CSIZE = 0x300 CSIZE = 0x300
CSTOPB = 0x400 CSTOPB = 0x400
DM_MPATH_PROBE_PATHS = 0x2000fd12
ECCGETLAYOUT = 0x41484d11 ECCGETLAYOUT = 0x41484d11
ECCGETSTATS = 0x40104d12 ECCGETSTATS = 0x40104d12
ECHOCTL = 0x40 ECHOCTL = 0x40
@ -414,6 +415,7 @@ const (
SO_OOBINLINE = 0xa SO_OOBINLINE = 0xa
SO_PASSCRED = 0x14 SO_PASSCRED = 0x14
SO_PASSPIDFD = 0x4c SO_PASSPIDFD = 0x4c
SO_PASSRIGHTS = 0x53
SO_PASSSEC = 0x22 SO_PASSSEC = 0x22
SO_PEEK_OFF = 0x2a SO_PEEK_OFF = 0x2a
SO_PEERCRED = 0x15 SO_PEERCRED = 0x15

View file

@ -68,6 +68,7 @@ const (
CS8 = 0x300 CS8 = 0x300
CSIZE = 0x300 CSIZE = 0x300
CSTOPB = 0x400 CSTOPB = 0x400
DM_MPATH_PROBE_PATHS = 0x2000fd12
ECCGETLAYOUT = 0x41484d11 ECCGETLAYOUT = 0x41484d11
ECCGETSTATS = 0x40104d12 ECCGETSTATS = 0x40104d12
ECHOCTL = 0x40 ECHOCTL = 0x40
@ -418,6 +419,7 @@ const (
SO_OOBINLINE = 0xa SO_OOBINLINE = 0xa
SO_PASSCRED = 0x14 SO_PASSCRED = 0x14
SO_PASSPIDFD = 0x4c SO_PASSPIDFD = 0x4c
SO_PASSRIGHTS = 0x53
SO_PASSSEC = 0x22 SO_PASSSEC = 0x22
SO_PEEK_OFF = 0x2a SO_PEEK_OFF = 0x2a
SO_PEERCRED = 0x15 SO_PEERCRED = 0x15

View file

@ -68,6 +68,7 @@ const (
CS8 = 0x300 CS8 = 0x300
CSIZE = 0x300 CSIZE = 0x300
CSTOPB = 0x400 CSTOPB = 0x400
DM_MPATH_PROBE_PATHS = 0x2000fd12
ECCGETLAYOUT = 0x41484d11 ECCGETLAYOUT = 0x41484d11
ECCGETSTATS = 0x40104d12 ECCGETSTATS = 0x40104d12
ECHOCTL = 0x40 ECHOCTL = 0x40
@ -418,6 +419,7 @@ const (
SO_OOBINLINE = 0xa SO_OOBINLINE = 0xa
SO_PASSCRED = 0x14 SO_PASSCRED = 0x14
SO_PASSPIDFD = 0x4c SO_PASSPIDFD = 0x4c
SO_PASSRIGHTS = 0x53
SO_PASSSEC = 0x22 SO_PASSSEC = 0x22
SO_PEEK_OFF = 0x2a SO_PEEK_OFF = 0x2a
SO_PEERCRED = 0x15 SO_PEERCRED = 0x15

View file

@ -68,6 +68,7 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
DM_MPATH_PROBE_PATHS = 0xfd12
ECCGETLAYOUT = 0x81484d11 ECCGETLAYOUT = 0x81484d11
ECCGETSTATS = 0x80104d12 ECCGETSTATS = 0x80104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
@ -350,6 +351,7 @@ const (
SO_OOBINLINE = 0xa SO_OOBINLINE = 0xa
SO_PASSCRED = 0x10 SO_PASSCRED = 0x10
SO_PASSPIDFD = 0x4c SO_PASSPIDFD = 0x4c
SO_PASSRIGHTS = 0x53
SO_PASSSEC = 0x22 SO_PASSSEC = 0x22
SO_PEEK_OFF = 0x2a SO_PEEK_OFF = 0x2a
SO_PEERCRED = 0x11 SO_PEERCRED = 0x11

View file

@ -68,6 +68,7 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
DM_MPATH_PROBE_PATHS = 0xfd12
ECCGETLAYOUT = 0x81484d11 ECCGETLAYOUT = 0x81484d11
ECCGETSTATS = 0x80104d12 ECCGETSTATS = 0x80104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
@ -422,6 +423,7 @@ const (
SO_OOBINLINE = 0xa SO_OOBINLINE = 0xa
SO_PASSCRED = 0x10 SO_PASSCRED = 0x10
SO_PASSPIDFD = 0x4c SO_PASSPIDFD = 0x4c
SO_PASSRIGHTS = 0x53
SO_PASSSEC = 0x22 SO_PASSSEC = 0x22
SO_PEEK_OFF = 0x2a SO_PEEK_OFF = 0x2a
SO_PEERCRED = 0x11 SO_PEERCRED = 0x11

View file

@ -71,6 +71,7 @@ const (
CS8 = 0x30 CS8 = 0x30
CSIZE = 0x30 CSIZE = 0x30
CSTOPB = 0x40 CSTOPB = 0x40
DM_MPATH_PROBE_PATHS = 0x2000fd12
ECCGETLAYOUT = 0x41484d11 ECCGETLAYOUT = 0x41484d11
ECCGETSTATS = 0x40104d12 ECCGETSTATS = 0x40104d12
ECHOCTL = 0x200 ECHOCTL = 0x200
@ -461,6 +462,7 @@ const (
SO_OOBINLINE = 0x100 SO_OOBINLINE = 0x100
SO_PASSCRED = 0x2 SO_PASSCRED = 0x2
SO_PASSPIDFD = 0x55 SO_PASSPIDFD = 0x55
SO_PASSRIGHTS = 0x5c
SO_PASSSEC = 0x1f SO_PASSSEC = 0x1f
SO_PEEK_OFF = 0x26 SO_PEEK_OFF = 0x26
SO_PEERCRED = 0x40 SO_PEERCRED = 0x40

View file

@ -462,4 +462,5 @@ const (
SYS_GETXATTRAT = 464 SYS_GETXATTRAT = 464
SYS_LISTXATTRAT = 465 SYS_LISTXATTRAT = 465
SYS_REMOVEXATTRAT = 466 SYS_REMOVEXATTRAT = 466
SYS_OPEN_TREE_ATTR = 467
) )

View file

@ -385,4 +385,5 @@ const (
SYS_GETXATTRAT = 464 SYS_GETXATTRAT = 464
SYS_LISTXATTRAT = 465 SYS_LISTXATTRAT = 465
SYS_REMOVEXATTRAT = 466 SYS_REMOVEXATTRAT = 466
SYS_OPEN_TREE_ATTR = 467
) )

View file

@ -426,4 +426,5 @@ const (
SYS_GETXATTRAT = 464 SYS_GETXATTRAT = 464
SYS_LISTXATTRAT = 465 SYS_LISTXATTRAT = 465
SYS_REMOVEXATTRAT = 466 SYS_REMOVEXATTRAT = 466
SYS_OPEN_TREE_ATTR = 467
) )

View file

@ -329,4 +329,5 @@ const (
SYS_GETXATTRAT = 464 SYS_GETXATTRAT = 464
SYS_LISTXATTRAT = 465 SYS_LISTXATTRAT = 465
SYS_REMOVEXATTRAT = 466 SYS_REMOVEXATTRAT = 466
SYS_OPEN_TREE_ATTR = 467
) )

View file

@ -325,4 +325,5 @@ const (
SYS_GETXATTRAT = 464 SYS_GETXATTRAT = 464
SYS_LISTXATTRAT = 465 SYS_LISTXATTRAT = 465
SYS_REMOVEXATTRAT = 466 SYS_REMOVEXATTRAT = 466
SYS_OPEN_TREE_ATTR = 467
) )

View file

@ -446,4 +446,5 @@ const (
SYS_GETXATTRAT = 4464 SYS_GETXATTRAT = 4464
SYS_LISTXATTRAT = 4465 SYS_LISTXATTRAT = 4465
SYS_REMOVEXATTRAT = 4466 SYS_REMOVEXATTRAT = 4466
SYS_OPEN_TREE_ATTR = 4467
) )

View file

@ -376,4 +376,5 @@ const (
SYS_GETXATTRAT = 5464 SYS_GETXATTRAT = 5464
SYS_LISTXATTRAT = 5465 SYS_LISTXATTRAT = 5465
SYS_REMOVEXATTRAT = 5466 SYS_REMOVEXATTRAT = 5466
SYS_OPEN_TREE_ATTR = 5467
) )

View file

@ -376,4 +376,5 @@ const (
SYS_GETXATTRAT = 5464 SYS_GETXATTRAT = 5464
SYS_LISTXATTRAT = 5465 SYS_LISTXATTRAT = 5465
SYS_REMOVEXATTRAT = 5466 SYS_REMOVEXATTRAT = 5466
SYS_OPEN_TREE_ATTR = 5467
) )

View file

@ -446,4 +446,5 @@ const (
SYS_GETXATTRAT = 4464 SYS_GETXATTRAT = 4464
SYS_LISTXATTRAT = 4465 SYS_LISTXATTRAT = 4465
SYS_REMOVEXATTRAT = 4466 SYS_REMOVEXATTRAT = 4466
SYS_OPEN_TREE_ATTR = 4467
) )

View file

@ -453,4 +453,5 @@ const (
SYS_GETXATTRAT = 464 SYS_GETXATTRAT = 464
SYS_LISTXATTRAT = 465 SYS_LISTXATTRAT = 465
SYS_REMOVEXATTRAT = 466 SYS_REMOVEXATTRAT = 466
SYS_OPEN_TREE_ATTR = 467
) )

View file

@ -425,4 +425,5 @@ const (
SYS_GETXATTRAT = 464 SYS_GETXATTRAT = 464
SYS_LISTXATTRAT = 465 SYS_LISTXATTRAT = 465
SYS_REMOVEXATTRAT = 466 SYS_REMOVEXATTRAT = 466
SYS_OPEN_TREE_ATTR = 467
) )

View file

@ -425,4 +425,5 @@ const (
SYS_GETXATTRAT = 464 SYS_GETXATTRAT = 464
SYS_LISTXATTRAT = 465 SYS_LISTXATTRAT = 465
SYS_REMOVEXATTRAT = 466 SYS_REMOVEXATTRAT = 466
SYS_OPEN_TREE_ATTR = 467
) )

View file

@ -330,4 +330,5 @@ const (
SYS_GETXATTRAT = 464 SYS_GETXATTRAT = 464
SYS_LISTXATTRAT = 465 SYS_LISTXATTRAT = 465
SYS_REMOVEXATTRAT = 466 SYS_REMOVEXATTRAT = 466
SYS_OPEN_TREE_ATTR = 467
) )

View file

@ -391,4 +391,5 @@ const (
SYS_GETXATTRAT = 464 SYS_GETXATTRAT = 464
SYS_LISTXATTRAT = 465 SYS_LISTXATTRAT = 465
SYS_REMOVEXATTRAT = 466 SYS_REMOVEXATTRAT = 466
SYS_OPEN_TREE_ATTR = 467
) )

View file

@ -404,4 +404,5 @@ const (
SYS_GETXATTRAT = 464 SYS_GETXATTRAT = 464
SYS_LISTXATTRAT = 465 SYS_LISTXATTRAT = 465
SYS_REMOVEXATTRAT = 466 SYS_REMOVEXATTRAT = 466
SYS_OPEN_TREE_ATTR = 467
) )

View file

@ -115,7 +115,9 @@ type Statx_t struct {
Atomic_write_unit_max uint32 Atomic_write_unit_max uint32
Atomic_write_segments_max uint32 Atomic_write_segments_max uint32
Dio_read_offset_align uint32 Dio_read_offset_align uint32
_ [9]uint64 Atomic_write_unit_max_opt uint32
_ [1]uint32
_ [8]uint64
} }
type Fsid struct { type Fsid struct {
@ -199,7 +201,8 @@ type FscryptAddKeyArg struct {
Key_spec FscryptKeySpecifier Key_spec FscryptKeySpecifier
Raw_size uint32 Raw_size uint32
Key_id uint32 Key_id uint32
_ [8]uint32 Flags uint32
_ [7]uint32
} }
type FscryptRemoveKeyArg struct { type FscryptRemoveKeyArg struct {
@ -2317,6 +2320,11 @@ const (
NFT_CT_AVGPKT = 0x10 NFT_CT_AVGPKT = 0x10
NFT_CT_ZONE = 0x11 NFT_CT_ZONE = 0x11
NFT_CT_EVENTMASK = 0x12 NFT_CT_EVENTMASK = 0x12
NFT_CT_SRC_IP = 0x13
NFT_CT_DST_IP = 0x14
NFT_CT_SRC_IP6 = 0x15
NFT_CT_DST_IP6 = 0x16
NFT_CT_ID = 0x17
NFTA_CT_UNSPEC = 0x0 NFTA_CT_UNSPEC = 0x0
NFTA_CT_DREG = 0x1 NFTA_CT_DREG = 0x1
NFTA_CT_KEY = 0x2 NFTA_CT_KEY = 0x2
@ -2597,8 +2605,8 @@ const (
SOF_TIMESTAMPING_BIND_PHC = 0x8000 SOF_TIMESTAMPING_BIND_PHC = 0x8000
SOF_TIMESTAMPING_OPT_ID_TCP = 0x10000 SOF_TIMESTAMPING_OPT_ID_TCP = 0x10000
SOF_TIMESTAMPING_LAST = 0x20000 SOF_TIMESTAMPING_LAST = 0x40000
SOF_TIMESTAMPING_MASK = 0x3ffff SOF_TIMESTAMPING_MASK = 0x7ffff
SCM_TSTAMP_SND = 0x0 SCM_TSTAMP_SND = 0x0
SCM_TSTAMP_SCHED = 0x1 SCM_TSTAMP_SCHED = 0x1
@ -4044,7 +4052,7 @@ const (
ETHTOOL_A_TSINFO_PHC_INDEX = 0x5 ETHTOOL_A_TSINFO_PHC_INDEX = 0x5
ETHTOOL_A_TSINFO_STATS = 0x6 ETHTOOL_A_TSINFO_STATS = 0x6
ETHTOOL_A_TSINFO_HWTSTAMP_PROVIDER = 0x7 ETHTOOL_A_TSINFO_HWTSTAMP_PROVIDER = 0x7
ETHTOOL_A_TSINFO_MAX = 0x7 ETHTOOL_A_TSINFO_MAX = 0x9
ETHTOOL_A_CABLE_TEST_UNSPEC = 0x0 ETHTOOL_A_CABLE_TEST_UNSPEC = 0x0
ETHTOOL_A_CABLE_TEST_HEADER = 0x1 ETHTOOL_A_CABLE_TEST_HEADER = 0x1
ETHTOOL_A_CABLE_TEST_MAX = 0x1 ETHTOOL_A_CABLE_TEST_MAX = 0x1
@ -4130,6 +4138,19 @@ const (
ETHTOOL_A_TUNNEL_INFO_MAX = 0x2 ETHTOOL_A_TUNNEL_INFO_MAX = 0x2
) )
const (
TCP_V4_FLOW = 0x1
UDP_V4_FLOW = 0x2
TCP_V6_FLOW = 0x5
UDP_V6_FLOW = 0x6
ESP_V4_FLOW = 0xa
ESP_V6_FLOW = 0xc
IP_USER_FLOW = 0xd
IPV6_USER_FLOW = 0xe
IPV6_FLOW = 0x11
ETHER_FLOW = 0x12
)
const SPEED_UNKNOWN = -0x1 const SPEED_UNKNOWN = -0x1
type EthtoolDrvinfo struct { type EthtoolDrvinfo struct {
@ -4780,7 +4801,7 @@ const (
NL80211_ATTR_MAC_HINT = 0xc8 NL80211_ATTR_MAC_HINT = 0xc8
NL80211_ATTR_MAC_MASK = 0xd7 NL80211_ATTR_MAC_MASK = 0xd7
NL80211_ATTR_MAX_AP_ASSOC_STA = 0xca NL80211_ATTR_MAX_AP_ASSOC_STA = 0xca
NL80211_ATTR_MAX = 0x150 NL80211_ATTR_MAX = 0x151
NL80211_ATTR_MAX_CRIT_PROT_DURATION = 0xb4 NL80211_ATTR_MAX_CRIT_PROT_DURATION = 0xb4
NL80211_ATTR_MAX_CSA_COUNTERS = 0xce NL80211_ATTR_MAX_CSA_COUNTERS = 0xce
NL80211_ATTR_MAX_HW_TIMESTAMP_PEERS = 0x143 NL80211_ATTR_MAX_HW_TIMESTAMP_PEERS = 0x143
@ -5414,7 +5435,7 @@ const (
NL80211_FREQUENCY_ATTR_GO_CONCURRENT = 0xf NL80211_FREQUENCY_ATTR_GO_CONCURRENT = 0xf
NL80211_FREQUENCY_ATTR_INDOOR_ONLY = 0xe NL80211_FREQUENCY_ATTR_INDOOR_ONLY = 0xe
NL80211_FREQUENCY_ATTR_IR_CONCURRENT = 0xf NL80211_FREQUENCY_ATTR_IR_CONCURRENT = 0xf
NL80211_FREQUENCY_ATTR_MAX = 0x21 NL80211_FREQUENCY_ATTR_MAX = 0x22
NL80211_FREQUENCY_ATTR_MAX_TX_POWER = 0x6 NL80211_FREQUENCY_ATTR_MAX_TX_POWER = 0x6
NL80211_FREQUENCY_ATTR_NO_10MHZ = 0x11 NL80211_FREQUENCY_ATTR_NO_10MHZ = 0x11
NL80211_FREQUENCY_ATTR_NO_160MHZ = 0xc NL80211_FREQUENCY_ATTR_NO_160MHZ = 0xc
@ -5530,7 +5551,7 @@ const (
NL80211_MAX_SUPP_SELECTORS = 0x80 NL80211_MAX_SUPP_SELECTORS = 0x80
NL80211_MBSSID_CONFIG_ATTR_EMA = 0x5 NL80211_MBSSID_CONFIG_ATTR_EMA = 0x5
NL80211_MBSSID_CONFIG_ATTR_INDEX = 0x3 NL80211_MBSSID_CONFIG_ATTR_INDEX = 0x3
NL80211_MBSSID_CONFIG_ATTR_MAX = 0x5 NL80211_MBSSID_CONFIG_ATTR_MAX = 0x6
NL80211_MBSSID_CONFIG_ATTR_MAX_EMA_PROFILE_PERIODICITY = 0x2 NL80211_MBSSID_CONFIG_ATTR_MAX_EMA_PROFILE_PERIODICITY = 0x2
NL80211_MBSSID_CONFIG_ATTR_MAX_INTERFACES = 0x1 NL80211_MBSSID_CONFIG_ATTR_MAX_INTERFACES = 0x1
NL80211_MBSSID_CONFIG_ATTR_TX_IFINDEX = 0x4 NL80211_MBSSID_CONFIG_ATTR_TX_IFINDEX = 0x4

View file

@ -282,19 +282,13 @@ type Taskstats struct {
Ac_exitcode uint32 Ac_exitcode uint32
Ac_flag uint8 Ac_flag uint8
Ac_nice uint8 Ac_nice uint8
_ [4]byte _ [6]byte
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_count uint64 Blkio_count uint64
Blkio_delay_total uint64 Blkio_delay_total uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_count uint64 Swapin_count uint64
Swapin_delay_total uint64 Swapin_delay_total uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Cpu_run_real_total uint64 Cpu_run_real_total uint64
Cpu_run_virtual_total uint64 Cpu_run_virtual_total uint64
Ac_comm [32]int8 Ac_comm [32]int8
@ -330,17 +324,11 @@ type Taskstats struct {
Cpu_scaled_run_real_total uint64 Cpu_scaled_run_real_total uint64
Freepages_count uint64 Freepages_count uint64
Freepages_delay_total uint64 Freepages_delay_total uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_count uint64 Thrashing_count uint64
Thrashing_delay_total uint64 Thrashing_delay_total uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Ac_btime64 uint64 Ac_btime64 uint64
Compact_count uint64 Compact_count uint64
Compact_delay_total uint64 Compact_delay_total uint64
Compact_delay_max uint64
Compact_delay_min uint64
Ac_tgid uint32 Ac_tgid uint32
_ [4]byte _ [4]byte
Ac_tgetime uint64 Ac_tgetime uint64
@ -348,10 +336,22 @@ type Taskstats struct {
Ac_exe_inode uint64 Ac_exe_inode uint64
Wpcopy_count uint64 Wpcopy_count uint64
Wpcopy_delay_total uint64 Wpcopy_delay_total uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_count uint64 Irq_count uint64
Irq_delay_total uint64 Irq_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Compact_delay_max uint64
Compact_delay_min uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_delay_max uint64 Irq_delay_max uint64
Irq_delay_min uint64 Irq_delay_min uint64
} }

View file

@ -300,16 +300,10 @@ type Taskstats struct {
Ac_nice uint8 Ac_nice uint8
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_count uint64 Blkio_count uint64
Blkio_delay_total uint64 Blkio_delay_total uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_count uint64 Swapin_count uint64
Swapin_delay_total uint64 Swapin_delay_total uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Cpu_run_real_total uint64 Cpu_run_real_total uint64
Cpu_run_virtual_total uint64 Cpu_run_virtual_total uint64
Ac_comm [32]int8 Ac_comm [32]int8
@ -344,27 +338,33 @@ type Taskstats struct {
Cpu_scaled_run_real_total uint64 Cpu_scaled_run_real_total uint64
Freepages_count uint64 Freepages_count uint64
Freepages_delay_total uint64 Freepages_delay_total uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_count uint64 Thrashing_count uint64
Thrashing_delay_total uint64 Thrashing_delay_total uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Ac_btime64 uint64 Ac_btime64 uint64
Compact_count uint64 Compact_count uint64
Compact_delay_total uint64 Compact_delay_total uint64
Compact_delay_max uint64
Compact_delay_min uint64
Ac_tgid uint32 Ac_tgid uint32
Ac_tgetime uint64 Ac_tgetime uint64
Ac_exe_dev uint64 Ac_exe_dev uint64
Ac_exe_inode uint64 Ac_exe_inode uint64
Wpcopy_count uint64 Wpcopy_count uint64
Wpcopy_delay_total uint64 Wpcopy_delay_total uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_count uint64 Irq_count uint64
Irq_delay_total uint64 Irq_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Compact_delay_max uint64
Compact_delay_min uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_delay_max uint64 Irq_delay_max uint64
Irq_delay_min uint64 Irq_delay_min uint64
} }

View file

@ -91,7 +91,7 @@ type Stat_t struct {
Gid uint32 Gid uint32
Rdev uint64 Rdev uint64
_ uint16 _ uint16
_ [4]byte _ [6]byte
Size int64 Size int64
Blksize int32 Blksize int32
_ [4]byte _ [4]byte
@ -273,19 +273,13 @@ type Taskstats struct {
Ac_exitcode uint32 Ac_exitcode uint32
Ac_flag uint8 Ac_flag uint8
Ac_nice uint8 Ac_nice uint8
_ [4]byte _ [6]byte
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_count uint64 Blkio_count uint64
Blkio_delay_total uint64 Blkio_delay_total uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_count uint64 Swapin_count uint64
Swapin_delay_total uint64 Swapin_delay_total uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Cpu_run_real_total uint64 Cpu_run_real_total uint64
Cpu_run_virtual_total uint64 Cpu_run_virtual_total uint64
Ac_comm [32]uint8 Ac_comm [32]uint8
@ -321,17 +315,11 @@ type Taskstats struct {
Cpu_scaled_run_real_total uint64 Cpu_scaled_run_real_total uint64
Freepages_count uint64 Freepages_count uint64
Freepages_delay_total uint64 Freepages_delay_total uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_count uint64 Thrashing_count uint64
Thrashing_delay_total uint64 Thrashing_delay_total uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Ac_btime64 uint64 Ac_btime64 uint64
Compact_count uint64 Compact_count uint64
Compact_delay_total uint64 Compact_delay_total uint64
Compact_delay_max uint64
Compact_delay_min uint64
Ac_tgid uint32 Ac_tgid uint32
_ [4]byte _ [4]byte
Ac_tgetime uint64 Ac_tgetime uint64
@ -339,10 +327,22 @@ type Taskstats struct {
Ac_exe_inode uint64 Ac_exe_inode uint64
Wpcopy_count uint64 Wpcopy_count uint64
Wpcopy_delay_total uint64 Wpcopy_delay_total uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_count uint64 Irq_count uint64
Irq_delay_total uint64 Irq_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Compact_delay_max uint64
Compact_delay_min uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_delay_max uint64 Irq_delay_max uint64
Irq_delay_min uint64 Irq_delay_min uint64
} }

View file

@ -279,16 +279,10 @@ type Taskstats struct {
Ac_nice uint8 Ac_nice uint8
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_count uint64 Blkio_count uint64
Blkio_delay_total uint64 Blkio_delay_total uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_count uint64 Swapin_count uint64
Swapin_delay_total uint64 Swapin_delay_total uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Cpu_run_real_total uint64 Cpu_run_real_total uint64
Cpu_run_virtual_total uint64 Cpu_run_virtual_total uint64
Ac_comm [32]int8 Ac_comm [32]int8
@ -323,27 +317,33 @@ type Taskstats struct {
Cpu_scaled_run_real_total uint64 Cpu_scaled_run_real_total uint64
Freepages_count uint64 Freepages_count uint64
Freepages_delay_total uint64 Freepages_delay_total uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_count uint64 Thrashing_count uint64
Thrashing_delay_total uint64 Thrashing_delay_total uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Ac_btime64 uint64 Ac_btime64 uint64
Compact_count uint64 Compact_count uint64
Compact_delay_total uint64 Compact_delay_total uint64
Compact_delay_max uint64
Compact_delay_min uint64
Ac_tgid uint32 Ac_tgid uint32
Ac_tgetime uint64 Ac_tgetime uint64
Ac_exe_dev uint64 Ac_exe_dev uint64
Ac_exe_inode uint64 Ac_exe_inode uint64
Wpcopy_count uint64 Wpcopy_count uint64
Wpcopy_delay_total uint64 Wpcopy_delay_total uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_count uint64 Irq_count uint64
Irq_delay_total uint64 Irq_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Compact_delay_max uint64
Compact_delay_min uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_delay_max uint64 Irq_delay_max uint64
Irq_delay_min uint64 Irq_delay_min uint64
} }

View file

@ -280,16 +280,10 @@ type Taskstats struct {
Ac_nice uint8 Ac_nice uint8
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_count uint64 Blkio_count uint64
Blkio_delay_total uint64 Blkio_delay_total uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_count uint64 Swapin_count uint64
Swapin_delay_total uint64 Swapin_delay_total uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Cpu_run_real_total uint64 Cpu_run_real_total uint64
Cpu_run_virtual_total uint64 Cpu_run_virtual_total uint64
Ac_comm [32]int8 Ac_comm [32]int8
@ -324,27 +318,33 @@ type Taskstats struct {
Cpu_scaled_run_real_total uint64 Cpu_scaled_run_real_total uint64
Freepages_count uint64 Freepages_count uint64
Freepages_delay_total uint64 Freepages_delay_total uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_count uint64 Thrashing_count uint64
Thrashing_delay_total uint64 Thrashing_delay_total uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Ac_btime64 uint64 Ac_btime64 uint64
Compact_count uint64 Compact_count uint64
Compact_delay_total uint64 Compact_delay_total uint64
Compact_delay_max uint64
Compact_delay_min uint64
Ac_tgid uint32 Ac_tgid uint32
Ac_tgetime uint64 Ac_tgetime uint64
Ac_exe_dev uint64 Ac_exe_dev uint64
Ac_exe_inode uint64 Ac_exe_inode uint64
Wpcopy_count uint64 Wpcopy_count uint64
Wpcopy_delay_total uint64 Wpcopy_delay_total uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_count uint64 Irq_count uint64
Irq_delay_total uint64 Irq_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Compact_delay_max uint64
Compact_delay_min uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_delay_max uint64 Irq_delay_max uint64
Irq_delay_min uint64 Irq_delay_min uint64
} }

View file

@ -278,19 +278,13 @@ type Taskstats struct {
Ac_exitcode uint32 Ac_exitcode uint32
Ac_flag uint8 Ac_flag uint8
Ac_nice uint8 Ac_nice uint8
_ [4]byte _ [6]byte
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_count uint64 Blkio_count uint64
Blkio_delay_total uint64 Blkio_delay_total uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_count uint64 Swapin_count uint64
Swapin_delay_total uint64 Swapin_delay_total uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Cpu_run_real_total uint64 Cpu_run_real_total uint64
Cpu_run_virtual_total uint64 Cpu_run_virtual_total uint64
Ac_comm [32]int8 Ac_comm [32]int8
@ -326,17 +320,11 @@ type Taskstats struct {
Cpu_scaled_run_real_total uint64 Cpu_scaled_run_real_total uint64
Freepages_count uint64 Freepages_count uint64
Freepages_delay_total uint64 Freepages_delay_total uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_count uint64 Thrashing_count uint64
Thrashing_delay_total uint64 Thrashing_delay_total uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Ac_btime64 uint64 Ac_btime64 uint64
Compact_count uint64 Compact_count uint64
Compact_delay_total uint64 Compact_delay_total uint64
Compact_delay_max uint64
Compact_delay_min uint64
Ac_tgid uint32 Ac_tgid uint32
_ [4]byte _ [4]byte
Ac_tgetime uint64 Ac_tgetime uint64
@ -344,10 +332,22 @@ type Taskstats struct {
Ac_exe_inode uint64 Ac_exe_inode uint64
Wpcopy_count uint64 Wpcopy_count uint64
Wpcopy_delay_total uint64 Wpcopy_delay_total uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_count uint64 Irq_count uint64
Irq_delay_total uint64 Irq_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Compact_delay_max uint64
Compact_delay_min uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_delay_max uint64 Irq_delay_max uint64
Irq_delay_min uint64 Irq_delay_min uint64
} }

View file

@ -282,16 +282,10 @@ type Taskstats struct {
Ac_nice uint8 Ac_nice uint8
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_count uint64 Blkio_count uint64
Blkio_delay_total uint64 Blkio_delay_total uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_count uint64 Swapin_count uint64
Swapin_delay_total uint64 Swapin_delay_total uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Cpu_run_real_total uint64 Cpu_run_real_total uint64
Cpu_run_virtual_total uint64 Cpu_run_virtual_total uint64
Ac_comm [32]int8 Ac_comm [32]int8
@ -326,27 +320,33 @@ type Taskstats struct {
Cpu_scaled_run_real_total uint64 Cpu_scaled_run_real_total uint64
Freepages_count uint64 Freepages_count uint64
Freepages_delay_total uint64 Freepages_delay_total uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_count uint64 Thrashing_count uint64
Thrashing_delay_total uint64 Thrashing_delay_total uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Ac_btime64 uint64 Ac_btime64 uint64
Compact_count uint64 Compact_count uint64
Compact_delay_total uint64 Compact_delay_total uint64
Compact_delay_max uint64
Compact_delay_min uint64
Ac_tgid uint32 Ac_tgid uint32
Ac_tgetime uint64 Ac_tgetime uint64
Ac_exe_dev uint64 Ac_exe_dev uint64
Ac_exe_inode uint64 Ac_exe_inode uint64
Wpcopy_count uint64 Wpcopy_count uint64
Wpcopy_delay_total uint64 Wpcopy_delay_total uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_count uint64 Irq_count uint64
Irq_delay_total uint64 Irq_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Compact_delay_max uint64
Compact_delay_min uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_delay_max uint64 Irq_delay_max uint64
Irq_delay_min uint64 Irq_delay_min uint64
} }

View file

@ -282,16 +282,10 @@ type Taskstats struct {
Ac_nice uint8 Ac_nice uint8
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_count uint64 Blkio_count uint64
Blkio_delay_total uint64 Blkio_delay_total uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_count uint64 Swapin_count uint64
Swapin_delay_total uint64 Swapin_delay_total uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Cpu_run_real_total uint64 Cpu_run_real_total uint64
Cpu_run_virtual_total uint64 Cpu_run_virtual_total uint64
Ac_comm [32]int8 Ac_comm [32]int8
@ -326,27 +320,33 @@ type Taskstats struct {
Cpu_scaled_run_real_total uint64 Cpu_scaled_run_real_total uint64
Freepages_count uint64 Freepages_count uint64
Freepages_delay_total uint64 Freepages_delay_total uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_count uint64 Thrashing_count uint64
Thrashing_delay_total uint64 Thrashing_delay_total uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Ac_btime64 uint64 Ac_btime64 uint64
Compact_count uint64 Compact_count uint64
Compact_delay_total uint64 Compact_delay_total uint64
Compact_delay_max uint64
Compact_delay_min uint64
Ac_tgid uint32 Ac_tgid uint32
Ac_tgetime uint64 Ac_tgetime uint64
Ac_exe_dev uint64 Ac_exe_dev uint64
Ac_exe_inode uint64 Ac_exe_inode uint64
Wpcopy_count uint64 Wpcopy_count uint64
Wpcopy_delay_total uint64 Wpcopy_delay_total uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_count uint64 Irq_count uint64
Irq_delay_total uint64 Irq_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Compact_delay_max uint64
Compact_delay_min uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_delay_max uint64 Irq_delay_max uint64
Irq_delay_min uint64 Irq_delay_min uint64
} }

View file

@ -278,19 +278,13 @@ type Taskstats struct {
Ac_exitcode uint32 Ac_exitcode uint32
Ac_flag uint8 Ac_flag uint8
Ac_nice uint8 Ac_nice uint8
_ [4]byte _ [6]byte
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_count uint64 Blkio_count uint64
Blkio_delay_total uint64 Blkio_delay_total uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_count uint64 Swapin_count uint64
Swapin_delay_total uint64 Swapin_delay_total uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Cpu_run_real_total uint64 Cpu_run_real_total uint64
Cpu_run_virtual_total uint64 Cpu_run_virtual_total uint64
Ac_comm [32]int8 Ac_comm [32]int8
@ -326,17 +320,11 @@ type Taskstats struct {
Cpu_scaled_run_real_total uint64 Cpu_scaled_run_real_total uint64
Freepages_count uint64 Freepages_count uint64
Freepages_delay_total uint64 Freepages_delay_total uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_count uint64 Thrashing_count uint64
Thrashing_delay_total uint64 Thrashing_delay_total uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Ac_btime64 uint64 Ac_btime64 uint64
Compact_count uint64 Compact_count uint64
Compact_delay_total uint64 Compact_delay_total uint64
Compact_delay_max uint64
Compact_delay_min uint64
Ac_tgid uint32 Ac_tgid uint32
_ [4]byte _ [4]byte
Ac_tgetime uint64 Ac_tgetime uint64
@ -344,10 +332,22 @@ type Taskstats struct {
Ac_exe_inode uint64 Ac_exe_inode uint64
Wpcopy_count uint64 Wpcopy_count uint64
Wpcopy_delay_total uint64 Wpcopy_delay_total uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_count uint64 Irq_count uint64
Irq_delay_total uint64 Irq_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Compact_delay_max uint64
Compact_delay_min uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_delay_max uint64 Irq_delay_max uint64
Irq_delay_min uint64 Irq_delay_min uint64
} }

View file

@ -90,7 +90,7 @@ type Stat_t struct {
Gid uint32 Gid uint32
Rdev uint64 Rdev uint64
_ uint16 _ uint16
_ [4]byte _ [6]byte
Size int64 Size int64
Blksize int32 Blksize int32
_ [4]byte _ [4]byte
@ -285,19 +285,13 @@ type Taskstats struct {
Ac_exitcode uint32 Ac_exitcode uint32
Ac_flag uint8 Ac_flag uint8
Ac_nice uint8 Ac_nice uint8
_ [4]byte _ [6]byte
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_count uint64 Blkio_count uint64
Blkio_delay_total uint64 Blkio_delay_total uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_count uint64 Swapin_count uint64
Swapin_delay_total uint64 Swapin_delay_total uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Cpu_run_real_total uint64 Cpu_run_real_total uint64
Cpu_run_virtual_total uint64 Cpu_run_virtual_total uint64
Ac_comm [32]uint8 Ac_comm [32]uint8
@ -333,17 +327,11 @@ type Taskstats struct {
Cpu_scaled_run_real_total uint64 Cpu_scaled_run_real_total uint64
Freepages_count uint64 Freepages_count uint64
Freepages_delay_total uint64 Freepages_delay_total uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_count uint64 Thrashing_count uint64
Thrashing_delay_total uint64 Thrashing_delay_total uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Ac_btime64 uint64 Ac_btime64 uint64
Compact_count uint64 Compact_count uint64
Compact_delay_total uint64 Compact_delay_total uint64
Compact_delay_max uint64
Compact_delay_min uint64
Ac_tgid uint32 Ac_tgid uint32
_ [4]byte _ [4]byte
Ac_tgetime uint64 Ac_tgetime uint64
@ -351,10 +339,22 @@ type Taskstats struct {
Ac_exe_inode uint64 Ac_exe_inode uint64
Wpcopy_count uint64 Wpcopy_count uint64
Wpcopy_delay_total uint64 Wpcopy_delay_total uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_count uint64 Irq_count uint64
Irq_delay_total uint64 Irq_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Compact_delay_max uint64
Compact_delay_min uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_delay_max uint64 Irq_delay_max uint64
Irq_delay_min uint64 Irq_delay_min uint64
} }

View file

@ -289,16 +289,10 @@ type Taskstats struct {
Ac_nice uint8 Ac_nice uint8
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_count uint64 Blkio_count uint64
Blkio_delay_total uint64 Blkio_delay_total uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_count uint64 Swapin_count uint64
Swapin_delay_total uint64 Swapin_delay_total uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Cpu_run_real_total uint64 Cpu_run_real_total uint64
Cpu_run_virtual_total uint64 Cpu_run_virtual_total uint64
Ac_comm [32]uint8 Ac_comm [32]uint8
@ -333,27 +327,33 @@ type Taskstats struct {
Cpu_scaled_run_real_total uint64 Cpu_scaled_run_real_total uint64
Freepages_count uint64 Freepages_count uint64
Freepages_delay_total uint64 Freepages_delay_total uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_count uint64 Thrashing_count uint64
Thrashing_delay_total uint64 Thrashing_delay_total uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Ac_btime64 uint64 Ac_btime64 uint64
Compact_count uint64 Compact_count uint64
Compact_delay_total uint64 Compact_delay_total uint64
Compact_delay_max uint64
Compact_delay_min uint64
Ac_tgid uint32 Ac_tgid uint32
Ac_tgetime uint64 Ac_tgetime uint64
Ac_exe_dev uint64 Ac_exe_dev uint64
Ac_exe_inode uint64 Ac_exe_inode uint64
Wpcopy_count uint64 Wpcopy_count uint64
Wpcopy_delay_total uint64 Wpcopy_delay_total uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_count uint64 Irq_count uint64
Irq_delay_total uint64 Irq_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Compact_delay_max uint64
Compact_delay_min uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_delay_max uint64 Irq_delay_max uint64
Irq_delay_min uint64 Irq_delay_min uint64
} }

View file

@ -289,16 +289,10 @@ type Taskstats struct {
Ac_nice uint8 Ac_nice uint8
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_count uint64 Blkio_count uint64
Blkio_delay_total uint64 Blkio_delay_total uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_count uint64 Swapin_count uint64
Swapin_delay_total uint64 Swapin_delay_total uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Cpu_run_real_total uint64 Cpu_run_real_total uint64
Cpu_run_virtual_total uint64 Cpu_run_virtual_total uint64
Ac_comm [32]uint8 Ac_comm [32]uint8
@ -333,27 +327,33 @@ type Taskstats struct {
Cpu_scaled_run_real_total uint64 Cpu_scaled_run_real_total uint64
Freepages_count uint64 Freepages_count uint64
Freepages_delay_total uint64 Freepages_delay_total uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_count uint64 Thrashing_count uint64
Thrashing_delay_total uint64 Thrashing_delay_total uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Ac_btime64 uint64 Ac_btime64 uint64
Compact_count uint64 Compact_count uint64
Compact_delay_total uint64 Compact_delay_total uint64
Compact_delay_max uint64
Compact_delay_min uint64
Ac_tgid uint32 Ac_tgid uint32
Ac_tgetime uint64 Ac_tgetime uint64
Ac_exe_dev uint64 Ac_exe_dev uint64
Ac_exe_inode uint64 Ac_exe_inode uint64
Wpcopy_count uint64 Wpcopy_count uint64
Wpcopy_delay_total uint64 Wpcopy_delay_total uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_count uint64 Irq_count uint64
Irq_delay_total uint64 Irq_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Compact_delay_max uint64
Compact_delay_min uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_delay_max uint64 Irq_delay_max uint64
Irq_delay_min uint64 Irq_delay_min uint64
} }

View file

@ -307,16 +307,10 @@ type Taskstats struct {
Ac_nice uint8 Ac_nice uint8
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_count uint64 Blkio_count uint64
Blkio_delay_total uint64 Blkio_delay_total uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_count uint64 Swapin_count uint64
Swapin_delay_total uint64 Swapin_delay_total uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Cpu_run_real_total uint64 Cpu_run_real_total uint64
Cpu_run_virtual_total uint64 Cpu_run_virtual_total uint64
Ac_comm [32]uint8 Ac_comm [32]uint8
@ -351,27 +345,33 @@ type Taskstats struct {
Cpu_scaled_run_real_total uint64 Cpu_scaled_run_real_total uint64
Freepages_count uint64 Freepages_count uint64
Freepages_delay_total uint64 Freepages_delay_total uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_count uint64 Thrashing_count uint64
Thrashing_delay_total uint64 Thrashing_delay_total uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Ac_btime64 uint64 Ac_btime64 uint64
Compact_count uint64 Compact_count uint64
Compact_delay_total uint64 Compact_delay_total uint64
Compact_delay_max uint64
Compact_delay_min uint64
Ac_tgid uint32 Ac_tgid uint32
Ac_tgetime uint64 Ac_tgetime uint64
Ac_exe_dev uint64 Ac_exe_dev uint64
Ac_exe_inode uint64 Ac_exe_inode uint64
Wpcopy_count uint64 Wpcopy_count uint64
Wpcopy_delay_total uint64 Wpcopy_delay_total uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_count uint64 Irq_count uint64
Irq_delay_total uint64 Irq_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Compact_delay_max uint64
Compact_delay_min uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_delay_max uint64 Irq_delay_max uint64
Irq_delay_min uint64 Irq_delay_min uint64
} }

View file

@ -302,16 +302,10 @@ type Taskstats struct {
Ac_nice uint8 Ac_nice uint8
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_count uint64 Blkio_count uint64
Blkio_delay_total uint64 Blkio_delay_total uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_count uint64 Swapin_count uint64
Swapin_delay_total uint64 Swapin_delay_total uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Cpu_run_real_total uint64 Cpu_run_real_total uint64
Cpu_run_virtual_total uint64 Cpu_run_virtual_total uint64
Ac_comm [32]int8 Ac_comm [32]int8
@ -346,27 +340,33 @@ type Taskstats struct {
Cpu_scaled_run_real_total uint64 Cpu_scaled_run_real_total uint64
Freepages_count uint64 Freepages_count uint64
Freepages_delay_total uint64 Freepages_delay_total uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_count uint64 Thrashing_count uint64
Thrashing_delay_total uint64 Thrashing_delay_total uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Ac_btime64 uint64 Ac_btime64 uint64
Compact_count uint64 Compact_count uint64
Compact_delay_total uint64 Compact_delay_total uint64
Compact_delay_max uint64
Compact_delay_min uint64
Ac_tgid uint32 Ac_tgid uint32
Ac_tgetime uint64 Ac_tgetime uint64
Ac_exe_dev uint64 Ac_exe_dev uint64
Ac_exe_inode uint64 Ac_exe_inode uint64
Wpcopy_count uint64 Wpcopy_count uint64
Wpcopy_delay_total uint64 Wpcopy_delay_total uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_count uint64 Irq_count uint64
Irq_delay_total uint64 Irq_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Compact_delay_max uint64
Compact_delay_min uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_delay_max uint64 Irq_delay_max uint64
Irq_delay_min uint64 Irq_delay_min uint64
} }

View file

@ -284,16 +284,10 @@ type Taskstats struct {
Ac_nice uint8 Ac_nice uint8
Cpu_count uint64 Cpu_count uint64
Cpu_delay_total uint64 Cpu_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_count uint64 Blkio_count uint64
Blkio_delay_total uint64 Blkio_delay_total uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_count uint64 Swapin_count uint64
Swapin_delay_total uint64 Swapin_delay_total uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Cpu_run_real_total uint64 Cpu_run_real_total uint64
Cpu_run_virtual_total uint64 Cpu_run_virtual_total uint64
Ac_comm [32]int8 Ac_comm [32]int8
@ -328,27 +322,33 @@ type Taskstats struct {
Cpu_scaled_run_real_total uint64 Cpu_scaled_run_real_total uint64
Freepages_count uint64 Freepages_count uint64
Freepages_delay_total uint64 Freepages_delay_total uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_count uint64 Thrashing_count uint64
Thrashing_delay_total uint64 Thrashing_delay_total uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Ac_btime64 uint64 Ac_btime64 uint64
Compact_count uint64 Compact_count uint64
Compact_delay_total uint64 Compact_delay_total uint64
Compact_delay_max uint64
Compact_delay_min uint64
Ac_tgid uint32 Ac_tgid uint32
Ac_tgetime uint64 Ac_tgetime uint64
Ac_exe_dev uint64 Ac_exe_dev uint64
Ac_exe_inode uint64 Ac_exe_inode uint64
Wpcopy_count uint64 Wpcopy_count uint64
Wpcopy_delay_total uint64 Wpcopy_delay_total uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_count uint64 Irq_count uint64
Irq_delay_total uint64 Irq_delay_total uint64
Cpu_delay_max uint64
Cpu_delay_min uint64
Blkio_delay_max uint64
Blkio_delay_min uint64
Swapin_delay_max uint64
Swapin_delay_min uint64
Freepages_delay_max uint64
Freepages_delay_min uint64
Thrashing_delay_max uint64
Thrashing_delay_min uint64
Compact_delay_max uint64
Compact_delay_min uint64
Wpcopy_delay_max uint64
Wpcopy_delay_min uint64
Irq_delay_max uint64 Irq_delay_max uint64
Irq_delay_min uint64 Irq_delay_min uint64
} }

Some files were not shown because too many files have changed in this diff Show more