mirror of
https://github.com/containers/podman.git
synced 2025-12-16 12:29:28 +08:00
Update vendor of containers/(image, storage, common)
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
1
vendor/github.com/containers/storage/pkg/unshare/getenv_linux_cgo.go
generated
vendored
1
vendor/github.com/containers/storage/pkg/unshare/getenv_linux_cgo.go
generated
vendored
@@ -1,3 +1,4 @@
|
||||
//go:build linux && cgo
|
||||
// +build linux,cgo
|
||||
|
||||
package unshare
|
||||
|
||||
1
vendor/github.com/containers/storage/pkg/unshare/getenv_linux_nocgo.go
generated
vendored
1
vendor/github.com/containers/storage/pkg/unshare/getenv_linux_nocgo.go
generated
vendored
@@ -1,3 +1,4 @@
|
||||
//go:build linux && !cgo
|
||||
// +build linux,!cgo
|
||||
|
||||
package unshare
|
||||
|
||||
1
vendor/github.com/containers/storage/pkg/unshare/unshare_darwin.go
generated
vendored
1
vendor/github.com/containers/storage/pkg/unshare/unshare_darwin.go
generated
vendored
@@ -1,3 +1,4 @@
|
||||
//go:build darwin
|
||||
// +build darwin
|
||||
|
||||
package unshare
|
||||
|
||||
1
vendor/github.com/containers/storage/pkg/unshare/unshare_gccgo.go
generated
vendored
1
vendor/github.com/containers/storage/pkg/unshare/unshare_gccgo.go
generated
vendored
@@ -1,3 +1,4 @@
|
||||
//go:build linux && cgo && gccgo
|
||||
// +build linux,cgo,gccgo
|
||||
|
||||
package unshare
|
||||
|
||||
2
vendor/github.com/containers/storage/pkg/unshare/unshare_linux.go
generated
vendored
2
vendor/github.com/containers/storage/pkg/unshare/unshare_linux.go
generated
vendored
@@ -465,7 +465,7 @@ func bailOnError(err error, format string, a ...interface{}) { // nolint: golint
|
||||
// MaybeReexecUsingUserNamespace re-exec the process in a new namespace
|
||||
func MaybeReexecUsingUserNamespace(evenForRoot bool) {
|
||||
// If we've already been through this once, no need to try again.
|
||||
if os.Geteuid() == 0 && IsRootless() {
|
||||
if os.Geteuid() == 0 && GetRootlessUID() > 0 {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user