Update github.com/containers/psgo digest to 533b50b

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2025-11-05 03:58:41 +00:00
committed by GitHub
parent 2b646e7cb7
commit f09508ffa5
5 changed files with 7 additions and 7 deletions

View File

@@ -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 {

View File

@@ -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))
}