diff --git a/go.mod b/go.mod index 71d972f9f5..2731388cbf 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,7 @@ require ( github.com/containers/gvisor-tap-vsock v0.8.7 github.com/containers/libhvee v0.10.1-0.20250829163521-178d10e67860 github.com/containers/ocicrypt v1.2.1 - github.com/containers/psgo v1.9.1-0.20250826150930-4ae76f200c86 + github.com/containers/psgo v1.9.1-0.20251104204210-533b50b1c2d9 github.com/containers/winquit v1.1.0 github.com/coreos/go-systemd/v22 v22.6.0 github.com/crc-org/vfkit v0.6.1 diff --git a/go.sum b/go.sum index 14e3139d1f..19f77e355d 100644 --- a/go.sum +++ b/go.sum @@ -71,8 +71,8 @@ github.com/containers/luksy v0.0.0-20250910190358-2cf5bc928957 h1:WxixhZ0typ8o66 github.com/containers/luksy v0.0.0-20250910190358-2cf5bc928957/go.mod h1:fGPsLPRi1etbHfe5o6sdx6ajsW810tI43uyF6ugmP/o= github.com/containers/ocicrypt v1.2.1 h1:0qIOTT9DoYwcKmxSt8QJt+VzMY18onl9jUXsxpVhSmM= github.com/containers/ocicrypt v1.2.1/go.mod h1:aD0AAqfMp0MtwqWgHM1bUwe1anx0VazI108CRrSKINQ= -github.com/containers/psgo v1.9.1-0.20250826150930-4ae76f200c86 h1:bYj0TVlkRZtMJYd6SbFOi1gjUJDJmVsYCpJla3URD7Y= -github.com/containers/psgo v1.9.1-0.20250826150930-4ae76f200c86/go.mod h1:52GX23ST30pXpeviDvNpOCXoHqr+WJDv+7BjEH+AabY= +github.com/containers/psgo v1.9.1-0.20251104204210-533b50b1c2d9 h1:1xzk3KbGOn6wZ7cIZapLcyQeRXrDuG7x389wTn8IzkU= +github.com/containers/psgo v1.9.1-0.20251104204210-533b50b1c2d9/go.mod h1:e44fw+1A7eJH1y0eWAo3P7sjfftXDlfF4AY498h+svQ= github.com/containers/winquit v1.1.0 h1:jArun04BNDQvt2W0Y78kh9TazN2EIEMG5Im6/JY7+pE= github.com/containers/winquit v1.1.0/go.mod h1:PsPeZlnbkmGGIToMPHF1zhWjBUkd8aHjMOr/vFcPxw8= github.com/coreos/go-oidc/v3 v3.14.1 h1:9ePWwfdwC4QKRlCXsJGou56adA/owXczOzwKdOumLqk= diff --git a/vendor/github.com/containers/psgo/internal/capabilities/capabilities.go b/vendor/github.com/containers/psgo/internal/capabilities/capabilities.go index 9545ed57b3..d381780c01 100644 --- a/vendor/github.com/containers/psgo/internal/capabilities/capabilities.go +++ b/vendor/github.com/containers/psgo/internal/capabilities/capabilities.go @@ -79,7 +79,7 @@ var ( // the kernel. func TranslateMask(mask uint64) []string { caps := []string{} - for i := uint(0); i < 64; i++ { + for i := range uint(64) { if (mask>>i)&0x1 == 1 { c, known := capabilities[i] if !known { diff --git a/vendor/github.com/containers/psgo/internal/proc/cmdline.go b/vendor/github.com/containers/psgo/internal/proc/cmdline.go index 0143589d8b..27de7543c3 100644 --- a/vendor/github.com/containers/psgo/internal/proc/cmdline.go +++ b/vendor/github.com/containers/psgo/internal/proc/cmdline.go @@ -28,7 +28,7 @@ func ParseCmdLine(pid string) ([]string, error) { } cmdLine := []string{} - for _, rawCmd := range bytes.Split(data, []byte{0}) { + for rawCmd := range bytes.SplitSeq(data, []byte{0}) { cmdLine = append(cmdLine, string(rawCmd)) } diff --git a/vendor/modules.txt b/vendor/modules.txt index 3c4effc7df..e67f22af3d 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -149,8 +149,8 @@ github.com/containers/ocicrypt/keywrap/pkcs7 github.com/containers/ocicrypt/spec github.com/containers/ocicrypt/utils github.com/containers/ocicrypt/utils/keyprovider -# github.com/containers/psgo v1.9.1-0.20250826150930-4ae76f200c86 -## explicit; go 1.23.3 +# github.com/containers/psgo v1.9.1-0.20251104204210-533b50b1c2d9 +## explicit; go 1.24.0 github.com/containers/psgo github.com/containers/psgo/internal/capabilities github.com/containers/psgo/internal/cgroups