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

Use IoctlSetPointerInt from golang.org/x/sys/unix #40

Merged
merged 2 commits into from Sep 16, 2020

Commits on Sep 16, 2020

  1. Update golang.org/x/sys/unix to v0.0.0-20200916030750-2334cc1a136f

    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    tklauser committed Sep 16, 2020
    Copy the full SHA
    2d4d237 View commit details
    Browse the repository at this point in the history
  2. Use IoctlSetPointerInt from golang.org/x/sys/unix

    Use unix.IoctlSetPointerInt instead of manually implementing it. This
    fixes the build on darwin where direct syscalls, i.e.
    unix.Syscall(SYS_IOCTL, ...) are no longer allowed and exported as of
    golang/sys@6fcdbc0
    
    Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
    tklauser committed Sep 16, 2020
    Copy the full SHA
    22cf7f1 View commit details
    Browse the repository at this point in the history