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.9-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |