summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-11-12test_unistd: Add test for getgrouplist/initgroups()Jamie Hewland
2017-11-12unistd: Add getgrouplist()Jamie Hewland
2017-11-12unistd: Add initgroups()Jamie Hewland
2017-11-12test_unistd: Add test for getgroups/setgroups()Jamie Hewland
2017-11-12unistd: Add getgroups()Jamie Hewland
2017-11-12unistd: Add setgroups()Jamie Hewland
2017-11-12unistd: Remove trailing whitespaceJamie Hewland
2017-11-11Merge #568bors[bot]
568: Add process_vm_readv and process_vm_writev r=asomers a=geofft
2017-11-11Merge #787bors[bot]
787: Omit invalid waitpid flags on OpenBSD r=Susurrus a=worr OpenBSD doesn't have `WEXITED`, `WSTOPPED`, or `WNOWAIT`, so omit those from that platform.
2017-11-11Formatting with rustfmtWilliam Orr
2017-11-11Omit invalid waitpid flags on OpenBSDWilliam Orr
OpenBSD doesn't have `WEXITED`, `WSTOPPED`, or `WNOWAIT`, so omit those from that platform.
2017-11-11Merge #792bors[bot]
792: Use libc_enum! where possible r=Susurrus a=wginolas Some enums which use different names for values than libc still set the discriminators manually. closes #254
2017-11-11Alphabetize some target_os configurationsWolfgang Ginolas
2017-11-08Add process_vm_readv and process_vm_writevGeoffrey Thomas
2017-11-08Merge #771bors[bot]
771: ptrace: add PTRACE_O_EXITKILL option r=Susurrus a=bpowers It is a somewhat newer option -- it requires Linux 3.8. Is there a more precise way to specify that?
2017-11-07Merge #794bors[bot]
794: Migrate memfd constants to libc r=Susurrus a=Susurrus This will fail because rust-lang/libc#836 is not merged yet, but just getting it staged for when it is.
2017-11-05Migrate memfd constants to libcBryant Mairs
2017-11-05Use libc_enum! where possibleWolfgang Ginolas
Some enums which use different names for values than libc still set the discriminators manually. closes #254
2017-11-05Merge #790bors[bot]
790: Fix netbsd kevent for breakage introduced by libc r=asomers a=Susurrus
2017-11-05Fix kevent for netbsd filter datatypeBryant Mairs
The datatype for kevent.filter is u32 on NetBSD and i16 on all other supported platforms. This was recently fixed in upstream libc, breaking this API, so this fixes it. This change also modernizes the code a bit to unify the EventFilter datatype across platforms and switch to the libc_enum! macro.
2017-11-05Sort target OSes alphabeticallyBryant Mairs
2017-10-30doc: add changelog entry for PTRACE_O_EXITKILLBobby Powers
2017-10-30ptrace: add PTRACE_O_EXITKILL optionBobby Powers
It is a somewhat newer option -- it requires Linux 3.8.
2017-10-20Merge #780bors[bot]
780: Add a test for ppoll r=Susurrus a=asomers
2017-10-17Merge #782bors[bot]
782: Fix formatting in CHANGELOG.md r=posborne a=asomers
2017-10-17Merge #783bors[bot]
783: Promote i686-unknown-freebsd to Tier1 in the README r=Susurrus a=asomers We effectively made it Tier1 back in ec6fe0629df87d8355cbdba8b7a0855934a5ac9e, but never updated the README.
2017-10-14Promote i686-unknown-freebsd to Tier1 in the READMEAlan Somers
We effectively made it Tier1 back in ec6fe0629df87d8355cbdba8b7a0855934a5ac9e, but never updated the README.
2017-10-14Fix formatting in CHANGELOG.mdAlan Somers
2017-10-14Add a test for ppollAlan Somers
2017-10-11Merge #774bors[bot]
774: #602 added unistd::mkfifo r=asomers a=jpastuszek Since libc has mkfifo already I have just copied mkdir and adapted to mkfifo. I have tested that on MacOS only.
2017-10-11added unistd::mkfifo #602Jakub Pastuszek
2017-10-11Merge #778bors[bot]
778: Replace most Linux man page links with Open Group man page links r=posborne a=asomers But leave in place Linux links for non-standard functions. Also, add brief docs for some functions that were lacking them.
2017-10-08Merge #768bors[bot]
768: Add support for 'fallocate' r=asomers a=SanchayanMaity For #596
2017-10-08Replace most Linux man page links with Open Group man page linksAlan Somers
But leave in place Linux links for non-standard functions. Also, add brief docs for some functions that were lacking them.
2017-10-07Add test for 'fallocate'Sanchayan Maity
2017-10-07Add support for 'fallocate'Sanchayan Maity
2017-10-07Merge #773bors[bot]
773: Add more accessors for AioCb r=asomers a=asomers
2017-10-07Merge #775bors[bot]
775: Fix test warnings r=asomers a=SanchayanMaity
2017-10-05Fix variable does not need to be mutable warning for aio testSanchayan Maity
This fixes the following warning during run of cargo test warning: variable does not need to be mutable --> test/sys/test_aio.rs:16:13 | 16 | fn poll_aio(mut aiocb: &mut AioCb) -> Result<()> { | ^^^^^^^^^ | = note: #[warn(unused_mut)] on by default
2017-10-05Fix use of deprecated item: gcc::ConfigSanchayan Maity
gcc::Config has been renamed to gcc::Build This fixes the following warning during run of cargo test warning: use of deprecated item: gcc::Config has been renamed to gcc::Build --> nix-test/build.rs:16:5 | 16 | gcc::Config::new() | ^^^^^^^^^^^^^^^^ | = note: #[warn(deprecated)] on by default
2017-10-02Add more accessors for AioCbAlan Somers
2017-09-07Merge #663bors[bot]
663: Add support for SO_TIMESTAMP r=asomers a=Wolvereness This was implemented as part of my employment, and I have received permission to submit it upstream under my own name. I implemented this with a bit of copy+pasting from the SCM_RIGHTS implementation, and it appeared to be functional when originally implemented on top of 13deb619c3e0bdf490511cedd848e60633ca3b2d (tagged v0.8.0).
2017-09-06Merge pull request #762 from Mic92/stat-testsAlan Somers
test/test_stat.rs: test correct stat function
2017-09-06Merge pull request #763 from Mic92/merge-unionAlan Somers
use better merge algorithm for CHANGELOG.md
2017-09-04test/test_stat.rs: use matching tempdir name for test_fstatatJörg Thalheim
2017-09-04use better merge algorithm for CHANGELOG.mdJörg Thalheim
see also: https://about.gitlab.com/2015/02/10/gitlab-reduced-merge-conflicts-by-90-percent-with-changelog-placeholders/
2017-09-04test/test_stat.rs: test correct stat functionJörg Thalheim
2017-09-04Add support for SO_TIMESTAMPWesley Wolfe
2017-09-03Merge #715bors[bot]
715: Fix multiple issues with POSIX AIO r=asomers a=asomers Fixed error handling in `AioCb::fsync`, `AioCb::read`, and `AioCb::write` Previously, the `AioCb`'s `in_progress` field would erroneously be set to `true`, even if the syscall had an error Fixes #714 AioCb::Drop will now panic for in-progress AioCb Printing a warning message to stderr isn't really appropriate, because there's no way to guarantee that stderr is even valid. Nor is aio_suspend necessarily an appropriate action to take.
2017-09-03Fixed error handling in `AioCb::{fsync,read,write}`Alan Somers
Previously, the `AioCb`'s `in_progress` field would erroneously be set to `true`, even if the syscall had an error Fixes #714