Age | Commit message (Collapse) | Author |
|
Add gettid
I tested this under linux, and I noticed that this seems to also be built for OSX. It would be appreciated if someone could test this under OSX.
I'm not familiar enough with rust to know if there is a way of integrating this without creating a sub-crate.
|
|
|
|
Add E-prefixed issue labels for level of experience
Initial ideas for these will be E-good-first-bug and E-mentor.
|
|
Initial ideas for these will be E-good-first-bug and E-mentor.
|
|
unistd: Use bindings from libc instead of our own
Refs https://github.com/nix-rust/nix/issues/264
|
|
Refs https://github.com/nix-rust/nix/issues/264
|
|
test: clean up the test build script
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
testing: increase stability by removing thread parallelism
Currently, several of the tests are failing intermittently. After
some research it appears that these failures only occur when thread
parallelism is enabled (as is the case by default). To test, I just
ran the failing tests over and over. I would consistently see errors
when running the following:
$ while true; do target/debug/test-7ec4d9681e812f6a; done
When I forced single threaded execution, I no longer saw failures:
$ while true; do RUST_TEST_THREADS=1 target/debug/test-7ec4d9681e812f6a; done
I was mostly looking at the test_unistd failures which make calls out
to fork() and then make subsequent calls to wait(). In that case there
is one parent and the wait() called could (and frequently does) get some
random child pid back because it just happened to terminate. That is
why when one of the test fails so does the other one.
I couldn't think of an obvious fix other than preventing thread
parallelism in the short term. The tests still run very quickly.
https://github.com/nix-rust/nix/issues/251
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Currently, several of the tests are failing intermittently. After
some research it appears that these failures only occur when thread
parallelism is enabled (as is the case by default). To test, I just
ran the failing tests over and over. I would consistently see errors
when running the following:
$ while true; do target/debug/test-7ec4d9681e812f6a; done
When I forced single threaded execution, I no longer saw failures:
$ while true; do RUST_TEST_THREADS=1 target/debug/test-7ec4d9681e812f6a; done
I was mostly looking at the test_unistd failures which make calls out
to fork() and then make subsequent calls to wait(). In that case there
is one parent and the wait() called could (and frequently does) get some
random child pid back because it just happened to terminate. That is
why when one of the test fails so does the other one.
I couldn't think of an obvious fix other than preventing thread
parallelism in the short term. The tests still run very quickly.
https://github.com/nix-rust/nix/issues/251
Signed-off-by: Paul Osborne <osbpau@gmail.com>
|
|
Fix Travis-CI links.
|
|
|
|
|
|
|
|
Use libc constants in sys/signal.rs.
Work toward #264.
|
|
Make crate libc import public.
On currently nightly I got an error regarding the public export of libc in sys::ioctl. It now requires us to import the extern crate publicly.
|
|
A few additions to the CONVENTIONS file
|
|
|
|
|
|
|
|
That allows us to import sigaction on older rust versions.
|
|
|
|
|
|
|
|
Add introduction/constants/enumeration/uninitialized to CONVENTIONS.
I have added new sections to the file. I would like the usual suspects to read them critically and offer critique.
When have agreed to add certain versions I will add Issues to track our progress in getting the code to follow the conventions. For two of the sections they already exist in #254 and #264.
|
|
Bumped bitflags version to 0.4 and removed warning
Bumped bitflags version to 0.4 and removed warning about derive with raw pointer
|
|
|
|
|
|
|
|
Add a document with contribution guidelines
This gives us a place to point new contributors, as well as to document
our project practices.
|
|
This gives us a place to point new contributors, as well as to document
our project practices.
|
|
Add sigwait
|
|
|
|
Openbsd make and a few BSD-related fixes
|
|
|
|
|
|
|
|
|
|
|
|
Add support for AF_PACKET on linux
|
|
|
|
New syscalls
Part of #270
|
|
mqueue: change types to allow more cases
Part of https://github.com/nix-rust/nix/pull/270, fixed according to @kamalmarhubi's comments.
|
|
|
|
select(2) fixes
Part of #270, fixed according to @kamalmarhubi's comments.
|
|
|
|
|
|
|
|
|
|
linux: Add splice(2), tee(2), vmsplice(2)
|