- Nov 27, 2018
-
-
Fensteer authored
-
- Nov 20, 2018
-
-
Alan Somers authored
-
- Oct 30, 2018
-
-
Alan Somers authored
Also, alphabetize this section, since I'm merging two sections anyway. Fixes #1113
-
Alan Somers authored
DragonflyBSD does define 3 of these 14 functions. But I elected not to add it to the PR because I can't find any evidence that these syscalls are used on Dragonfly, even in the base system. And by themselves, those three are insufficient for the xattr crate.
-
- Oct 19, 2018
-
-
Koutheir Attouchi authored
-
- Oct 06, 2018
-
-
xd009642 authored
* Added ptrace and constants for all freebsdlike and netbsdlike OSs
-
- Sep 25, 2018
-
-
Julio Merino authored
-
- Sep 10, 2018
-
-
Johannes Lundberg authored
-
- Jul 16, 2018
-
-
alesharik authored
-
- Jun 08, 2018
-
-
Scott Lamb authored
Fixes #1017 I moved it up to src/unix/mod.rs, as it's specified in POSIX.1-2008 and appears to be implemented on every Unix-like system. The symbol names on macOS appear similar to those for opendir; I found them via the commands below. I tested the x86_64 version; fdopendir$INODE64 worked as expected. $ nm -arch x86_64 /usr/lib/system/libsystem_c.dylib | grep fdopendir 000000000007ea6d T _fdopendir 000000000002ba97 T _fdopendir$INODE64 $ nm -arch i386 /usr/lib/system/libsystem_c.dylib | grep fdopendir 00082d1e T _fdopendir 0002b528 T _fdopendir$INODE64$UNIX2003 00082d1e T _fdopendir$UNIX2003
-
- Jun 04, 2018
-
-
Andrew Cann authored
-
- May 17, 2018
-
-
Andrew Morrow authored
-
- May 10, 2018
-
-
Jason Longshore authored
-
- May 01, 2018
-
-
Jake McGinty authored
-
Arvid E. Picciani authored
Signed-off-by:
Arvid E. Picciani <aep@exys.org>
-
- Mar 16, 2018
-
-
Alan Somers authored
-
- Mar 12, 2018
-
-
Wesley Moore authored
-
- Mar 05, 2018
-
-
Fredrick Brennan authored
Sorry, accidentally forgot this when submitting #934..
-
- Mar 01, 2018
-
-
Bryan Drewery authored
This follows the same method as other platforms like OSX and NetBSD. This will fix rustup and building from git (once libc is updated for bootstrap) on FreeBSD12 post-ino64 in https://github.com/freebsd/freebsd/commit/f713b08c027de35b0b8ed9990eabc32e100bee7a. It also avoids having to hotpatch the stage0 compiler, and HOME/.cargo libc files on FreeBSD12 to build rust. The only real pitfall is that this will prevent interaction with inodes that have an ino_t above the 32-bit limit due to truncation. On the other hand Rust won't work at all on 12 without doing this currently. In general it should not be a problem for users and if they need 64-bit ino_t they can use a patched libc, rather than the current state of affairs in requiring a patched libc to use Rust on 12. A better, or complementary, approach would be something like proposed in https://github.com/rust-lang/rfcs/pull/2048 to allow targetting a specific version of FreeBSD. This would allow Rust to default to this compatibility mode by targetting FreeBSD10 and still allow targetting FreeBSD12 for 64-bit ino_t. The symbol versions used were taken from the old version in https://github.com/freebsd/freebsd/commit/f713b08c027de35b0b8ed9990eabc32e100bee7a#diff-61a32fcfb7ecd4517665fed591813c57 and https://github.com/freebsd/freebsd/commit/f713b08c027de35b0b8ed9990eabc32e100bee7a#diff-7f67ccf8b5f44ff2f54eaab0207abb8d. The scope of functions versioned here differs from other platforms as not all structs were modified that were on others, such as DIR for `opendir`, `telldir`, etc. Only functions using dirent, stat, glob_t, and dev_t need the changes. Fixes https://github.com/rust-lang/rust/issues/42681
-
Bryan Drewery authored
struct kevent was modified in FreeBSD12. The @FBSD_1.0 symbol supports the old structure ABI still. This allows the `mio` crate tests to now pass on FreeBSD12.
-
- Feb 27, 2018
-
-
Bryan Drewery authored
-
- Jan 23, 2018
-
-
Greg V authored
-
- Jan 22, 2018
- Jan 18, 2018
-
-
gnzlbg authored
-
- Dec 26, 2017
-
-
luozijun authored
-
- Dec 17, 2017
-
-
Alan Somers authored
rustc, an important libc consumer, has a policy that they can't use any crates with deprecated symbols. Replace libc's two deprecated symbols with hidden symbols instead.
-
- Dec 16, 2017
-
-
Alan Somers authored
Note that OpenBSD and OSX do not support POSIX message queues.
-
- Dec 13, 2017
-
-
Sébastien Marie authored
move c_char definition more deeper to make it 'u8' on aarch64-unknown-openbsd.
-
- Dec 12, 2017
-
-
Josh Driver authored
-
luozijun authored
-
luozijun authored
-
- Dec 08, 2017
-
-
Bryant Mairs authored
-
- Dec 06, 2017
-
-
luozijun authored
-
- Dec 04, 2017
-
-
Bryant Mairs authored
-
- Nov 28, 2017
-
-
Markus Wanner authored
-
- Nov 17, 2017
-
-
Michael Neumann authored
This was not caught by libc-test, as checks for the execv functions are disabled.
-
Michael Neumann authored
-
Michael Neumann authored
-
- Nov 09, 2017
-
-
luozijun authored
-