Skip to content
Snippets Groups Projects
  1. Oct 30, 2020
  2. Oct 04, 2020
  3. Sep 13, 2020
    • Daniil Bondarev's avatar
      Use safe_f! consistently across platforms · 773f5562
      Daniil Bondarev authored
      The pr #1870 introduced safe_f! macro, which made some functions like
      WIFEXITED and WEXITSTATUS const and safe on linux_like platform only,
      which causes inconsistency when trying to use those functions in crates
      compiled across multiple platforms, as using unsafe on those functions
      will generate unused_unsafe warning on linux platforms and lack of
      unsafe block will fail compilation on non-linux platforms.
      
      To avoid the inconsistency, this commit applies the same macro for all
      the same functions on other platforms too.
      773f5562
  4. Sep 09, 2020
  5. Aug 06, 2020
    • Joshua M. Clulow's avatar
      add openpty and forkpty implementation for illumos systems · 1f0ea0da
      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.
      1f0ea0da
  6. Aug 02, 2020
    • Joshua M. Clulow's avatar
      add ucred(3C) support for illumos and Solaris systems · 1c9d5eaa
      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.
      1c9d5eaa
  7. Jul 17, 2020
    • Patrick Mooney's avatar
      Expose EPOLLEXCLUSIVE on illumos platform · e1b97571
      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.
      e1b97571
  8. Jun 26, 2020
  9. Jun 09, 2020
  10. Jun 08, 2020
  11. May 27, 2020
    • Joshua M. Clulow's avatar
      remove SmartOS constants not applicable to illumos or Solaris · 9fdd9907
      Joshua M. Clulow authored
      SmartOS is a downstream distribution of illumos, and carries a number of
      additional patches that are not commonly available in other illumos
      distributions.  They are also not found in Oracle Solaris.  With these
      removed, the libc tests pass on a stock illumos system running
      OpenIndiana.
      9fdd9907
  12. May 21, 2020
  13. Apr 04, 2020
    • Joshua M. Clulow's avatar
      fix cfmakeraw() for illumos and Solaris · 5b6a3335
      Joshua M. Clulow authored
      This change fixes two issues.  First, the current cfmakeraw()
      implementation in this crate appears to be making a stack copy of the
      input "struct termios" before modifying it, rather than correctly
      modifying the original through the pointer.  Before this modification
      the routine did not, thus, set the flags for raw mode.
      
      Second, we address the default settings of the MIN and TIME terminal
      options.  On at least FreeBSD and Linux systems, the modern default
      value for MIN appears to be 1; i.e., block and wait for at least one
      input byte.  On most Solaris and illumos systems, the MIN control
      character slot overlaps with EOF, and thus has a default value of 4.
      This breaks at least the examples in the "termion" crate, and probably
      quite a lot of other software written first and foremost for Linux
      systems.  We need to force the MIN value to 1 while switching to raw
      mode.
      5b6a3335
  14. Apr 03, 2020
  15. Mar 21, 2020
  16. Mar 14, 2020
    • Thomas Hurst's avatar
      Add missing AT_ constants · 5d8dccc7
      Thomas Hurst authored
      Add AT_EACCESS to Linux, Solaris, and Fuchsia.
      
      Add AT_SYMLINK_FOLLOW, AT_REMOVEDIR, and  _AT_TRIGGER to Solaris.
      5d8dccc7
  17. Mar 09, 2020
  18. Mar 01, 2020
  19. Feb 12, 2020
  20. Dec 11, 2019
  21. Dec 08, 2019
  22. Nov 30, 2019
  23. Nov 27, 2019
  24. Nov 25, 2019
  25. Nov 22, 2019
  26. Nov 19, 2019
  27. Nov 14, 2019
  28. Nov 06, 2019
  29. Nov 01, 2019
  30. Oct 13, 2019
  31. Sep 18, 2019
  32. Sep 12, 2019
Loading