mirror of
https://github.com/containers/podman.git
synced 2025-11-12 17:19:57 +08:00
Vendor in containers/common
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
9
vendor/github.com/containers/common/pkg/timezone/timezone_linux.go
generated
vendored
Normal file
9
vendor/github.com/containers/common/pkg/timezone/timezone_linux.go
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
package timezone
|
||||
|
||||
import (
|
||||
"golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
func openDirectory(path string) (fd int, err error) {
|
||||
return unix.Open(path, unix.O_RDONLY|unix.O_PATH|unix.O_CLOEXEC, 0)
|
||||
}
|
||||
Reference in New Issue
Block a user