summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-09Auto merge of #293 - dhylands:gettid, r=kamalmarhubiHomu
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.
2016-03-07Add gettidDave Hylands
2016-03-07Auto merge of #296 - kamalmarhubi:contributing-e-labels, r=posborneHomu
Add E-prefixed issue labels for level of experience Initial ideas for these will be E-good-first-bug and E-mentor.
2016-03-06Add E-prefixed issue labels for level of experienceKamal Marhubi
Initial ideas for these will be E-good-first-bug and E-mentor.
2016-03-07Auto merge of #294 - kamalmarhubi:unistd-libc, r=@posborneHomu
unistd: Use bindings from libc instead of our own Refs https://github.com/nix-rust/nix/issues/264
2016-03-06unistd: Use bindings from libc instead of our ownKamal Marhubi
Refs https://github.com/nix-rust/nix/issues/264
2016-03-06Auto merge of #295 - posborne:build-script-cleanup, r=kamalmarhubiHomu
test: clean up the test build script Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-03-05test: clean up the test build scriptPaul Osborne
Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-03-06Auto merge of #292 - posborne:test-stability-improvements, r=kamalmarhubiHomu
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>
2016-03-05testing: increase stability by removing thread parallelismPaul Osborne
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>
2016-03-05Auto merge of #289 - fiveop:readme_link, r=kamalmarhubiHomu
Fix Travis-CI links.
2016-03-04Fix Travis-CI links.Philipp Matthias Schaefer
2016-03-01Set version to 0.5.1-preKamal Marhubi
2016-03-01Bump version to 0.5.0Kamal Marhubi
2016-03-01Auto merge of #285 - fiveop:use_libc, r=@kamalmarhubiHomu
Use libc constants in sys/signal.rs. Work toward #264.
2016-03-01Auto merge of #284 - fiveop:fix_build, r=posborneHomu
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.
2016-03-01Auto merge of #287 - fiveop:CONVENTIONS2, r=kamalmarhubiHomu
A few additions to the CONVENTIONS file
2016-02-29Extend section on constants to include functions and structs.Philipp Matthias Schaefer
2016-02-29Document naming convention for flag types.Philipp Matthias Schaefer
2016-02-29Rename HowFlags to SigFlags and SockFlags to SaFlags for consistency.Philipp Matthias Schaefer
2016-02-28Do not import libc structs directly.Philipp Matthias Schaefer
That allows us to import sigaction on older rust versions.
2016-02-28Use libc extern function exports in sys/signal.rs.Philipp Matthias Schaefer
2016-02-28Use libc structs in sys/signal.rs.Philipp Matthias Schaefer
2016-02-28Use libc constants in sys/signal.rs.Philipp Matthias Schaefer
2016-02-28Auto merge of #282 - fiveop:CONVENTIONS, r=@kamalmarhubiHomu
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.
2016-02-28Auto merge of #283 - KalitaAlexey:master, r=fiveopHomu
Bumped bitflags version to 0.4 and removed warning Bumped bitflags version to 0.4 and removed warning about derive with raw pointer
2016-02-28Make crate libc import public.Philipp Matthias Schaefer
2016-02-28Add introduction/constants/enumeration/uninitialized to CONVENTIONS.Philipp Matthias Schaefer
2016-02-28bump bitflags version to 0.4Kalita Alexey
2016-02-28Auto merge of #275 - kamalmarhubi:contributing, r=@fiveopHomu
Add a document with contribution guidelines This gives us a place to point new contributors, as well as to document our project practices.
2016-02-27Add a document with contribution guidelinesKamal Marhubi
This gives us a place to point new contributors, as well as to document our project practices.
2016-02-27Auto merge of #280 - 0x1997:sigwait, r=fiveopHomu
Add sigwait
2016-02-27Add sigwaitZhe Wang
2016-02-26Auto merge of #279 - polezaivsani:openbsd_make, r=fiveopHomu
Openbsd make and a few BSD-related fixes
2016-02-25Limit MAP_NOSYNC flag to FreeBSD kinVasily Kolobkov
2016-02-25Withdraw MAP_STACK flag from OpenBSDVasily Kolobkov
2016-02-25Use libcVasily Kolobkov
2016-02-25Fix IPV6 group membership options on OpenBSDVasily Kolobkov
2016-02-25Use libc with OpenBSD kinVasily Kolobkov
2016-02-24Auto merge of #278 - hjr3:af-packet, r=fiveopHomu
Add support for AF_PACKET on linux
2016-02-23Add support for AF_PACKET on linuxHerman J. Radtke III
2016-02-20Auto merge of #274 - abbradar:new-syscalls, r=kamalmarhubiHomu
New syscalls Part of #270
2016-02-20Auto merge of #271 - abbradar:mqueue-fixes, r=kamalmarhubiHomu
mqueue: change types to allow more cases Part of https://github.com/nix-rust/nix/pull/270, fixed according to @kamalmarhubi's comments.
2016-02-20mqueue: change types to allow more casesNikolay Amiantov
2016-02-20Auto merge of #272 - abbradar:select-fixes, r=kamalmarhubiHomu
select(2) fixes Part of #270, fixed according to @kamalmarhubi's comments.
2016-02-20select: make FdSet CloneableNikolay Amiantov
2016-02-20select: allow infinite timeoutNikolay Amiantov
2016-02-20unistd: add chown syscallNikolay Amiantov
2016-02-19unistd: add setuid, setgid syscallsNikolay Amiantov
2016-02-17Auto merge of #267 - kamalmarhubi:linux-splice-etc, r=arcnmxHomu
linux: Add splice(2), tee(2), vmsplice(2)