- Sep 30, 2020
-
-
Alistair Francis authored
Signed-off-by:
Alistair Francis <alistair.francis@wdc.com>
-
- 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`.
-
- Aug 31, 2020
-
-
alindima authored
-
- 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
-
- Aug 19, 2020
-
-
Isaac Freund authored
-
- Aug 11, 2020
-
-
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.
-
- Jul 29, 2020
-
-
Nikita Baksalyar authored
-
- Jul 25, 2020
-
-
Gabriel Majeri authored
-
- Jul 23, 2020
-
-
Daniil Bondarev authored
Co-authored-by:
Yuki Okushi <huyuumi.dev@gmail.com>
-
- Jul 22, 2020
-
-
Yuki Okushi authored
- Jul 20, 2020
-
-
Stefano Garzarella authored
In Linux we replaced VMADDR_CID_RESERVED with VMADDR_CID_LOCAL in commit ef343b35d46667668a099655fca4a5b2e43a5dfe. It is available since Linux v5.6, and it can be used to do local communication if supported. This patch deprecates VMADDR_CID_RESERVED for backward compatibility. Signed-off-by:
Stefano Garzarella <sgarzare@redhat.com>
-
- Jul 03, 2020
-
-
Alan Somers authored
-
- Jul 02, 2020
-
-
Yuki Okushi authored
-
- Jun 30, 2020
-
-
Alan Somers authored
-
- Jun 04, 2020
-
-
Brian Cain authored
This commit defines ETIMEDOUT, SIGSTKSZ, MINSIGSTKSZ
-
- May 29, 2020
-
-
Yuki Okushi authored
-
- May 23, 2020
-
-
Joshua Abraham authored
-
- May 21, 2020
-
-
Yuki Okushi authored
-
- May 07, 2020
-
-
Bryant Mairs authored
Reorganized some constants as well so they're grouped a bit better.
-
Bryant Mairs authored
-
- Apr 30, 2020
-
-
Yuki Okushi authored
-
Yuki Okushi authored
-
- Apr 25, 2020
-
-
msizanoen1 authored
-
msizanoen1 authored
-
- Apr 15, 2020
-
-
Hiroki Noda authored
Co-Authored-By:
Yuki Okushi <huyuumi.dev@gmail.com>
-
- Apr 14, 2020
-
-
Hiroki Noda authored
revenge of #598
-
Yuki Okushi authored
-
- Apr 13, 2020
-
-
Yuki Okushi authored
-
Yuki Okushi authored
-
Yuki Okushi authored
-
Alexander Batischev authored
Headers I used: Oh, for reference, here are the headers I used while working on this: - musl: https://git.musl-libc.org/cgit/musl/tree/include/regex.h?id=8327ae0cb23b799bc55a45e0d4bd95f5a2b1cdf1 - glibc: https://sourceware.org/git/?p=glibc.git;a=blob;f=posix/regex.h;h=87cce7f5cb8cc3b678467329b479bd511e250e61;hb=HEAD - macOS: https://opensource.apple.com/source/Libc/Libc-997.90.3/include/regex.h.auto.html - FreeBSD: https://github.com/freebsd/freebsd/blob/8103b0ddb041617b7cd161528f0ff93ff32970a2/include/regex.h - NetBSD: https://github.com/NetBSD/src/blob/61c8f6fbb7e38b20e862d5cb3ed2203312963283/include/regex.h
-
- Apr 10, 2020
-
-
Alex Crichton authored
-
- Apr 09, 2020
-
-
Guillume DIDIER authored
This adds the defines from include/uapi/asm-generic/hugetlb_encode.h and the corresponding defines in include/uapi/linux/mman.h to linux_like/linux/gnu/mod.rs and the equivalent for musl in linux_like/linux/musl/mod.rs Solves #1700 Removes two defines from musl/b32/hexagon.rs that are now provided two mudules "up"
-