Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mmap(2) can return EAGAIN on Illumos #493

Closed
wants to merge 3 commits into from

Commits on Apr 28, 2017

  1. Remove syscall.Dup2() support.

    This is a breaking change, but it is time to rip the bandaid off.
    `syscall.Dup2()` will never be merged upstream[1].  Software depending on
    `syscall.Dup2()` needs to move to use `unix.Dup2()`.
    
    [1] https://docs.google.com/document/d/1QXzI9I1pOfZPujQzxhyRy6EeHYTQitKKjHfpq0zpxZs/edit
    [2] https://godoc.org/golang.org/x/sys/unix#Dup2
    sean- committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    a0b9edd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ac6132f View commit details
    Browse the repository at this point in the history
  3. Improve handling of low-memory situations on Illumos.

    On Illumos `mmap(2)` can return `EAGAIN` when a process is running
    low on available RSS.  At best, not trapping `EAGAIN` leads to misleading
    error messages.
    sean- committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    c6f661a View commit details
    Browse the repository at this point in the history