mirror of
https://github.com/containers/skopeo.git
synced 2025-09-11 11:39:44 +00:00
Update docker/docker dependencies.
Required to update those dependencies in containers/image. See https://github.com/containers/image/pull/446. Updated by mitr@redhat.com to vendor from containers/image master again, which brought in a few more dependency updates. Signed-off-by: Max Goltzsche <max.goltzsche@gmail.com> Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
committed by
Miloslav Trmač
parent
5c611083f2
commit
67ff78925b
4
vendor/golang.org/x/sys/unix/openbsd_pledge.go
generated
vendored
4
vendor/golang.org/x/sys/unix/openbsd_pledge.go
generated
vendored
@@ -13,7 +13,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
SYS_PLEDGE = 108
|
||||
_SYS_PLEDGE = 108
|
||||
)
|
||||
|
||||
// Pledge implements the pledge syscall. For more information see pledge(2).
|
||||
@@ -30,7 +30,7 @@ func Pledge(promises string, paths []string) error {
|
||||
}
|
||||
pathsUnsafe = unsafe.Pointer(&pathsPtr[0])
|
||||
}
|
||||
_, _, e := syscall.Syscall(SYS_PLEDGE, uintptr(promisesUnsafe), uintptr(pathsUnsafe), 0)
|
||||
_, _, e := syscall.Syscall(_SYS_PLEDGE, uintptr(promisesUnsafe), uintptr(pathsUnsafe), 0)
|
||||
if e != 0 {
|
||||
return e
|
||||
}
|
||||
|
Reference in New Issue
Block a user