- Oct 25, 2020
-
-
Yuki Okushi authored
-
- Oct 24, 2020
-
-
George Hopkins authored
Co-authored-by:
Yuki Okushi <huyuumi.dev@gmail.com>
-
- Oct 23, 2020
-
-
brian-cook authored
-
Kenta Tada authored
Signed-off-by:
Kenta Tada <Kenta.Tada@sony.com>
-
- Oct 21, 2020
-
-
George Hopkins authored
We leave IPPROTO_MAX as is for the time being. However, in recent kernel releases IPPROTO_MAX is actually higher and reflects the addition of IPPROTO_MPTCP.
- 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.
-
- 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)
-
- Oct 07, 2020
-
-
Andrew Walbran 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`.
-
- 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).
-
- Sep 11, 2020
-
-
LinkTed authored
-
- Aug 31, 2020
-
-
alindima 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 22, 2020
-
-
Daniil Bondarev authored
Previously clock_getcpuclockid was enabled only on linux, with this change it is enabled on all linux_like and freebsdlike.
-
- Aug 20, 2020
-
-
Josh Triplett authored
-
Josh Triplett authored
-
- Aug 19, 2020
-
-
Isaac Freund authored
-
- Aug 18, 2020
-
-
Josh Triplett authored
Linux defines a waitid type `P_PIDFD`, for use with process file descriptors (`pidfd`). Add that constant. In libc-test, add linux/wait.h to the Linux-specific and Android-specific headers, to get the definition. Exclude it on Android and musl for now, though, as the versions in CI don't have it yet.
-
- Aug 12, 2020
-
-
Fredrik Fornwall authored
-
- Aug 11, 2020
-
-
Josh Triplett authored
On Linux, `sys/wait.h` defines a `W_STOPCODE` macro to construct a stop code from the signal number of a stopping signal. Provide an equivalent function. Suggested-by:
Ivan Tham <pickfire@riseup.net>
-
Josh Triplett authored
The SIGCHLD variant of the siginfo structure also provides fields for user and system time; expose those as well.
-
Josh Triplett authored
The first 3 fields of `siginfo_t` have different orders on MIPS. When casting `siginfo_t` to a different type to access the fields of the `sifields` union, avoid giving names to the first three fields, since they're only present for memory layout and shouldn't be accessed from the casted structure type.
-
- Aug 10, 2020
-
-
Josh Triplett authored
On Linux, siginfo_t cannot expose these fields directly due to https://github.com/rust-lang/libc/issues/716 , so expose them as functions, just like si_addr and si_value. In order to get alignment correct on both 32-bit and 64-bit architectures, define an sifields union that includes a pointer field, to ensure that it has the same alignment as a pointer.
-
- Aug 09, 2020
-
-
Josh Triplett authored
These constants appear in the si_code field of a SIGCHLD signal or waitid-returned siginfo value.
-
Josh Triplett authored
On Linux, `sys/wait.h` defines a `W_EXITCODE` macro to construct an exit code from a return value and a signal number. Provide an equivalent function.
-