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 NLA_* constants from x/sys/unix instead of syscall #1474

Merged
merged 1 commit into from
Jun 3, 2017
Merged

Use NLA_* constants from x/sys/unix instead of syscall #1474

merged 1 commit into from
Jun 3, 2017

Conversation

tklauser
Copy link
Contributor

@tklauser tklauser commented Jun 2, 2017

Use the NLA_ALIGNTO and NLA_HDRLEN constants from x/sys/unix instead of
syscall, as the syscall package shouldn't be used anymore (except for a
few exceptions).

This also makes the syscall_NLA_HDRLEN workaround for gccgo unnecessary.

Signed-off-by: Tobias Klauser tklauser@distanz.ch

Use the NLA_ALIGNTO and NLA_HDRLEN constants from x/sys/unix instead of
syscall, as the syscall package shouldn't be used anymore (except for a
few exceptions).

This also makes the syscall_NLA_HDRLEN workaround for gccgo unnecessary.

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

crosbymichael commented Jun 2, 2017

LGTM

Approved with PullApprove

1 similar comment
@cyphar
Copy link
Member

cyphar commented Jun 3, 2017

LGTM

Approved with PullApprove

@cyphar cyphar merged commit 306b498 into opencontainers:master Jun 3, 2017
cyphar added a commit that referenced this pull request Jun 3, 2017
@tklauser tklauser deleted the nla-syscall-to-unix branch June 6, 2017 06:33
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.

3 participants