- Oct 20, 2020
-
-
Fabian Muscariello authored
-
Kenta Tada authored
Signed-off-by:
Kenta Tada <Kenta.Tada@sony.com>
-
Yuki Okushi authored
-
- Oct 19, 2020
-
-
Andrew Walbran authored
From sys/uio.h. Note that preadv64/pwritev64 are already included in src/unix/linux_like/mod.rs. Also fix parameter names of process_vm_[readv,writev] to match Bionic header.
-
DarcInc authored
-
- Oct 16, 2020
-
-
Eduardo Sánchez Muñoz authored
-
- Oct 15, 2020
-
-
rupansh-arch authored
-
rupansh-arch authored
Signed-off-by:
rupansh-arch <rupanshsekar@hotmail.com>
-
Eduardo Sánchez Muñoz authored
-
Eduardo Sánchez Muñoz authored
These trait implementations exposed an unsound API (see https://github.com/rust-lang/libc/issues/1501)
-
Max Blachman authored
-
- Oct 10, 2020
-
-
Robert Collins authored
-
- Oct 07, 2020
-
-
Daniel Brooks authored
-
Andrew Walbran authored
-
- Oct 04, 2020
-
-
Josh Triplett authored
Avoid attempting to enable the static_nobundle feature twice, which results in rustc error E0636.
-
Patrick Mooney authored
-
- Oct 01, 2020
-
-
Alistair Francis authored
Signed-off-by:
Alistair Francis <alistair.francis@wdc.com>
-
Alistair Francis authored
Signed-off-by:
Alistair Francis <alistair.francis@wdc.com>
-
- Sep 30, 2020
-
-
Alistair Francis authored
Signed-off-by:
Alistair Francis <alistair.francis@wdc.com>
-
- Sep 29, 2020
-
-
Andrew Walbran authored
-
- Sep 27, 2020
-
-
John Paul Adrian Glaubitz authored
On sparc-unknown-linux-gnu, char is signed, not unsigned.
-
- Sep 25, 2020
-
-
Bartel Sielski authored
Support was previously added to gnu x86_64 and all musl targets but others were not included because of a roundtrip issue [1]. This commit adds support for the ip_mreqn struct on all Linux GNU targets which did not have the roundtrip issue. [1]: https://github.com/rust-lang/libc/issues/1558 Signed-off-by:
Bartel Sielski <bartel.sielski@gmail.com>
-
- Sep 21, 2020
-
-
Josh Triplett authored
Move the link line for `libdl` up to `src/unix/mod.rs`, making it easier to see all the libraries `libc` links to. This also makes `libdl` respect `target-feature=+crt-static`.
-
Josh Triplett authored
The two library blocks that specify `#[link(name = "util")]` do not actually reference any functions in `libutil`; the functions that do use `libutil` don't have any reference to it. And having two library blocks specify it results in two separate inclusions of `-lutil` on the linker command line. Move the link lines up to `src/unix/mod.rs`, making it easier to see all the libraries `libc` links to. This also makes `libutil` respect `target-feature=+crt-static`.
-
Josh Triplett authored
This will need corresponding changes in rust-lang/rust to activate, but this will make it possible to make those changes. Note that despite the apparent redundancy in config directives, the link directives cannot be simplified any further. Attempting to factor out the checks for `target_feature = "crt-static"` does not work.
-
- Sep 17, 2020
-
-
Aaron Hill authored
These syscalls were added recently, and therefore have consistent numbers across different architetures (other than the weird offsetting on some platforms).
-
Matt Schulte authored
!1880 added UIO_MAXIOV to libc, but did not add it to uclibc. This causes build breaks for std against uclibc.
-
- Sep 13, 2020
-
-
Dan Gohman authored
-
Daniil Bondarev authored
The pr #1870 introduced safe_f! macro, which made some functions like WIFEXITED and WEXITSTATUS const and safe on linux_like platform only, which causes inconsistency when trying to use those functions in crates compiled across multiple platforms, as using unsafe on those functions will generate unused_unsafe warning on linux platforms and lack of unsafe block will fail compilation on non-linux platforms. To avoid the inconsistency, this commit applies the same macro for all the same functions on other platforms too.
-
- Sep 11, 2020
-
-
LinkTed authored
-
- Sep 09, 2020
-
-
Petr Sumbera authored
-
- Sep 04, 2020
-
-
Dan Gohman authored
Define `O_NOCTTY`, `R_OK`, `POLLIN`, and related constants using the current values from WASI libc.
-
- Sep 03, 2020
-
-
MeiK authored
Add getitimer and setitimer for macOS
-
- Aug 31, 2020
-
-
alindima authored
-
- Aug 30, 2020
-
-
John Colanduoni authored
-
- Aug 28, 2020
-
-
Thomas de Zeeuw authored
These constant can be used to determine the maximum number of iovecs can be passed to functions like readv/writev. Linux like uses UIO_MAXIOV, while the BSD family uses IOV_MAX.
-
- Aug 24, 2020
-
-
Chuck Musser authored
-
- Aug 23, 2020
-
-
Chuck Musser authored
Expose __errno_location() (introduced in DragonFlyBSD 5.8), which returns the current thread's errno value. This is similar to Linux and avoids having a separate module that defines both errno (which depends on the thread_local feature) and an __error() function.
-
- Aug 22, 2020
-
-
Niels Sascha Reedijk authored
These methods were added in Haiku R1 beta 2.
-
Daniil Bondarev authored
Previously clock_getcpuclockid was enabled only on linux, with this change it is enabled on all linux_like and freebsdlike.
-