- Aug 20, 2020
-
-
Yuki Okushi authored
-
Jed Brown authored
Skip test on aarch64 due to https://github.com/rust-lang/libc/issues/1765
-
- Aug 19, 2020
-
-
Yuki Okushi authored
PSP: A few corrections to types and function signatures
-
Yuki Okushi authored
Add ucontext_t for aarch64-unknown-linux-musl
-
Paul Sajna authored
-
Isaac Freund authored
-
Yuki Okushi authored
Move `x86_64-unknown-cloudabi` to tier 3 check
-
Yuki Okushi authored
-
- Aug 18, 2020
-
-
Yuki Okushi authored
-
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 16, 2020
-
-
Yuki Okushi authored
-
Fredrik Fornwall authored
-
- Aug 14, 2020
-
-
Yuki Okushi authored
-
- Aug 13, 2020
-
-
Yuki Okushi authored
Add execl* functions on Windows
-
- Aug 12, 2020
-
-
Basix authored
-
Fredrik Fornwall authored
-
- Aug 11, 2020
-
-
Yuki Okushi authored
Expose si_pid and si_uid from siginfo_t as functions
-
Yuki Okushi authored
Add CLD_ constants
-
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.
-
Yuki Okushi authored
Add mac/ios pthread_from_mach_thread_np
-
- 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.
-
Fábio Botelho authored
Allows us to get a pthread id from a match thread id. From pthread.h [1]: ``` __API_AVAILABLE(macos(10.5), ios(2.0)) _Nullable pthread_t pthread_from_mach_thread_np(mach_port_t); ``` [1] - https://opensource.apple.com/source/libpthread/libpthread-416.40.3/pthread/pthread.h.auto.html
-
- Aug 06, 2020
-
-
Yuki Okushi authored
add openpty and forkpty implementation for illumos systems
-
Joshua M. Clulow authored
At time of writing, illumos systems do not provide an implementation of the openpty() and forkpty() wrappers provided on some other UNIX systems. While we expect to grow an implementation, it seems prudent to provide a compatibility routine here first to unblock illumos support in the popular nix crate.
-
Yuki Okushi authored
-
- Aug 05, 2020
-
-
Dark Kirb authored
DevkitPPC does not support unix sockets natively, meaning that bindings to these functions was removed for powerpc targets with "nintendo" as vendor. Suggested target json files: Nintendo Gamecube: ``` { "arch": "powerpc", "data-layout": "E-m:e-p:32:32-i64:64-n32", "dynamic-linking": false, "env": "newlib", "executables": true, "has-elf-tls": false, "has-rpath": true, "linker-flavor": "gcc", "llvm-target": "powerpc-eabi", "max-atomic-width": 32, "os": "dolphin", "target-c-int-width": "32", "target-endian": "big", "target-family": "unix", "target-mcount": "_mcount", "target-pointer-width": "32", "vendor": "nintendo" } ``` Nintendo Wii: ``` { "arch": "powerpc", "data-layout": "E-m:e-p:32:32-i64:64-n32", "dynamic-linking": false, "env": "newlib", "executables": true, "has-elf-tls": false, "has-rpath": true, "linker-flavor": "gcc", "llvm-target": "powerpc-eabi", "max-atomic-width": 32, "os": "revolution", "target-c-int-width": "32", "target-endian": "big", "target-family": "unix", "target-mcount": "_mcount", "target-pointer-width": "32", "vendor": "nintendo" } ```
-
- Aug 04, 2020
-
-
Yuki Okushi authored
Add more constants for getnameinfo on android
-
- Aug 03, 2020
-
-
Yuki Okushi authored
add ucred(3C) support for illumos and Solaris systems
-
- Aug 02, 2020
-
-
coolreader18 authored
-
Joshua M. Clulow authored
This series of routines allows the caller to determine the credentials of another process by pid, or of the process on the remote end of a UNIX domain socket. The ucred_t is an opaque object with accessor routines, and must be freed through ucred_free(3C) after use.
-
- Jul 31, 2020
-
-
Yuki Okushi authored
Add sys/personality.h constants for Linux
-
- Jul 29, 2020
-
-
Nikita Baksalyar authored
-
- Jul 28, 2020
-
-
Yuki Okushi authored
Bump version to 0.2.74
-
Yuki Okushi authored
Deprecate CTL_P1003_1B_MAXID
-
Yuki Okushi authored
-
amanda-tait authored
This change addresses two style errors found in PR review: * indent and linebreak in CMSG_NXTHDR * prefer `0 as *mut cmsghdr` over `core::ptr::nul_mut()`
-