Age | Commit message (Collapse) | Author |
|
625: Use libc_bitflags! for BSD in fcntl.rs r=Susurrus
|
|
|
|
|
|
|
|
631: Allow nix to compile on android r=Susurrus
Fixes #313
|
|
|
|
|
|
This is necessary because certain flags in libc have different types, generally
due to a mistake when adding the flags to the libc. See
https://github.com/rust-lang/libc/pull/511 for an example of such a
discrepency.
|
|
Newtypes for uid_t, gid_t and pid_t.
|
|
|
|
640: Add iOS as a Tier 3 platform r=Susurrus
With this and #639, then we have at least basic testing recurring for all mobile platforms (note that this is more than the `libc` currently tests, so we may have trouble moving the non-x86 targets to Tier2 until that happens).
|
|
645: Use single threads for testing r=asomers
I actually couldn't find a reference to CARGO_TEST_THREADS in the
current cargo codebase, but RUST_TEST_THREADS is definitely correct.
This should reduce some spurious failures on some platforms.
|
|
|
|
I actually couldn't find a reference to CARGO_TEST_THREADS in the
current cargo codebase, but RUST_TEST_THREADS is definitely correct.
This should reduce some spurious failures on some platforms.
|
|
636: Rely on libc for more socket constants r=Susurrus
Not all values are upstreamed, but this covers the vast majority of them.
|
|
|
|
639: Add all Android targets as Tier 3 platforms r=Susurrus
cc @ndusart @roblabla
|
|
642: Handle short reads in pty tests r=Susurrus
Some pty tests would fail intermittently because read(2) occasionally
returns less data than requested.
|
|
|
|
633: Skip the mount tests on kernel 4.4.0 r=asomers
Some versions of that kernel have a known bug with tmpfs in namespaces.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1659087
Fixes #610
|
|
Starting somewhere in 4.4.0 some versions of Linux have a known bug with
tmpfs in namespaces. It's unknown exactly which versions are affected
(and likely distro-dependent), but easy to detect. When open(2) returns
EOVERFLOW, skip the rest of the test.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1659087
Fixes #610
|
|
Some pty tests would fail intermittently because read(2) occasionally
returns less data than requested.
|
|
|
|
599: Support powerpc64 r=Susurrus
The test_ioctl values are computed using ioctl-test.c
|
|
622: Separate OpenBSD and FreeBSD in fcntl.rs r=asomers
Those two OSes cannot be together since the following FreeBSD flags aren't available on OpenBSD.
- `O_DIRECT`
- `O_EXEC`
- `O_TTY_INIT`
|
|
620: Update bitflags to 0.9 r=asomers
|
|
|
|
|
|
The test_ioctl values are computed using ioctl-test.c
|
|
|
|
|
|
|
|
600: Change sched_setaffinity's PID argument to pid_t r=asomers
I might be missing something as to why this argument was made `isize`, but there's nothing obvious from the commit history, and other calls that work with thread IDs in this library return `pid_t`, so hopefully this is a nit and not noise.
|
|
The officially documented type, and the type in sched.h, for this
argument is pid_t.
|
|
614: Added ptrace utilities. r=Susurrus
Some ptrace functions return structures through the data argument. This commit adds utilities to return data through this mechanism and function specialisations for a few of these functions (getting event messages or the siginfo_t struct). Once the next version of libc is released these utilities will be expanded to include the fpregs and user_regs structs.
Due to the need to use unsafe blocks to utilise these ptrace features I feel these are good candidates for inclusion into rust-nix
|
|
Some ptrace functions return structures through the data argument. This commit adds utilities to return data through this mechanism and function specialisations for a few of these functions (getting event messages or the siginfo_t struct). Once the next version of libc is released these utilities will be expanded to include the fpregs and user_regs structs.
Ptrace requests that are now satisfied by a more specific public function will return an unsupported operation error. This has involved adding an UnsupportedOperation to the nix::Error enum and removed the mapping from Error to Errno and from Error to std::io::Error.
|
|
456: Add openpty r=Susurrus
Lemme know if anything needs to be fixed
|
|
|
|
590: Skip failing tests for Linux/MIPS/PowerPC r=Susurrus
These should be issues with QEMU itself and not problems on the actual hardware, but I want to get some upstream tickets filed before merging this. I'm also not sure if this syntax is correct on the `#cfg`, so this is testing that as well.
|
|
|
|
|
|
|
|
Seems that pretty much all aio tests fail on x64 musl builds.
|
|
|
|
|
|
|
|
|
|
618: Integrate the FreeBSD BuildBot r=asomers
* Gate Bors on the FreeBSD 11 build
* Remove the testless FreeBSD build from Travis
* Promote x86_64-unknown-freebsd to Tier 1
Fixes #603
|
|
591: Add pthread_self r=asomers
|
|
* Gate Bors on the FreeBSD 11 build
* Remove the testless FreeBSD build from Travis
* Promote x86_64-unknown-freebsd to Tier 1
Fixes #603
|