1// Copyright 2022 The Go Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style 3// license that can be found in the LICENSE file. 4 5//go:build unix 6 7package unix 8 9const ( 10 R_OK = 0x4 11 W_OK = 0x2 12 X_OK = 0x1 13 14 // NoFollowErrno is the error returned from open/openat called with 15 // O_NOFOLLOW flag, when the trailing component (basename) of the path 16 // is a symbolic link. 17 NoFollowErrno = noFollowErrno 18) 19