mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
Like on other Unix-like platforms, use faccessat(AT_FDCWD, path, mode, AT_EACCESS). Change-Id: I6e04b4244f8e90bd3b35b1b8a9ca38fe845b34ae Reviewed-on: https://go-review.googlesource.com/c/go/+/579976 Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
14 lines
318 B
Go
14 lines
318 B
Go
// Copyright 2018 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package unix
|
|
|
|
const (
|
|
AT_EACCESS = 0x10
|
|
AT_FDCWD = -0x2
|
|
AT_REMOVEDIR = 0x80
|
|
AT_SYMLINK_NOFOLLOW = 0x0020
|
|
|
|
UTIME_OMIT = -0x2
|
|
)
|