mirror of
https://github.com/containers/podman.git
synced 2025-11-10 03:46:32 +08:00
Vendor in containers/common
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
12
vendor/github.com/containers/common/pkg/timezone/timezone_unix.go
generated
vendored
Normal file
12
vendor/github.com/containers/common/pkg/timezone/timezone_unix.go
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
//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)
|
||||
}
|
||||
Reference in New Issue
Block a user