• Keith Randall's avatar
    unix: convert Darwin syscalls from raw to libSystem · 45d26eb9
    Keith Randall authored
    Call into libSystem (Darwin's libc equivalent) to do system calls.
    Raw syscalls are not a supported ABI on Darwin, they want us to use
    libSystem calls instead.
    
    The stdlib has already been converted to this new regime.  This
    package is vendored into the stdlib, so we need to fix it also, then
    vendor it in again.
    
    Because this package isn't tied to a Go release, we need to keep the
    old code around and use the new code only for 1.12 and up.
    
    Update golang/go#17490
    
    Change-Id: Idbcacff096b5bfeac871aa75dfd971570ac93322
    Reviewed-on: https://go-review.googlesource.com/c/154179Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    45d26eb9
Name
Last commit
Last update
cpu Loading commit data...
plan9 Loading commit data...
unix Loading commit data...
windows Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
codereview.cfg Loading commit data...