Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.4 backport] pkg/fileutil: fix F_OFD_ constants #12551

Merged
merged 1 commit into from
Jan 15, 2021

Conversation

kolyshkin
Copy link
Contributor

This is a backport of #12444 to release-3.4 branch, fixing a critical bug in pkg/fileutil. Original description follows.


Use golang.org/x/sys/unix for F_OFD_* constants.

This fixes the issue that F_OFD_GETLK was defined incorrectly,
resulting in bugs such as moby/moby#31182

Closes: #12440

Use golang.org/x/sys/unix for F_OFD_* constants.

This fixes the issue that F_OFD_GETLK was defined incorrectly,
resulting in bugs such as moby/moby#31182

Signed-off-by: Kir Kolyshkin <[email protected]>
@kolyshkin kolyshkin changed the base branch from master to release-3.4 December 14, 2020 18:46
@kolyshkin kolyshkin changed the title [backport 3.4] pkg/fileutil: fix F_OFD_ constants [3.4 backport] pkg/fileutil: fix F_OFD_ constants Dec 14, 2020
@joakim-tjernlund
Copy link

This is moving too slow, lets not have to wait another 3 years.

@ptabor ptabor merged commit 0880605 into etcd-io:release-3.4 Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants