]> Cypherpunks.ru repositories - gostls13.git/commit
internal/syscall/unix: implement Eaccess on netbsd
authorTobias Klauser <tklauser@distanz.ch>
Tue, 3 Oct 2023 09:20:29 +0000 (11:20 +0200)
committerGopher Robot <gobot@golang.org>
Tue, 3 Oct 2023 14:13:33 +0000 (14:13 +0000)
commitf79c99fe8ae4a5e4380af22ee6cb38c3eb3a0416
tree0912b54a7eebe354b09311bc5f1e2acdb98721c4
parent98289021f3444a2f80c8f7630f5e519d9c338963
internal/syscall/unix: implement Eaccess on netbsd

Like on linux and freebsd, use faccessat(AT_FDCWD, path, mode, AT_EACCESS)

Change-Id: Ia76ba67023b6deba6f0cdaf30a0b9cee0c140bb8
Reviewed-on: https://go-review.googlesource.com/c/go/+/531876
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Benny Siegert <bsiegert@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/internal/syscall/unix/at_sysnum_netbsd.go
src/internal/syscall/unix/eaccess_bsd.go [moved from src/internal/syscall/unix/eaccess_freebsd.go with 95% similarity]
src/internal/syscall/unix/eaccess_other.go