]> Cypherpunks repositories - gostls13.git/commit
internal/syscall/unix: implement Eaccess on openbsd
authorTobias Klauser <tklauser@distanz.ch>
Mon, 8 Apr 2024 09:30:12 +0000 (11:30 +0200)
committerGopher Robot <gobot@golang.org>
Thu, 11 Apr 2024 16:36:52 +0000 (16:36 +0000)
commit45703b50a6ae557ebe9bd7b1bea8e49d66fc97ee
tree7266141321e8748a2a3131354e5622a9a8f64ca5
parent48e00ab70a49652d4b015ac71b80da9f3ae7d1ab
internal/syscall/unix: implement Eaccess on openbsd

Like on other BSDs, use faccessat(AT_FDCWD, path, mode, AT_EACCESS)

Change-Id: I80f8d327dd152576165b9206e32dfb749b41d187
Reviewed-on: https://go-review.googlesource.com/c/go/+/538836
Reviewed-by: Carlos Amedee <carlos@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
src/internal/syscall/unix/asm_openbsd.s [new file with mode: 0644]
src/internal/syscall/unix/at_sysnum_openbsd.go
src/internal/syscall/unix/eaccess_bsd.go
src/internal/syscall/unix/eaccess_openbsd.go [new file with mode: 0644]
src/internal/syscall/unix/eaccess_other.go