Skip to content

Conversation

@priyawadhwa
Copy link
Contributor

This is necessary due to an upgrade in Golang's sys package, which no longer allows for direct system calls on darwin.

Fixes #298

This code was copied from https://github.com/containerd/console/blob/2f74731477a5334b870605b261bcfb71ba34c56a/tc_unix.go, which a comment at the top of the file says the old code came from.

This is necessary due to an upgrade in Golang's sys package, which no longer allows for direct system calls on darwin.

Signed-off-by: Priya Wadhwa <priyawadhwa@google.com>
@priyawadhwa
Copy link
Contributor Author

Hey @djs55 could you please take a look at this?

Copy link
Collaborator

@djs55 djs55 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@djs55 djs55 merged commit 4e6bee8 into moby:master Dec 16, 2020
@priyawadhwa priyawadhwa deleted the ioctl branch December 16, 2020 21:38
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.

Replace unix.SYS_IOCTL with unix.Ioctl{Get,Set}Termios

2 participants