Skip to content
Snippets Groups Projects
  1. Oct 08, 2018
  2. Oct 06, 2018
    • bors's avatar
      Auto merge of #1090 - xd009642:master, r=alexcrichton · dd8f56ed
      bors authored
      Add ptrace for non-apple BSDs
      
      So yesterday I did a PR for ptrace for apple, I've now gone through the ptrace header files for the other BSDs supported by libc and added ptrace + constants for all of them.
      
      Given the lack of ptrace in any of them I don't know if the test has to be changed at all for the new functions so I'll tackle any CI errors that come up if and as they appear.
      dd8f56ed
    • xd009642's avatar
      Add ptrace for non-apple BSDs · 57b136a2
      xd009642 authored
      * Added ptrace and constants for all freebsdlike and netbsdlike OSs
      57b136a2
  3. Oct 05, 2018
  4. Oct 04, 2018
  5. Oct 03, 2018
    • bors's avatar
      Auto merge of #1088 - m-hilgendorf:patch-1, r=alexcrichton · 3a04c320
      bors authored
      Add ftok on MacOS
      
      Provide a symbol for the `ftok` function declared in sys/ipc.h, for completeness and to allow calling `ftok` to generate the key value for `shmat`.
      3a04c320
    • bors's avatar
      Auto merge of #1087 - kalamay:bsd-fcntl-locks, r=alexcrichton · 4a1bae28
      bors authored
      Add fcntl constants for advisory locking on BSDs
      
      For range-based locking POSIX fcntl locks are needed. This adds the
      constants F_RDLCK, F_UNLCK, and F_WRLCK for FreeBSD, NetBSD, OpenBSD,
      DragonFlyBSD, and macOS/iOS. Fortunately these values are defined the same across these platforms.
      4a1bae28
  6. Oct 02, 2018
  7. Sep 28, 2018
  8. Sep 25, 2018
  9. Sep 22, 2018
  10. Sep 21, 2018
  11. Sep 19, 2018
  12. Sep 18, 2018
  13. Sep 13, 2018
  14. Sep 12, 2018
  15. Sep 10, 2018
  16. Sep 09, 2018
    • bors's avatar
      Auto merge of #1077 - jhwgh1968:mips-uclibc, r=alexcrichton · caee8565
      bors authored
      Fix mips-unknown-linux-uclibc target
      
      The mips(el)-unknown-linux-uclibc target has apparently been broken in one way or another for over a year. This PR is the patch it took to successfully build a beta toolchain that could support it.
      
      I am pretty sure these fixes are the right answer, after considerable digging in both the libc crate source (_pub-use pub-use everywhere, and not a hint to link_) and the uClibc source (_it's not POSIX, but they've shipped it since 2007, so close enough_).
      
      For those who don't know, the *-uClibc targets are the only way (AFAIK) to create Rust binaries which run on Linux kernels prior to 2.6. It is a use case that is getting quite rare these days, but is still present in embedded ecosystems where chip vendors never migrated their hardware support to newer kernel versions.
      
      Here's hoping these Rust toolchain targets find a maintainer someday.
      
      cc rust-lang/rust#43503
      caee8565
    • bors's avatar
      Auto merge of #1076 - sfackler:more-elf, r=alexcrichton · 63eb3b7a
      bors authored
      Add a couple more ELF types
      63eb3b7a
  17. Sep 08, 2018
  18. Sep 05, 2018
    • Tobias Bucher's avatar
      Theoretically test statics · 8b1d8464
      Tobias Bucher authored
      There are none of them in `libc` except for `__progname` on Android, but
      that one cannot be tested because it's not present in any header files.
      8b1d8464
  19. Sep 03, 2018
  20. Sep 02, 2018
  21. Aug 24, 2018
Loading