summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-10Merge pull request #485 from fiveop/doc_linkPhilipp Matthias Schäfer
Add link to release documentation
2016-12-10Add link to release documentationPhilipp Matthias Schaefer
2016-12-11Auto merge of #488 - fiveop:disable_17, r=@posborneHomu
Allow failures of 1.7 builds Libraries we depend on need newer versions of Rust. The current stable release is 1.13. This also disables the CI for the platforms/architectures MIPS, ARM and Android. This cannot be helped as long as the test infrastructure only runs on 1.7.
2016-12-10Allow failures of 1.7 buildsPhilipp Matthias Schaefer
Libraries we depend on need newer versions of Rust. The current stable release is 1.13. This also disables the CI for the platforms/architectures MIPS, ARM and Android. This cannot be helped as long as the test infrastructure only runs on 1.7.
2016-12-02Auto merge of #475 - asomers:timespec, r=fiveopHomu
Timespec Make TimeVal an opaque Newtype, and add another Newtype for Timespec.
2016-11-25Fix use-after-free in selectAlan Somers
Also, fix the TimeSpec::cmp and TimeVal::cmp methods, and fix some formatting
2016-11-26Auto merge of #477 - zethra:master, r=fiveopHomu
Fixed typo in tcsetpgrp
2016-11-23Fixed typo in tcsetpgrpzethra
2016-11-19update CHANGELOG.md for PR #475Alan Somers
2016-11-19Add TimeSpec, a Newtype around libc::timespecAlan Somers
Also, add trait TimeValLike, so some code can be shared between TimeSpec and TimeVal.
2016-11-19Make TimeVal a NewTypeAlan Somers
2016-11-19Opaqueify TimeValAlan Somers
By exposing its members, nix allowed users to create denormalized TimeVals, which don't work with the derived() Eq and Ord methods. Better to make TimeVal opaque, so it will always be normalized.
2016-11-19Auto merge of #474 - asomers:unixdomain, r=fiveopHomu
Fix multiple issues with Unix domain sockets
2016-11-18update CHANGELOG.md for PR #474Alan Somers
2016-11-18Improve portability of test_getsocknameAlan Somers
test_getsockname used an IPv4 socket and assumed that localhost was "127.0.0.1". But that assumption doesn't hold on IPv6-only hosts or on shared-IP FreeBSD jails. Unfortunately, the Rust standard library doesn't provide a good way to resolve localhost. So change the test to use a unix-domain socket instead.
2016-11-18Fix Unix domain sockets.Alan Somers
There were multiple errors regarding Unix domain sockets: * UnixAddr::path assumed that gethostbyname and similar functions would include the terminating null as part of len. That is not universally true. In fact, POSIX only guarantees that len will be at least large enough to store the non-null-terminated path. So it could be larger or smaller than nix was assuming. Since abstract sockets' paths are not strings, we can't modify gethostbyname. Instead, I implemented the fix in UnixAddr::path and UnixAddr::new. I clarified the documentation too. * SockAddr::as_ffi_pair contained a Linuxism. * sockaddr_storage_to_addr forgot to adjust sun_len when creating a UnixAddr
2016-11-17Auto merge of #470 - fiveop:no_pre, r=posborneHomu
Get rid of version suffix between versions
2016-11-17Auto merge of #469 - asomers:select, r=posborneHomu
Fix intermittency in test_select Sometimes, on a heavily laden system, select would timeout and the test would fail. Fix it by removing the timeout.
2016-11-16Fix intermittency in test_selectAlan Somers
Sometimes, on a heavily laden system, select would timeout and the test would fail. Fix it by lengthening the timeout to 10s.
2016-11-16Get rid of version suffix between versionsPhilipp Matthias Schaefer
2016-11-16Auto merge of #467 - fiveop:fail_on_beta_fail, r=posborneHomu
Fail on beta builds again. Fixes #435
2016-11-15Fail on beta builds again.Philipp Matthias Schaefer
Fixes #435
2016-11-15Fix CHANGELOG.md linksPhilipp Matthias Schaefer
2016-11-15Auto merge of #460 - chaosagent:sys_signal, r=fiveopHomu
Change SigFlags into an enum. Addresses #459. This is a breaking change. Should SigFlags be renamed to something more sensible?
2016-11-15Auto merge of #463 - asomers:kevent, r=fiveopHomu
Change KEvent to treat udata as an intptr_t instead of a uintptr_t. This matches NetBSD's C definitions. Other operating systems define it as void*, despite not really being a pointer, but none actually define it as uintptr_t. Better to be right on NetBSD and wrong everywhere else than wrong everywhere. Plus, it's what mio expects. Please include this PR in nix 0.8.0
2016-11-14Added combined CHANGELOG entry for PRs 415, 442, and 463Alan Somers
2016-11-15Auto merge of #466 - fiveop:warnings, r=posborneHomu
Get rid of a few test compilation warnings Cleans up after 0fa7250b9575a2746519a854d0138c4c8255f109 and 40351db00da6ee8c904f47599ee692a85e3d96ef.
2016-11-14Get rid of a few test compilation warningsPhilipp Matthias Schaefer
2016-11-15Auto merge of #445 - fiveop:kill_optional_signal, r=@kamalmarhubiHomu
Make signal argument to kill optional Fixes #441
2016-11-14Make signal argument to kill optionalPhilipp Matthias Schaefer
2016-11-14Auto merge of #465 - asomers:cleanup, r=posborneHomu
Avoid TempDir::into_path(), because it doesn't cleanup on Drop
2016-11-13Avoid TempDir::into_path(), because it doesn't cleanup on DropAlan Somers
2016-11-10Change KEvent to treat udata as an intptr_t instead of a uintptr_t.Alan Somers
This matches NetBSD's C definitions. Other operating systems define it as void*, despite not really being a pointer, but none actually define it as uintptr_t. Better to be right on NetBSD and wrong everywhere else than wrong everywhere. Plus, it's what mio expects.
2016-11-10Auto merge of #462 - dgreid:changelog_for_newcgroup, r=posborneHomu
Update CHANGELOD.md to include CLONE_NEWCGROUP Add note about CLONE_NEWCGROUP from pull request #457 to CHANGELOG.md. Signed-off-by: Dylan Reid <dgreid@chromium.org>
2016-11-09Update CHANGELOD.md to include CLONE_NEWCGROUPDylan Reid
Add note about CLONE_NEWCGROUP from pull request #457 to CHANGELOG.md. Signed-off-by: Dylan Reid <dgreid@chromium.org>
2016-11-08Add SigFlags -> SigmaskHow rename to CHANGELOG.mdDavid Hou
2016-11-08Rename SigFlags to SigmaskHowDavid Hou
2016-11-09Auto merge of #451 - zethra:master, r=kamalmarhubiHomu
Added tcgetpgrp and tcsetpgrp I added the tcgetpgrp and tcsetpgrp functions. I'm not sure if I did everything right so please tell me if I need to change anything.
2016-11-08Added .map(drop) as requestedzethra
2016-11-08Updated CHANGELOG.mdzethra
2016-11-08Merge remote-tracking branch 'upstream/master'zethra
2016-11-08Added documention to tcgetpgrp and tcsetpgrpzethra
2016-11-06Add some tests for sys::signal.David Hou
2016-11-06Change SigFlags into an enum.David Hou
2016-11-04Auto merge of #457 - dgreid:clone_newcgroup, r=posborneHomu
Add CLONE_NEWCGROUP This is a new option to clone added earlier this year. It was already added to rust/libc.
2016-11-03Add CLONE_NEWCGROUPDylan Reid
2016-11-02Auto merge of #452 - posborne:additional-documentation-additions, r=fiveopHomu
Additional documentation additions This is a second round of doc additions. There are also some funcitonal changes to APIs for getting/setting hostname that need to be reviewed. r? @nix-rust/nix-maintainers
2016-11-01unistd: doc updates based on review commentsPaul Osborne
These make the language consistent in the 3rd person, fix a few minor mistakes, and remove some superflous prose. Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-11-01Auto merge of #454 - alexcrichton:bump-rust, r=posborneHomu
Bump minimum supported version of Rust Many crates are coalescing around 1.9.0 with the stabilization of `std::panic`, and it helps remove the build script w/ rustc version parsing for now as well.
2016-10-31Merge remote-tracking branch 'upstream/master'zethra