- Aug 02, 2020
-
-
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 29, 2020
-
-
Nikita Baksalyar authored
-
- Jul 28, 2020
-
-
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
-
-
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 25, 2020
-
-
kellda authored
-
Gabriel Majeri authored
-
- Jul 24, 2020
-
-
Bryan Donlan 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>
-
Dan Gohman authored
As with the other *64 functions in Linux, `posix_fadvise64` is like `posix_fadvise` but uses `off64_t` instead of `off_t`.
-
- Jul 19, 2020
-
-
Paul Sajna authored
fix compilation errors rustfmt fix style add f! for const fns remove unneccessary const functions
-
Paul Sajna authored
rustfmt
-
Marko Mijalkovic authored
-
Marko Mijalkovic authored
-
Marko Mijalkovic authored
Fix style errors
-
Marko Mijalkovic authored
-
Simonas Kazlauskas authored
-
Simonas Kazlauskas authored
-
- Jul 17, 2020
-
-
Patrick Mooney authored
Initially the EPOLLEXCLUSIVE definition was hidden on the illumos platform as it lacked explicit support. After further review, it was concluded that EPOLLEXCLUSIVE can safely be considered a no-op, when not fully implemented by the OS, making it safe for use on illumos.
-
- Jul 14, 2020
-
- Jul 09, 2020
-
-
Simon Wörner authored
-
Simon Wörner authored
-
- Jul 08, 2020
-
-
Jake Goulding authored
The new ARM-based platform doesn't need these as there's no legacy constraints. Tested via **demo.c** ```c int main() { fstat(0, NULL); fstatat(0, NULL, NULL, 0); lstat(NULL, NULL); stat(NULL, NULL); readdir(NULL); readdir_r(NULL, NULL, NULL); } ``` **Compilation** ```none % SDKROOT=/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk MACOSX_DEPLOYMENT_TARGET=11.5 cc -arch arm64 demo.c % nm a.out 0000000100008030 d __dyld_private 0000000100000000 T __mh_execute_header U _fstat U _fstatat U _lstat 0000000100003e64 T _main U _readdir U _readdir_r U _stat U dyld_stub_binder ``` This has also been experimentally compiled on a Developer Transition Kit.
-
- Jul 07, 2020
-
-
Alan Somers authored
Fixes #1775
-
- Jul 06, 2020
-
-
Dan Gohman authored
This adds various WASI libc definitions to the Rust libc bindings that I needed while porting some applications to WASI. It also removes the `pause` binding since newer versions of WASI libc have removed this function as well. (WASI currently has no syscall with this functionality.)
-
Greg V authored
Plus, add new constants for sysctls that give names to existing magic numbers. https://reviews.freebsd.org/rS350749 https://reviews.freebsd.org/rS352486
-
Greg V authored
-
Greg V authored
Wide chars are unsigned when normal chars are
-
Greg V authored
-
Greg V authored
sys/stat.h is a machine-independent header, but it has ifdefs for i386. The version that was called x86_64.rs should be used on powerpc64 too, but I don't have a machine to test that on.
-
Greg V authored
I just got 'libxul.so: Undefined symbol "mq_close"' when rebuilding Firefox.. How did no one catch this before?? This is correct for both FreeBSD and DragonFly: https://github.com/freebsd/freebsd/blob/master/lib/librt/Symbol.map https://github.com/DragonFlyBSD/DragonFlyBSD/blob/e7ab884bd49753f8884eb597d10d6569a08fa0df/lib/librt/mq.c https://github.com/DragonFlyBSD/DragonFlyBSD/blob/e7ab884bd49753f8884eb597d10d6569a08fa0df/lib/librt/aio.c
-
- Jul 03, 2020
-
-
Marcin Konicki authored
Hi, Could you add some missing Haiku constants (i'm guessing they were added after Haiku port was last updated)? These are defined in `unistd.h`: https://github.com/haiku/haiku/blob/194a45c6b4183083afdc7fac7b9e85f9162cdeb2/headers/posix/unistd.h#L134-L137
-
Alan Somers authored
-
- Jul 02, 2020
-
-
Yuki Okushi authored
-
Alex Crichton authored
This ended up just getting copied from Linux as it appears to be the same.
-