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

pkg: system: use Major, Minor and Mkdev from x/sys/unix #194

Merged
merged 2 commits into from
Oct 17, 2017

Conversation

tklauser
Copy link
Contributor

As suggested by @cyphar in opencontainers/runc#1614 😉

  • re-vendor golang.org/x/sys to get Major, Minor and Mkdev
  • use these functions in pkg/system

Re-vendor golang.org/x/sys in order to get the newly added
Major, Minor and Mkdev functions.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Use these functions from golang.org/x/sys instead of re-implementing
them.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
@cyphar
Copy link
Member

cyphar commented Oct 17, 2017

LGTM.

😸 Thanks!

@cyphar cyphar merged commit 7220123 into opencontainers:master Oct 17, 2017
cyphar added a commit that referenced this pull request Oct 17, 2017
  pkg: system: use Major, Minor and Mkdev from x/sys/unix
  vendor: add golang.org/x/sys@686000749eaec0b8855b8eef5336cf63899fe51d

LGTMs: @cyphar
Closes #194
@tklauser tklauser deleted the device-numbers branch October 18, 2017 06:50
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.

2 participants