Skip to content

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

Merged
ptabor merged 1 commit intoetcd-io:release-3.4from
kolyshkin:3.4-fix-lock
Jan 15, 2021
Merged

[3.4 backport] pkg/fileutil: fix F_OFD_ constants#12551
ptabor merged 1 commit intoetcd-io:release-3.4from
kolyshkin:3.4-fix-lock

Conversation

@kolyshkin
Copy link
Copy Markdown
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
Copy Markdown

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