- Aug 16, 2020
-
-
Fredrik Fornwall authored
-
- Aug 12, 2020
-
-
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
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.
-
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()`
-
- Jul 27, 2020
-
-
Glenn Hope authored
This includes changes which will allow us to successfully build `libstd` for the PSP.
-
Yuki Okushi authored
Create macros for defining Copy/Clone on enums and struct(), use for psp
-
Alan Somers authored
It's been removed in FreeBSD 13 (svn r363622), and never had any legitimate use outside of the base system anyway.
-
Glenn Hope authored
Fix styling Re-run CI
-
Amanda Tait authored
This change defines and implements functions for the Fuchsia platform corresponding to the C library CMSG_* macros, used for processing socket control messages sent or received using the recv_msg(2)/send_msg(2) syscalls.
-
- Jul 26, 2020
-
-
Yuki Okushi authored
Update FreeBSD 11 to 11.4-RELEASE
-
Yuki Okushi authored
-
Yuki Okushi authored
-
Yuki Okushi authored
-
Yuki Okushi authored
-
Yuki Okushi authored
Add "_aligned_malloc" on windows platform
-
- Jul 25, 2020
-
-
kellda authored
-
Yuki Okushi authored
Use `build-std` feature instead of using `cargo-xbuild`
-
Yuki Okushi authored
Add `PTRACE_EVENT_STOP`
-
Gabriel Majeri authored
-
Yuki Okushi authored
-