Source file src/os/root_nofollow_test.go
1 // Copyright 2026 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 || wasip1 6 7 package os_test 8 9 import "syscall" 10 11 func init() { 12 openNoFollowFlag = syscall.O_NOFOLLOW 13 } 14