summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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-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
2016-10-31Remove `rustc-version` dependency and build scriptAlex Crichton
The script checked for rustc >= 1.6.0, but the minimum supported version for this crate is now 1.7.0
2016-10-30Auto merge of #453 - nix-rust:asomers-kevent, r=posborneHomu
Asomers kevent This is a rebase of @asomers work on master to resolve a merge conflict so we can get things merged up.
2016-10-29Update comments and CHANGELOG for PR 442Alan Somers
2016-10-29impl Send for KEventAlan Somers
2016-10-29unistd: add module-level doc comment that makes sensePaul Osborne
The previous one was entirely too generic. Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-10-29unistd: add documentation for the daemon functionPaul Osborne
Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-10-29unistd: add docs for exec* functionsPaul Osborne
Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-10-30Auto merge of #449 - posborne:documentation-improvements, r=kamalmarhubiHomu
Documentation improvements This series of commits starts to fill in documentation that was not previously present for various calls, mostly in unistd for this pass. r? @kamalmarhubi
2016-10-28Added tcgetpgrp and tcsetpgrpzethra
2016-10-29Auto merge of #433 - kiddkai:getpgid, r=posborneHomu
add getpgid call Add a `getpgid` function to nix. Argument is required, either pass in `None` or `Some(pid_t)`. It should have the same behavior as the `libc` one.
2016-10-28add getpgid in changelogkiddkai
2016-10-28remove extra line in the commitkiddkai
2016-10-28add getpgidkiddkai
2016-10-27unistd: add docs for chownPaul Osborne
Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-10-27unistd: add docs for chdirPaul Osborne
Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-10-27unistd: document the dup, dup2, and dup3 callsPaul Osborne
Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-10-27unistd: add documentation for gettidPaul Osborne
Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-10-27unistd: add setsid implementationPaul Osborne
This is a logical companion to setpgid, so adding an implementation. Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-10-27unistd: add documentation for setpgidPaul Osborne
Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-10-27unistd: add docs for getpid/getppidPaul Osborne
Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-10-27unistd: add better docs for fork()Paul Osborne
Signed-off-by: Paul Osborne <osbpau@gmail.com>
2016-10-27error: add documentation for nix::ErrorPaul Osborne
Signed-off-by: Paul Osborne <paul.osborne@smartthings.com>
2016-10-28Auto merge of #448 - dgreid:setresuid, r=posborneHomu
Add setresuid and setresgid These were both recently added to libc, add wrappers. Signed-off-by: Dylan Reid <dgreid@chromium.org>
2016-10-26Add setresuid and setresgidDylan Reid
These were both recently added to libc, add wrappers. Signed-off-by: Dylan Reid <dgreid@chromium.org> --- Changes since v2: Updated function comments and CHANGELOG Changes since v1: Add function comments, update CHANGELOG
2016-10-25Auto merge of #446 - kamalmarhubi:bind-mount-in-ci, r=posborneHomu
mount: Run test_mount_bind in CI Looks like Travis allows bind mounts in their container infra now.
2016-10-24mount: Run test_mount_bind in CIKamal Marhubi
Looks like Travis allows bind mounts in their container infra now.
2016-10-25Auto merge of #443 - asomers:mkstemp, r=posborneHomu
use tempfile in test_pwrite Use tempfile in test_pwrite so as not to pollute the source directory.
2016-10-25Auto merge of #444 - posborne:rust-1.7-minimum-supported-version, r=kamalmarhubiHomu
ci: drop official support for rustc < 1.7.0 Supporting older versions of rust is causing CI to fail and is a somewhat constant support burden with questionable value. 1.7.0 is the oldest I have seen that people have had a requirement on supporting in recent history. It may make sense to work toward a more official policy on what version of rust we will support in the future. Users of older version of rust are, of course, welcome to use older versions of nix and everything else in the ecosystem. r? @kamalmarhubi @fiveop