Skip to content

Fix races in Linux file descriptor duplication - #1181

Open
Weiteng Chen (CvvT) wants to merge 2 commits into
mainfrom
weiteng/fix_dup
Open

Fix races in Linux file descriptor duplication#1181
Weiteng Chen (CvvT) wants to merge 2 commits into
mainfrom
weiteng/fix_dup

Conversation

@CvvT

Copy link
Copy Markdown
Contributor

Fix #1170: keep FD allocation and exact replacement atomic under the raw descriptor table lock.

@wdcui

Copy link
Copy Markdown
Member

Jay Bosamiya (Microsoft) (@jaybosamiya-ms) maybe you should review this fd-related fix?

@github-actions

Copy link
Copy Markdown

🤖 SemverChecks 🤖 No breaking API changes detected

Note: this does not mean API is unchanged, or even that there are no breaking changes; simply, none of the detections triggered.

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.

shim_linux fd-table dup lock is released between inserting the new fd and closing it

2 participants