Source File
eaccess.go
Belonging Package
internal/syscall/unix
// Copyright 2024 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.//go:build unixpackage uniximport ()func ( string, uint32) error {if runtime.GOOS == "android" {// syscall.Faccessat for Android implements AT_EACCESS check in// userspace. Since Android doesn't have setuid programs and// never runs code with euid!=uid, AT_EACCESS check is not// really required. Return ENOSYS so the callers can fall back// to permission bits check.return syscall.ENOSYS}return faccessat(AT_FDCWD, , , AT_EACCESS)}
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)