-
Notifications
You must be signed in to change notification settings - Fork 2.2k
libcontainer: fix the file mode of the device #2804
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM except for one nit which is not important
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@Iceber can you please rebase (to test against go 1.16)? |
Signed-off-by: Iceber Gu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM
@kolyshkin ptal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The file mode of the device does not contain file type bits
mode &^ unix.S_IFMT
should be added when setting device.FileMode.Fix containerd: containerd/containerd#5028
Discussions about FileMode: opencontainers/runtime-spec#1082