mirror of
https://github.com/containers/podman.git
synced 2025-12-16 12:29:28 +08:00
Update vendor or containers/buildah
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
3
vendor/github.com/containers/storage/pkg/unshare/unshare_linux.go
generated
vendored
3
vendor/github.com/containers/storage/pkg/unshare/unshare_linux.go
generated
vendored
@@ -9,7 +9,6 @@ import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"os/exec"
|
||||
"os/signal"
|
||||
@@ -390,7 +389,7 @@ const (
|
||||
|
||||
// hasFullUsersMappings checks whether the current user namespace has all the IDs mapped.
|
||||
func hasFullUsersMappings() (bool, error) {
|
||||
content, err := ioutil.ReadFile("/proc/self/uid_map")
|
||||
content, err := os.ReadFile("/proc/self/uid_map")
|
||||
if err != nil {
|
||||
return false, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user