Skip to content
Snippets Groups Projects
  1. Feb 27, 2017
  2. Feb 24, 2017
  3. Feb 23, 2017
  4. Feb 22, 2017
  5. Feb 21, 2017
  6. Feb 17, 2017
  7. Feb 16, 2017
    • Mike Lubinets's avatar
      c0c7de7c
    • Shawn Walker-Salas's avatar
      posix definitions should be used on Solaris · 6740a8aa
      Shawn Walker-Salas authored
      For compatibility reasons, Solaris historically had its header files
      setup so that, unless specifically requested through specific header
      defines, either the old pre-POSIX interfaces or POSIX.1c Draft 6
      interfaces were used. However, in the case of rust, since these symbols
      are linked directly instead of via system header files, the underlying
      posix symbol name can be used directly instead.
      
      These definitions should be corrected to match what they do on almost
      every other platform.
      
      Be aware this is a breaking change in terms of interface for any crates
      / consumers of these interfaces for Solaris.
      
      Fixes #522
      6740a8aa
  8. Feb 12, 2017
  9. Feb 10, 2017
  10. Feb 09, 2017
  11. Feb 08, 2017
    • Shawn Walker-Salas's avatar
      Correct solaris libc definitions: · 8304e06b
      Shawn Walker-Salas authored
      * pthread_t is defined as uint_t, so must be c_uint, not uintptr_t, just
        as pthread_key_t is already defined
      * fd_set is defined as long, so must be i32/i64 based on
        target_pointer_width; this also fixes an indirect endianness issue
        encountered on sparc
      * FD_SETSIZE should be defined as 65536 when target_pointer_width = 64
      
      Fixes #515
      8304e06b
  12. Feb 07, 2017
  13. Feb 03, 2017
  14. Feb 02, 2017
  15. Feb 01, 2017
  16. Jan 29, 2017
  17. Jan 25, 2017
  18. Jan 15, 2017
  19. Jan 14, 2017
  20. Jan 13, 2017
  21. Jan 10, 2017
  22. Jan 08, 2017
  23. Jan 06, 2017
    • Zack Weinberg's avatar
      Another round of portability fixes: · f1a91da7
      Zack Weinberg authored
       * OpenBSD doesn't have idtype_t or the P_* constants either
       * FreeBSD has different values for the P_* constants
       * Android gives idtype_t a different signedness
       * Disable waitid on NetBSD as it causes a link failure - I think this
         may be a problem with the test environment
      f1a91da7
    • James Brown's avatar
      Add getpeereid function · 4e6dd242
      James Brown authored
      This is a wrapper around getsockopt() for getting the uid/gid of a
      remote Unix domain socket peer. It was added in FreeBSD 4.6 and present
      in all modern BSDs I checked (including Mac OS X).
      4e6dd242
    • Zack Weinberg's avatar
      Corrections based on CI failures. · 644929ad
      Zack Weinberg authored
       * idtype_t no longer an enum.
       * Darwin/x86-32 needs the $UNIX2003 thing.
       * Darwin, FreeBSD, and NetBSD all have different values for the new constants.
       * OpenBSD doesn't have this feature at all.  (Hopefully we can get away
         with defining idtype_t anyway.)
      644929ad
    • Jeremy Soller's avatar
      Remove kind='static' · 52369bca
      Jeremy Soller authored
      52369bca
    • Zack Weinberg's avatar
      Add waitid and related constants and types. · 9d1e4848
      Zack Weinberg authored
      waitid() is a variation on waitpid() with a marginally more
      convenient way of reporting the status, and a couple of handy
      additional features, such as the ability to peek at an exit
      status without consuming it.  It's in POSIX.1-2008 and should
      be available on all supported Unixes.
      
      Along with it come the type 'idtype_t' and the constants
      WEXITED, WSTOPPED, WCONTINUED, and WNOWAIT.  Theconstants
      were alre dy defined for unix/notbsd platforms.
      
      Patch incomplete: several targets are going to have to add
      definitions of siginfo_t, but I'm not sure which ones yet.
      9d1e4848
    • Jeremy Soller's avatar
      Link libc and libm · 74590038
      Jeremy Soller authored
      74590038
  24. Jan 03, 2017
Loading