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

Fix travis #1123

Merged
merged 2 commits into from
Sep 20, 2019
Merged

Fix travis #1123

merged 2 commits into from
Sep 20, 2019

Conversation

asomers
Copy link
Member

@asomers asomers commented Sep 12, 2019

No description provided.

process_vm_readv requires it, and I'm not exactly sure which other
things do too.
Travis is now using Seccomp, and Docker's default Seccomp policy
disables execveat (though, weirdly, not fexecve).  It also prohibits any
operations on AF_ALG sockets.

While I'm here, replace close/dup with dup2, which is more reliable.

Also, drop the fork mutex earlier.  This way all of the exeve tests will
run, even if one fails.

https://docs.docker.com/engine/security/seccomp/
@asomers asomers marked this pull request as ready for review September 20, 2019 00:05
@asomers
Copy link
Member Author

asomers commented Sep 20, 2019

bors r+

bors bot added a commit that referenced this pull request Sep 20, 2019
1123: Fix travis r=asomers a=asomers



Co-authored-by: Alan Somers <asomers@gmail.com>
@bors
Copy link
Contributor

bors bot commented Sep 20, 2019

Build failed

@asomers
Copy link
Member Author

asomers commented Sep 20, 2019

bors retry

bors bot added a commit that referenced this pull request Sep 20, 2019
1123: Fix travis r=asomers a=asomers



Co-authored-by: Alan Somers <asomers@gmail.com>
@bors
Copy link
Contributor

bors bot commented Sep 20, 2019

Build succeeded

@bors bors bot merged commit 7e2b402 into nix-rust:master Sep 20, 2019
@asomers asomers deleted the fix_travis branch September 20, 2019 02:06
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.

None yet

1 participant