Files
podman/vendor/github.com/containers/buildah/copier/hardlink_not_uint64.go
Paul Holzinger 83a0299309 vendor: update buildah to latest
Includes a fix for CVE-2024-9407

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-10-02 18:04:39 +02:00

15 lines
308 B
Go

//go:build darwin || (linux && mips) || (linux && mipsle) || (linux && mips64) || (linux && mips64le)
package copier
import (
"syscall"
)
func makeHardlinkDeviceAndInode(st *syscall.Stat_t) hardlinkDeviceAndInode {
return hardlinkDeviceAndInode{
device: uint64(st.Dev),
inode: uint64(st.Ino),
}
}