Skip to content

vminitd: Fix UDS length issue with large container IDs#731

Merged
dcantah merged 1 commit into
apple:mainfrom
dcantah:socket-length-fix
May 11, 2026
Merged

vminitd: Fix UDS length issue with large container IDs#731
dcantah merged 1 commit into
apple:mainfrom
dcantah:socket-length-fix

Conversation

@dcantah
Copy link
Copy Markdown
Member

@dcantah dcantah commented May 10, 2026

Today we craft the proxied sockets we create at a path that contains the container ID. This is normally completely fine, except if the ID is enormous, as it can cause the UDS path to be longer than the allowed length.

@dcantah dcantah force-pushed the socket-length-fix branch from a9115de to e65258c Compare May 10, 2026 01:55
@JaewonHur JaewonHur self-requested a review May 11, 2026 17:15
Comment thread Sources/Containerization/LinuxContainer.swift Outdated
Today we craft the proxied sockets we create at a path that contains
the container ID. This is normally completely fine, except if the
ID is enormous, as it can cause the UDS path to be longer than
the allowed length.
@dcantah dcantah force-pushed the socket-length-fix branch from e65258c to 338c27f Compare May 11, 2026 22:00
@dcantah dcantah merged commit ece8f98 into apple:main May 11, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants