Files
Daniel J Walsh 85904e01f3 Vendor in containers/common
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2024-02-06 07:09:16 -05:00

13 lines
233 B
Go

//go:build !windows && !linux
package timezone
import (
"golang.org/x/sys/unix"
)
func openDirectory(path string) (fd int, err error) {
const O_PATH = 0x00400000
return unix.Open(path, unix.O_RDONLY|O_PATH|unix.O_CLOEXEC, 0)
}