summaryrefslogtreecommitdiff
path: root/test/sys/test_uio.rs
AgeCommit message (Collapse)Author
2019-09-19Require CAP_SYS_PTRACE for certain testsAlan Somers
process_vm_readv requires it, and I'm not exactly sure which other things do too.
2018-09-05Replace allow unused directive with _ prefixPascal Bach
2018-09-05Update to rand 0.5 cratePascal Bach
This avoids having both 0.4 and 0.5 (required by tempfile)
2018-09-01deps: update tempfile to 3Igor Gnatenko
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-07-03Make preadv take immutable slice of IoVecs, fixes #913Jakub OkoĊ„ski
2017-12-20Remove uses of .iter()/.iter_mut()Bryant Mairs
More Rusty to use &X and &mut X where X is a container type.
2017-12-20Remove useless Err(_) match armsBryant Mairs
2017-12-20Use iter::Cloned() instead of closureBryant Mairs
2017-12-20Remove useless vec![]Bryant Mairs
2017-12-02Upgrade to Bitflags 1.0Bryant Mairs
The libc_bitflags! macro was replaced with a non-recursive one supporting only public structs. I could not figure out how to make the old macro work with the upgrade, so I reworked part of the bitflags! macro directly to suit our needs, much as the original recursive macro was made. There are no uses of this macro for non-public structs, so this is not a problem for internal code.
2017-11-08Add process_vm_readv and process_vm_writevGeoffrey Thomas
2017-07-17Remove preadv_pwritev feature in favor of conditional includeBryant Mairs
2016-11-14Get rid of a few test compilation warningsPhilipp Matthias Schaefer
2016-10-23use tempfile in test_pwrite.Alan Somers
2016-01-13Use tempdir for temporary files in testsKamal Marhubi
2015-10-20Only run signalfd tests when feature is setCarl Lerche
2015-07-27Make it compatible for Android.Tim JIANG
* Fixed an unused_import error in `termios.rs` for Android. * Fixed undefined references to `preadv` and `pwritev` for Android - At least they don't exist from API level 3 to 21. * Fixed the uid > 0 and gid > 0 checks in `stat`'s tests - Running the tests by root is possible, especially when running on a rooted Android device. Those changes made rust-nix buildable (again) on Android. All the tests passed as well.
2015-07-13Add support for preadv and pwritev to sys/uio on Linux.Trip Volpe
2015-07-04Fix off-by-one error calling Rng::gen_rangeJoseph Kain
Fix the boundary condition so that we never call Rng::gen_range(64, 64). Helps #144
2015-06-05Add pwrite and preadFlorian Hartwig
2015-03-28Track Rust nightlyCarl Lerche
2015-03-25Track Rust masterCarl Lerche
2015-02-21Fix uio and add SockAddr conversionsCarl Lerche
2015-02-21Cleanup readv & writev + testsCarl Lerche