summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
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>