Skip to content

[release-4.22] OCPBUGS-101535: Address CVE-2026-42502 - #1579

Open
ocp-sustaining-admins wants to merge 2 commits into
openshift:release-4.22from
openshift-sustaining:release-4.22_CVE-2026-42502
Open

[release-4.22] OCPBUGS-101535: Address CVE-2026-42502#1579
ocp-sustaining-admins wants to merge 2 commits into
openshift:release-4.22from
openshift-sustaining:release-4.22_CVE-2026-42502

Conversation

@ocp-sustaining-admins

Copy link
Copy Markdown

This is an automated PR from the ARC system.

This change addresses CVE-2026-42502 by updating golang.org/x/net/html on branch release-4.22.

Changes were generated using the following commands:

./ $ go1.25.12 get golang.org/x/net/html@v0.55.0
./ $ go1.25.12 mod tidy
./ $ go1.25.12 mod vendor

A member of the Red Hat Openshift Sustaining Team will review the PR and take appropriate action.

Common PR issues and how to fix them:
  1. Title needs to be changed:
    This might be needed if a PR references multiple Jira issues and some of them have been closed as duplicates.

    Use /retitle <NEW TITLE> command from openshift-ci bot

    openshift-ci bot commands

  2. verify-commits check is failing:
    Commits need to be in the format UPSTREAM: PR#|<carry>|<drop>: <commit message>.

    You can do achieve this by doing one of the following:

    • Rerunning the ARC Remediation and specifying an Upstream PR Number.
    • Cloning the ARC Fork, using git commit --amend -m <commit message> and force pushing the changes to the fork.

    verify-commits documentation

rh-arc Bot added 2 commits August 9, 2026 04:53
This commit was automatically generated by the ARC system to address CVE-2026-42502.

Changes were generated using the following commands:

    ./ $ go1.25.12 get golang.org/x/net/html@v0.55.0
    ./ $ go1.25.12 mod tidy
    ./ $ go1.25.12 mod vendor
This commit was automatically generated by the ARC system to address CVE-2026-42502.

Changes were generated using the following commands:

    ./ $ go1.25.12 get golang.org/x/net/html@v0.55.0
    ./ $ go1.25.12 mod tidy
    ./ $ go1.25.12 mod vendor
@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 0c25c5ad-f346-4993-bc22-711cd2988172

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@openshift-ci-robot openshift-ci-robot added jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Aug 9, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@ocp-sustaining-admins: This pull request references Jira Issue OCPBUGS-101535, which is invalid:

  • expected Jira Issue OCPBUGS-101535 to depend on a bug targeting a version in 5.0.0 and in one of the following states: MODIFIED, ON_QA, VERIFIED, but no dependents were found

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

This is an automated PR from the ARC system.

This change addresses CVE-2026-42502 by updating golang.org/x/net/html on branch release-4.22.

Changes were generated using the following commands:

./ $ go1.25.12 get golang.org/x/net/html@v0.55.0
./ $ go1.25.12 mod tidy
./ $ go1.25.12 mod vendor

A member of the Red Hat Openshift Sustaining Team will review the PR and take appropriate action.

Common PR issues and how to fix them:
  1. Title needs to be changed:
    This might be needed if a PR references multiple Jira issues and some of them have been closed as duplicates.

    Use /retitle <NEW TITLE> command from openshift-ci bot

    openshift-ci bot commands

  2. verify-commits check is failing:
    Commits need to be in the format UPSTREAM: PR#|<carry>|<drop>: <commit message>.

    You can do achieve this by doing one of the following:

    • Rerunning the ARC Remediation and specifying an Upstream PR Number.
    • Cloning the ARC Fork, using git commit --amend -m <commit message> and force pushing the changes to the fork.

    verify-commits documentation

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci
openshift-ci Bot requested review from MarSik and Tal-or August 9, 2026 04:53
@openshift-ci

openshift-ci Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ocp-sustaining-admins
Once this PR has been reviewed and has the lgtm label, please assign yanirq for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci

openshift-ci Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Hi @ocp-sustaining-admins. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Tip

We noticed you've done this a few times! Consider joining the org to skip this step and gain /lgtm and other bot rights. We recommend asking approvers on your previous PRs to sponsor you.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-ci openshift-ci Bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 9, 2026
@qodo-for-rh-openshift

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (0) 📜 Skill insights (0)

Grey Divider


Remediation recommended

1. End-tag attr allocation 🐞 Bug ➹ Performance
Description
vendor/golang.org/x/net/html.Tokenizer.readTag now always allocates/lowercases an attribute name
string even when saveAttr is false (the EndTagToken path), doing unnecessary work on malformed end
tags whose attributes are discarded. This can amplify CPU/allocation costs proportional to
attacker-controlled HTML size in code paths that tokenize arbitrary HTML bodies.
Code

vendor/golang.org/x/net/html/token.go[R885-888]

+		// Save pendingAttr if saveAttr and that attribute has a non-empty key, and the key hasn't been seen before.
+		key := strings.ToLower(string(z.buf[z.pendingAttr[0].start:z.pendingAttr[0].end]))
+		if saveAttr && z.pendingAttr[0].start != z.pendingAttr[0].end && !z.attrNames[key] {
			z.attr = append(z.attr, z.pendingAttr)
Relevance

●● Moderate

Repo lacks vendor/html file in history; team usually lands upstream dep bumps, unsure about adding
local vendor patch.

PR-#1435
PR-#1527

ⓘ Recommendations generated based on similar findings in past PRs

Evidence
The PR-added unconditional strings.ToLower(string(...)) happens inside readTag’s attribute loop
before checking saveAttr. Next() explicitly calls readTag(false) for end tags, meaning the
allocation occurs even when attributes are discarded. Kubernetes’ proxy transport tokenizes and
iterates through HTML via html.NewTokenizer(...); tokenizer.Next() so this extra work is reachable
while processing HTML responses.

vendor/golang.org/x/net/html/token.go[864-895]
vendor/golang.org/x/net/html/token.go[1085-1108]
vendor/k8s.io/apimachinery/pkg/util/proxy/transport.go[176-209]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
`Tokenizer.readTag` computes `key := strings.ToLower(string(...))` unconditionally for each parsed attribute, even when `saveAttr == false` (used when tokenizing end tags). This introduces avoidable allocations and CPU work on inputs where end tags contain many/large (invalid) attributes.

## Issue Context
`Next()` calls `readTag(false)` for end tags, so this work is performed even when attributes are not retained.

## Fix Focus Areas
- vendor/golang.org/x/net/html/token.go[868-894]
- vendor/golang.org/x/net/html/token.go[1086-1108]

## Suggested fix
Move the `key := strings.ToLower(...)` computation inside the `if saveAttr && ...` block (and only compute it when the pending attribute key is non-empty), so the end-tag path (`saveAttr=false`) does not allocate/lowercase attribute keys at all.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools


To customize comments, go to the Qodo configuration screen, or learn more in the docs.

Qodo Logo

Comment on lines +885 to 888
// Save pendingAttr if saveAttr and that attribute has a non-empty key, and the key hasn't been seen before.
key := strings.ToLower(string(z.buf[z.pendingAttr[0].start:z.pendingAttr[0].end]))
if saveAttr && z.pendingAttr[0].start != z.pendingAttr[0].end && !z.attrNames[key] {
z.attr = append(z.attr, z.pendingAttr)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remediation recommended

1. End-tag attr allocation 🐞 Bug ➹ Performance

vendor/golang.org/x/net/html.Tokenizer.readTag now always allocates/lowercases an attribute name
string even when saveAttr is false (the EndTagToken path), doing unnecessary work on malformed end
tags whose attributes are discarded. This can amplify CPU/allocation costs proportional to
attacker-controlled HTML size in code paths that tokenize arbitrary HTML bodies.
Agent Prompt
## Issue description
`Tokenizer.readTag` computes `key := strings.ToLower(string(...))` unconditionally for each parsed attribute, even when `saveAttr == false` (used when tokenizing end tags). This introduces avoidable allocations and CPU work on inputs where end tags contain many/large (invalid) attributes.

## Issue Context
`Next()` calls `readTag(false)` for end tags, so this work is performed even when attributes are not retained.

## Fix Focus Areas
- vendor/golang.org/x/net/html/token.go[868-894]
- vendor/golang.org/x/net/html/token.go[1086-1108]

## Suggested fix
Move the `key := strings.ToLower(...)` computation inside the `if saveAttr && ...` block (and only compute it when the pending attribute key is non-empty), so the end-tag path (`saveAttr=false`) does not allocate/lowercase attribute keys at all.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

@qodo-for-rh-openshift

Copy link
Copy Markdown

PR Summary by Qodo

[release-4.22] Fix CVE-2026-42502 by updating golang.org/x/net/html to v0.55.0

🐞 Bug fix ⚙️ Configuration changes 🕐 40+ Minutes

Grey Divider

AI Description

• Bump golang.org/x/net (html) to v0.55.0 to remediate CVE-2026-42502.
• Regenerate go.sum and vendor/ for the updated module graph.
• Pull updated transitive x/* dependencies (http2, idna, sys, text, tools).
Diagram

graph TD
  A["cluster-node-tuning-operator"] --> B["go.mod / go.sum"] --> C["vendor/ refresh"] --> D["x/net v0.55.0"] --> E["html"]
  D --> F["http2"]
  D --> G["idna"]

  subgraph Legend
    direction LR
    _m["Repo/module"] ~~~ _f["Config files"] ~~~ _v["Vendored deps"]
  end
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Cherry-pick minimal upstream fix into existing vendored x/net/html
  • ➕ Much smaller diff; less churn in unrelated http2/idna/sys/text code
  • ➕ Lower risk of incidental behavior changes
  • ➖ Harder to audit and maintain; diverges from upstream module versions
  • ➖ May miss related fixes required by the CVE or its dependency constraints
2. Update x/net only and avoid bumping other x/* modules
  • ➕ Reduces transitive churn
  • ➕ Keeps vendor diff smaller
  • ➖ Often not possible with go get/go mod tidy if newer x/net requires newer x/text/x/sys/etc.
  • ➖ Can lead to inconsistent vendor state vs. module graph
3. Temporarily use a `replace` to a patched commit (short-term)
  • ➕ Can unblock quickly if version constraints exist on the branch
  • ➖ Non-standard for release branches; harder to reproduce/audit
  • ➖ Still requires follow-up to return to a tagged release

Recommendation: The current approach (bump to x/net v0.55.0 and regenerate vendor with go get/tidy/vendor) is the most supportable and auditable for a release branch. Given the size of the vendor churn, review should focus on: (1) the intended version bump is present, (2) vendor/modules.txt matches, and (3) build/tests and any integration sanity checks pass.

Files changed (174) +15089 / -48175

Documentation (1) +19 / -0
README.mdDocument http2 legacy vs wrapping implementations +19/-0

Document http2 legacy vs wrapping implementations

• Adds upstream documentation about Go 1.27 migration and the http2legacy build tag behavior.

vendor/golang.org/x/net/http2/README.md

Other (173) +15070 / -48175
go.modBump x/net to v0.55.0 and refresh x/* versions +7/-7

Bump x/net to v0.55.0 and refresh x/* versions

• Updates golang.org/x/net to v0.55.0 (CVE fix) and aligns related golang.org/x/* module versions selected by the toolchain.

go.mod

go.sumRefresh checksums for updated module graph +14/-14

Refresh checksums for updated module graph

• Updates go.sum entries for the new golang.org/x/* versions pulled in by go get/tidy.

go.sum

modules.txtRegenerate vendor module manifest for new versions +15/-15

Regenerate vendor module manifest for new versions

• Updates vendored module version metadata (notably x/net v0.55.0) and package list to match the regenerated vendor tree.

vendor/modules.txt

iter.goSync vendored html iterator file with upstream +0/-2

Sync vendored html iterator file with upstream

• Aligns the vendored html iterator file with the upstream version shipped in x/net v0.55.0.

vendor/golang.org/x/net/html/iter.go

node.goSync html Node implementation +1/-0

Sync html Node implementation

• Updates vendored Node implementation details to match upstream x/net/html behavior.

vendor/golang.org/x/net/html/node.go

nodetype_string.goRegenerate NodeType string mappings +31/-0

Regenerate NodeType string mappings

• Updates generated NodeType String() output to match the updated upstream definitions.

vendor/golang.org/x/net/html/nodetype_string.go

parse.goOptimize formatting element matching and tighten namespace checks +21/-17

Optimize formatting element matching and tighten namespace checks

• Sorts attributes to enable faster equality checks and tightens end-tag matching by ensuring the HTML namespace is respected.

vendor/golang.org/x/net/html/parse.go

render.goHarden doctype rendering and foster-parent literal text detection +29/-6

Harden doctype rendering and foster-parent literal text detection

• Improves safety of doctype identifier quoting/escaping and refines logic determining when child text nodes should be treated as literal.

vendor/golang.org/x/net/html/render.go

token.goDeduplicate attribute names during tokenization +9/-4

Deduplicate attribute names during tokenization

• Tracks seen attribute names per tag (case-insensitive) to avoid returning duplicate attributes from the tokenizer.

vendor/golang.org/x/net/html/token.go

client_conn_pool.goSync http2 client connection pool implementation +2/-12

Sync http2 client connection pool implementation

• Updates client connection pooling logic to match upstream x/net/http2 shipped with v0.55.0.

vendor/golang.org/x/net/http2/client_conn_pool.go

client_priority_go126.goUpdate Go 1.26 priority behavior +20/-0

Update Go 1.26 priority behavior

• Aligns HTTP/2 client priority behavior for Go 1.26 builds with upstream changes.

vendor/golang.org/x/net/http2/client_priority_go126.go

client_priority_go127.goUpdate Go 1.27 priority behavior +13/-0

Update Go 1.27 priority behavior

• Aligns HTTP/2 client priority behavior for Go 1.27 builds with upstream changes.

vendor/golang.org/x/net/http2/client_priority_go127.go

clientconn.goAdd exported ClientConn method wrappers +57/-0

Add exported ClientConn method wrappers

• Introduces exported wrappers (RoundTrip/Close/Shutdown/Ping/etc.) that forward to internal implementations, matching upstream API surface.

vendor/golang.org/x/net/http2/clientconn.go

config.goSync http2 configuration defaults/validation +2/-0

Sync http2 configuration defaults/validation

• Updates http2 configuration code to match upstream defaults and validation behavior.

vendor/golang.org/x/net/http2/config.go

frame.goExtend frame parsing (incl. PRIORITY_UPDATE) and structured fields +153/-35

Extend frame parsing (incl. PRIORITY_UPDATE) and structured fields

• Adds/updates frame parsing including new frame types and uses internal httpsfv support where needed.

vendor/golang.org/x/net/http2/frame.go

http2.goRefresh package docs and add new SETTINGS constant +13/-7

Refresh package docs and add new SETTINGS constant

• Updates documentation toward stdlib net/http configuration and adds SettingNoRFC7540Priorities constant/name mapping.

vendor/golang.org/x/net/http2/http2.go

server.goRefactor server for Go 1.27 legacy/wrapping split +87/-211

Refactor server for Go 1.27 legacy/wrapping split

• Introduces build gating and refactors server configuration/implementation structure to match upstream x/net/http2 changes.

vendor/golang.org/x/net/http2/server.go

server_common.goSync shared server logic +221/-0

Sync shared server logic

• Updates shared server implementation code to match upstream changes in x/net/http2.

vendor/golang.org/x/net/http2/server_common.go

server_wrap.goSync wrapping server implementation +201/-0

Sync wrapping server implementation

• Updates the net/http-backed wrapping server implementation for newer Go versions per upstream.

vendor/golang.org/x/net/http2/server_wrap.go

transport.goRefactor transport for Go 1.27 legacy/wrapping split +37/-440

Refactor transport for Go 1.27 legacy/wrapping split

• Adds build gating and refactors transport internals to support legacy vs wrapping implementations as upstream does.

vendor/golang.org/x/net/http2/transport.go

transport_common.goSync shared transport logic +447/-0

Sync shared transport logic

• Updates shared transport implementation code to align with upstream changes.

vendor/golang.org/x/net/http2/transport_common.go

transport_wrap.goSync wrapping transport implementation +381/-0

Sync wrapping transport implementation

• Updates the net/http-backed wrapping transport implementation used on newer Go versions.

vendor/golang.org/x/net/http2/transport_wrap.go

writesched.goSync write scheduler core implementation +4/-40

Sync write scheduler core implementation

• Updates write scheduler selection and core scheduling logic per upstream http2 changes.

vendor/golang.org/x/net/http2/writesched.go

writesched_common.goSync shared write scheduler helpers +90/-0

Sync shared write scheduler helpers

• Updates shared write scheduling helpers to match upstream x/net/http2 behavior.

vendor/golang.org/x/net/http2/writesched_common.go

writesched_priority_rfc7540.goUpdate RFC7540 priority scheduler +9/-39

Update RFC7540 priority scheduler

• Refreshes RFC7540 priority scheduler logic to match upstream changes.

vendor/golang.org/x/net/http2/writesched_priority_rfc7540.go

writesched_priority_rfc9218.goUpdate RFC9218 priority scheduler integration +2/-0

Update RFC9218 priority scheduler integration

• Refreshes RFC9218-related scheduling logic to match upstream changes.

vendor/golang.org/x/net/http2/writesched_priority_rfc9218.go

writesched_random.goSync random scheduler implementation +4/-0

Sync random scheduler implementation

• Updates random write scheduling logic to match upstream changes.

vendor/golang.org/x/net/http2/writesched_random.go

writesched_roundrobin.goSync round-robin scheduler implementation +2/-0

Sync round-robin scheduler implementation

• Updates round-robin write scheduling logic to match upstream changes.

vendor/golang.org/x/net/http2/writesched_roundrobin.go

go118.goSync Go 1.18+ IDNA implementation +0/-13

Sync Go 1.18+ IDNA implementation

• Updates go1.18-specific IDNA code paths to match upstream behavior for the bumped x/net version.

vendor/golang.org/x/net/idna/go118.go

idna.goUpdate IDNA processing for newer Unicode behavior +146/-35

Update IDNA processing for newer Unicode behavior

• Introduces unicode-version-aware logic and refactors label validation/error coding to align with upstream x/net/idna.

vendor/golang.org/x/net/idna/idna.go

idna9.0.0.goRefresh generated IDNA data (Unicode 9) +0/-717

Refresh generated IDNA data (Unicode 9)

• Updates generated Unicode 9 IDNA tables/data included with the upgraded x/net vendor set.

vendor/golang.org/x/net/idna/idna9.0.0.go

pre_go118.goSync pre-Go 1.18 IDNA implementation +0/-11

Sync pre-Go 1.18 IDNA implementation

• Updates pre-go1.18 IDNA code paths to match upstream x/net/idna implementation.

vendor/golang.org/x/net/idna/pre_go118.go

punycode.goAdjust punycode error coding and Unicode edge cases +4/-1

Adjust punycode error coding and Unicode edge cases

• Updates punycode error behavior and Unicode-version-specific validation to match upstream.

vendor/golang.org/x/net/idna/punycode.go

tables10.0.0.goRefresh IDNA tables (Unicode 10) +0/-4559

Refresh IDNA tables (Unicode 10)

• Regenerates vendored IDNA tables for Unicode 10 included with upstream x/net/idna.

vendor/golang.org/x/net/idna/tables10.0.0.go

tables11.0.0.goRefresh IDNA tables (Unicode 11) +0/-4653

Refresh IDNA tables (Unicode 11)

• Regenerates vendored IDNA tables for Unicode 11 included with upstream x/net/idna.

vendor/golang.org/x/net/idna/tables11.0.0.go

tables12.0.0.goRefresh IDNA tables (Unicode 12) +0/-4733

Refresh IDNA tables (Unicode 12)

• Regenerates vendored IDNA tables for Unicode 12 included with upstream x/net/idna.

vendor/golang.org/x/net/idna/tables12.0.0.go

tables13.0.0.goRefresh IDNA tables (Unicode 13) +0/-4959

Refresh IDNA tables (Unicode 13)

• Regenerates vendored IDNA tables for Unicode 13 included with upstream x/net/idna.

vendor/golang.org/x/net/idna/tables13.0.0.go

tables15.0.0.goRefresh IDNA tables (Unicode 15) +1/-1

Refresh IDNA tables (Unicode 15)

• Regenerates vendored IDNA tables for Unicode 15 included with upstream x/net/idna.

vendor/golang.org/x/net/idna/tables15.0.0.go

tables17.0.0.goAdd/refresh IDNA tables (Unicode 17) +5302/-0

Add/refresh IDNA tables (Unicode 17)

• Adds/updates generated Unicode 17 IDNA tables pulled in by the upgraded dependency set.

vendor/golang.org/x/net/idna/tables17.0.0.go

tables9.0.0.goRefresh IDNA tables (Unicode 9) +0/-4486

Refresh IDNA tables (Unicode 9)

• Regenerates vendored IDNA tables for Unicode 9 included with upstream x/net/idna.

vendor/golang.org/x/net/idna/tables9.0.0.go

trie12.0.0.goRefresh IDNA trie (Unicode 12) +0/-30

Refresh IDNA trie (Unicode 12)

• Updates generated trie data used by IDNA processing for Unicode 12.

vendor/golang.org/x/net/idna/trie12.0.0.go

trie13.0.0.goRefresh IDNA trie (Unicode 13) +0/-30

Refresh IDNA trie (Unicode 13)

• Updates generated trie data used by IDNA processing for Unicode 13.

vendor/golang.org/x/net/idna/trie13.0.0.go

request.goSync internal httpcommon request helpers +8/-0

Sync internal httpcommon request helpers

• Updates internal request helper functions used by http2 and related code paths.

vendor/golang.org/x/net/internal/httpcommon/request.go

httpsfv.goAdd internal HTTP Structured Field Values support +665/-0

Add internal HTTP Structured Field Values support

• Adds upstream internal/httpsfv implementation used by updated http2 code paths.

vendor/golang.org/x/net/internal/httpsfv/httpsfv.go

syscall_plan9.goSync plan9 syscall wrappers +1/-7

Sync plan9 syscall wrappers

• Updates Plan 9 syscall wrappers as part of the x/sys version bump.

vendor/golang.org/x/sys/plan9/syscall_plan9.go

affinity_linux.goUpdate Linux CPU affinity helpers +112/-16

Update Linux CPU affinity helpers

• Refreshes Linux affinity helper code to match the bumped x/sys/unix version.

vendor/golang.org/x/sys/unix/affinity_linux.go

ioctl_signed.goSync signed ioctl helpers +8/-3

Sync signed ioctl helpers

• Updates signed ioctl helper implementations to match upstream x/sys.

vendor/golang.org/x/sys/unix/ioctl_signed.go

ioctl_unsigned.goSync unsigned ioctl helpers +8/-3

Sync unsigned ioctl helpers

• Updates unsigned ioctl helper implementations to match upstream x/sys.

vendor/golang.org/x/sys/unix/ioctl_unsigned.go

mkall.shSync unix generation script (mkall.sh) +1/-1

Sync unix generation script (mkall.sh)

• Updates vendored generation script content to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/mkall.sh

mkerrors.shSync unix generation script (mkerrors.sh) +3/-0

Sync unix generation script (mkerrors.sh)

• Updates vendored error generation script to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/mkerrors.sh

readv_unix.goSync readv/writev helpers +103/-0

Sync readv/writev helpers

• Updates vectored I/O helpers and related logic per upstream x/sys/unix changes.

vendor/golang.org/x/sys/unix/readv_unix.go

syscall_darwin.goSync Darwin syscalls +0/-89

Sync Darwin syscalls

• Updates Darwin syscall wrappers and definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/syscall_darwin.go

syscall_linux.goRefactor Linux preadv/pwritev syscall bindings +18/-96

Refactor Linux preadv/pwritev syscall bindings

• Renames raw syscall wrappers and refactors helpers around preadv/pwritev to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/syscall_linux.go

syscall_linux_arm.goSync Linux ARM syscall wrappers +3/-0

Sync Linux ARM syscall wrappers

• Updates linux/arm syscall wrappers per upstream x/sys/unix changes.

vendor/golang.org/x/sys/unix/syscall_linux_arm.go

syscall_linux_arm64.goSync Linux ARM64 syscall wrappers +3/-0

Sync Linux ARM64 syscall wrappers

• Updates linux/arm64 syscall wrappers per upstream x/sys/unix changes.

vendor/golang.org/x/sys/unix/syscall_linux_arm64.go

syscall_linux_loong64.goSync Linux loong64 syscall wrappers +3/-0

Sync Linux loong64 syscall wrappers

• Updates linux/loong64 syscall wrappers per upstream x/sys/unix changes.

vendor/golang.org/x/sys/unix/syscall_linux_loong64.go

syscall_linux_riscv64.goSync Linux riscv64 syscall wrappers +3/-0

Sync Linux riscv64 syscall wrappers

• Updates linux/riscv64 syscall wrappers per upstream x/sys/unix changes.

vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go

syscall_openbsd.goSync OpenBSD syscalls +4/-0

Sync OpenBSD syscalls

• Updates OpenBSD syscall wrappers and definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/syscall_openbsd.go

syscall_solaris.goSync Solaris syscalls +0/-8

Sync Solaris syscalls

• Updates Solaris syscall wrappers and definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/syscall_solaris.go

syscall_unix.goSync shared unix syscall helpers +7/-3

Sync shared unix syscall helpers

• Updates shared syscall helper logic to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/syscall_unix.go

zerrors_linux.goRegenerate Linux error constants +59/-2

Regenerate Linux error constants

• Regenerates linux error/errno constants included with x/sys/unix.

vendor/golang.org/x/sys/unix/zerrors_linux.go

zerrors_linux_386.goRegenerate linux/386 error constants +6/-1

Regenerate linux/386 error constants

• Regenerates linux/386 error/errno constants included with x/sys/unix.

vendor/golang.org/x/sys/unix/zerrors_linux_386.go

zerrors_linux_amd64.goRegenerate linux/amd64 error constants +6/-1

Regenerate linux/amd64 error constants

• Regenerates linux/amd64 error/errno constants included with x/sys/unix.

vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go

zerrors_linux_arm.goRegenerate linux/arm error constants +6/-1

Regenerate linux/arm error constants

• Regenerates linux/arm error/errno constants included with x/sys/unix.

vendor/golang.org/x/sys/unix/zerrors_linux_arm.go

zerrors_linux_arm64.goRegenerate linux/arm64 error constants +6/-1

Regenerate linux/arm64 error constants

• Regenerates linux/arm64 error/errno constants included with x/sys/unix.

vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go

zerrors_linux_loong64.goRegenerate linux/loong64 error constants +6/-1

Regenerate linux/loong64 error constants

• Regenerates linux/loong64 error/errno constants included with x/sys/unix.

vendor/golang.org/x/sys/unix/zerrors_linux_loong64.go

zerrors_linux_mips.goRegenerate linux/mips error constants +6/-1

Regenerate linux/mips error constants

• Regenerates linux/mips error/errno constants included with x/sys/unix.

vendor/golang.org/x/sys/unix/zerrors_linux_mips.go

zerrors_linux_mips64.goRegenerate linux/mips64 error constants +6/-1

Regenerate linux/mips64 error constants

• Regenerates linux/mips64 error/errno constants included with x/sys/unix.

vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go

zerrors_linux_mips64le.goRegenerate linux/mips64le error constants +6/-1

Regenerate linux/mips64le error constants

• Regenerates linux/mips64le error/errno constants included with x/sys/unix.

vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go

zerrors_linux_mipsle.goRegenerate linux/mipsle error constants +6/-1

Regenerate linux/mipsle error constants

• Regenerates linux/mipsle error/errno constants included with x/sys/unix.

vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go

zerrors_linux_ppc.goRegenerate linux/ppc error constants +6/-1

Regenerate linux/ppc error constants

• Regenerates linux/ppc error/errno constants included with x/sys/unix.

vendor/golang.org/x/sys/unix/zerrors_linux_ppc.go

zerrors_linux_ppc64.goRegenerate linux/ppc64 error constants +6/-1

Regenerate linux/ppc64 error constants

• Regenerates linux/ppc64 error/errno constants included with x/sys/unix.

vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go

zerrors_linux_ppc64le.goRegenerate linux/ppc64le error constants +6/-1

Regenerate linux/ppc64le error constants

• Regenerates linux/ppc64le error/errno constants included with x/sys/unix.

vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go

zerrors_linux_riscv64.goRegenerate linux/riscv64 error constants +566/-548

Regenerate linux/riscv64 error constants

• Regenerates linux/riscv64 error/errno constants included with x/sys/unix.

vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go

zerrors_linux_s390x.goRegenerate linux/s390x error constants +6/-1

Regenerate linux/s390x error constants

• Regenerates linux/s390x error/errno constants included with x/sys/unix.

vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go

zerrors_linux_sparc64.goRegenerate linux/sparc64 error constants +6/-1

Regenerate linux/sparc64 error constants

• Regenerates linux/sparc64 error/errno constants included with x/sys/unix.

vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go

zsyscall_linux.goRegenerate Linux syscall stubs +6/-6

Regenerate Linux syscall stubs

• Updates generated Linux syscall stubs to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsyscall_linux.go

zsyscall_openbsd_386.goRegenerate openbsd/386 syscall stubs +84/-0

Regenerate openbsd/386 syscall stubs

• Updates generated syscall stubs for openbsd/386 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go

zsyscall_openbsd_386.sRegenerate openbsd/386 assembly syscall stubs +20/-0

Regenerate openbsd/386 assembly syscall stubs

• Updates generated assembly syscall stubs for openbsd/386 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.s

zsyscall_openbsd_amd64.goRegenerate openbsd/amd64 syscall stubs +84/-0

Regenerate openbsd/amd64 syscall stubs

• Updates generated syscall stubs for openbsd/amd64 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go

zsyscall_openbsd_amd64.sRegenerate openbsd/amd64 assembly syscall stubs +20/-0

Regenerate openbsd/amd64 assembly syscall stubs

• Updates generated assembly syscall stubs for openbsd/amd64 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.s

zsyscall_openbsd_arm.goRegenerate openbsd/arm syscall stubs +84/-0

Regenerate openbsd/arm syscall stubs

• Updates generated syscall stubs for openbsd/arm to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go

zsyscall_openbsd_arm.sRegenerate openbsd/arm assembly syscall stubs +20/-0

Regenerate openbsd/arm assembly syscall stubs

• Updates generated assembly syscall stubs for openbsd/arm to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.s

zsyscall_openbsd_arm64.goRegenerate openbsd/arm64 syscall stubs +84/-0

Regenerate openbsd/arm64 syscall stubs

• Updates generated syscall stubs for openbsd/arm64 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.go

zsyscall_openbsd_arm64.sRegenerate openbsd/arm64 assembly syscall stubs +20/-0

Regenerate openbsd/arm64 assembly syscall stubs

• Updates generated assembly syscall stubs for openbsd/arm64 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm64.s

zsyscall_openbsd_mips64.goRegenerate openbsd/mips64 syscall stubs +84/-0

Regenerate openbsd/mips64 syscall stubs

• Updates generated syscall stubs for openbsd/mips64 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.go

zsyscall_openbsd_mips64.sRegenerate openbsd/mips64 assembly syscall stubs +20/-0

Regenerate openbsd/mips64 assembly syscall stubs

• Updates generated assembly syscall stubs for openbsd/mips64 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsyscall_openbsd_mips64.s

zsyscall_openbsd_ppc64.goRegenerate openbsd/ppc64 syscall stubs +84/-0

Regenerate openbsd/ppc64 syscall stubs

• Updates generated syscall stubs for openbsd/ppc64 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.go

zsyscall_openbsd_ppc64.sRegenerate openbsd/ppc64 assembly syscall stubs +24/-0

Regenerate openbsd/ppc64 assembly syscall stubs

• Updates generated assembly syscall stubs for openbsd/ppc64 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsyscall_openbsd_ppc64.s

zsyscall_openbsd_riscv64.goRegenerate openbsd/riscv64 syscall stubs +84/-0

Regenerate openbsd/riscv64 syscall stubs

• Updates generated syscall stubs for openbsd/riscv64 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.go

zsyscall_openbsd_riscv64.sRegenerate openbsd/riscv64 assembly syscall stubs +20/-0

Regenerate openbsd/riscv64 assembly syscall stubs

• Updates generated assembly syscall stubs for openbsd/riscv64 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsyscall_openbsd_riscv64.s

zsysnum_linux_386.goRegenerate linux/386 syscall numbers +4/-0

Regenerate linux/386 syscall numbers

• Updates generated syscall number tables for linux/386 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsysnum_linux_386.go

zsysnum_linux_amd64.goRegenerate linux/amd64 syscall numbers +5/-0

Regenerate linux/amd64 syscall numbers

• Updates generated syscall number tables for linux/amd64 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go

zsysnum_linux_arm.goRegenerate linux/arm syscall numbers +4/-0

Regenerate linux/arm syscall numbers

• Updates generated syscall number tables for linux/arm to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go

zsysnum_linux_arm64.goRegenerate linux/arm64 syscall numbers +4/-0

Regenerate linux/arm64 syscall numbers

• Updates generated syscall number tables for linux/arm64 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go

zsysnum_linux_loong64.goRegenerate linux/loong64 syscall numbers +5/-0

Regenerate linux/loong64 syscall numbers

• Updates generated syscall number tables for linux/loong64 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsysnum_linux_loong64.go

zsysnum_linux_mips.goRegenerate linux/mips syscall numbers +4/-0

Regenerate linux/mips syscall numbers

• Updates generated syscall number tables for linux/mips to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go

zsysnum_linux_mips64.goRegenerate linux/mips64 syscall numbers +4/-0

Regenerate linux/mips64 syscall numbers

• Updates generated syscall number tables for linux/mips64 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go

zsysnum_linux_mips64le.goRegenerate linux/mips64le syscall numbers +4/-0

Regenerate linux/mips64le syscall numbers

• Updates generated syscall number tables for linux/mips64le to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go

zsysnum_linux_mipsle.goRegenerate linux/mipsle syscall numbers +4/-0

Regenerate linux/mipsle syscall numbers

• Updates generated syscall number tables for linux/mipsle to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go

zsysnum_linux_ppc.goRegenerate linux/ppc syscall numbers +4/-0

Regenerate linux/ppc syscall numbers

• Updates generated syscall number tables for linux/ppc to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsysnum_linux_ppc.go

zsysnum_linux_ppc64.goRegenerate linux/ppc64 syscall numbers +4/-0

Regenerate linux/ppc64 syscall numbers

• Updates generated syscall number tables for linux/ppc64 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go

zsysnum_linux_ppc64le.goRegenerate linux/ppc64le syscall numbers +4/-0

Regenerate linux/ppc64le syscall numbers

• Updates generated syscall number tables for linux/ppc64le to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go

zsysnum_linux_riscv64.goRegenerate linux/riscv64 syscall numbers +4/-0

Regenerate linux/riscv64 syscall numbers

• Updates generated syscall number tables for linux/riscv64 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go

zsysnum_linux_s390x.goRegenerate linux/s390x syscall numbers +4/-0

Regenerate linux/s390x syscall numbers

• Updates generated syscall number tables for linux/s390x to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go

zsysnum_linux_sparc64.goRegenerate linux/sparc64 syscall numbers +5/-0

Regenerate linux/sparc64 syscall numbers

• Updates generated syscall number tables for linux/sparc64 to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go

ztypes_linux.goRegenerate Linux type definitions +155/-121

Regenerate Linux type definitions

• Updates generated Linux type definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/ztypes_linux.go

ztypes_linux_386.goRegenerate linux/386 type definitions +8/-0

Regenerate linux/386 type definitions

• Updates generated linux/386 type definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/ztypes_linux_386.go

ztypes_linux_amd64.goRegenerate linux/amd64 type definitions +8/-0

Regenerate linux/amd64 type definitions

• Updates generated linux/amd64 type definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go

ztypes_linux_arm.goRegenerate linux/arm type definitions +8/-0

Regenerate linux/arm type definitions

• Updates generated linux/arm type definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/ztypes_linux_arm.go

ztypes_linux_arm64.goRegenerate linux/arm64 type definitions +8/-0

Regenerate linux/arm64 type definitions

• Updates generated linux/arm64 type definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go

ztypes_linux_loong64.goRegenerate linux/loong64 type definitions +8/-0

Regenerate linux/loong64 type definitions

• Updates generated linux/loong64 type definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/ztypes_linux_loong64.go

ztypes_linux_mips.goRegenerate linux/mips type definitions +8/-0

Regenerate linux/mips type definitions

• Updates generated linux/mips type definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/ztypes_linux_mips.go

ztypes_linux_mips64.goRegenerate linux/mips64 type definitions +8/-0

Regenerate linux/mips64 type definitions

• Updates generated linux/mips64 type definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go

ztypes_linux_mips64le.goRegenerate linux/mips64le type definitions +8/-0

Regenerate linux/mips64le type definitions

• Updates generated linux/mips64le type definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go

ztypes_linux_mipsle.goRegenerate linux/mipsle type definitions +8/-0

Regenerate linux/mipsle type definitions

• Updates generated linux/mipsle type definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go

ztypes_linux_ppc.goRegenerate linux/ppc type definitions +8/-0

Regenerate linux/ppc type definitions

• Updates generated linux/ppc type definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go

ztypes_linux_ppc64.goRegenerate linux/ppc64 type definitions +8/-0

Regenerate linux/ppc64 type definitions

• Updates generated linux/ppc64 type definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go

ztypes_linux_ppc64le.goRegenerate linux/ppc64le type definitions +8/-0

Regenerate linux/ppc64le type definitions

• Updates generated linux/ppc64le type definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go

ztypes_linux_riscv64.goRegenerate linux/riscv64 type definitions +8/-0

Regenerate linux/riscv64 type definitions

• Updates generated linux/riscv64 type definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go

ztypes_linux_s390x.goRegenerate linux/s390x type definitions +8/-0

Regenerate linux/s390x type definitions

• Updates generated linux/s390x type definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go

ztypes_linux_sparc64.goRegenerate linux/sparc64 type definitions +8/-0

Regenerate linux/sparc64 type definitions

• Updates generated linux/sparc64 type definitions to match upstream x/sys/unix.

vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go

aliases.goSync Windows aliases +1/-0

Sync Windows aliases

• Updates Windows alias definitions to match upstream x/sys/windows.

vendor/golang.org/x/sys/windows/aliases.go

dll_windows.goSync Windows DLL helpers +1/-36

Sync Windows DLL helpers

• Updates DLL loading helpers/definitions to match upstream x/sys/windows.

vendor/golang.org/x/sys/windows/dll_windows.go

key.goSync Windows registry key implementation +14/-1

Sync Windows registry key implementation

• Updates registry key handling to match upstream x/sys/windows changes.

vendor/golang.org/x/sys/windows/registry/key.go

security_windows.goSync Windows security helpers +5/-1

Sync Windows security helpers

• Updates security-related helper logic to match upstream x/sys/windows changes.

vendor/golang.org/x/sys/windows/security_windows.go

[Comment truncated to fit github's 65,536-char limit.]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. jira/severity-moderate Referenced Jira bug's severity is moderate for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants