• Tobias Klauser's avatar
    unix: add utimensat and use it for UtimesNano on BSD · 2d3e3842
    Tobias Klauser authored
    Follow golang.org/cl/55130 and add the utimensat syscall on *BSD. Use it
    in UtimesNano and UtimesNanoAt (which is added on *BSD, akin to the
    already existing implementation on Linux and Solaris).
    
    Also add AT_FDCWD and AT_SYMLINK_NOFOLLOW where they are missing. These
    might be used with UtimesNanoAt.
    
    In order to be able to generate the syscalls, also add two missing
    $GOOS_$GOARCH patterns to mkall.sh. As a side effect, some additional
    syscalls are added for openbsd/arm.
    
    Change-Id: I85351098002209f8454ec328cef0cfe9d12c5214
    Reviewed-on: https://go-review.googlesource.com/55071Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    2d3e3842
Name
Last commit
Last update
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 Loading commit data...
codereview.cfg Loading commit data...