diff options
Diffstat (limited to 'vendor/github.com/containers/buildah/copier/mknod_int.go')
-rw-r--r-- | vendor/github.com/containers/buildah/copier/mknod_int.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/github.com/containers/buildah/copier/mknod_int.go b/vendor/github.com/containers/buildah/copier/mknod_int.go new file mode 100644 index 000000000..b9e9f6fef --- /dev/null +++ b/vendor/github.com/containers/buildah/copier/mknod_int.go @@ -0,0 +1,12 @@ +//go:build !windows && !freebsd +// +build !windows,!freebsd + +package copier + +import ( + "golang.org/x/sys/unix" +) + +func mknod(path string, mode uint32, dev int) error { + return unix.Mknod(path, mode, dev) +} |