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

libcontainer: use additional functions and constants from x/sys/unix #1519

Merged
merged 2 commits into from
Jul 17, 2017
Merged

libcontainer: use additional functions and constants from x/sys/unix #1519

merged 2 commits into from
Jul 17, 2017

Conversation

tklauser
Copy link
Contributor

@tklauser tklauser commented Jul 13, 2017

Use ParseSocketControlMessage and ParseUnixRights from
golang.org/x/sys/unix instead of their syscall equivalent.

Use PR_SET_NO_NEW_PRIVS defined in golang.org/x/sys/unix instead of
manually defining it.

…s/unix

Use ParseSocketControlMessage and ParseUnixRights from
golang.org/x/sys/unix instead of their syscall equivalent.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Use PR_SET_NO_NEW_PRIVS defined in golang.org/x/sys/unix instead of
manually defining it.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
@tklauser tklauser changed the title libcontainer: use ParseSocketControlMessage/ParseUnixRights from x/sys/unix libcontainer: use additional functions and constants from x/sys/unix Jul 13, 2017
@hqhq
Copy link
Contributor

hqhq commented Jul 17, 2017

LGTM

Approved with PullApprove

1 similar comment
@dqminh
Copy link
Contributor

dqminh commented Jul 17, 2017

LGTM

Approved with PullApprove

@dqminh dqminh merged commit 7ab4f43 into opencontainers:master Jul 17, 2017
@tklauser tklauser deleted the moar-unix branch July 24, 2017 07:49
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