mirror of
https://github.com/containers/podman.git
synced 2025-09-27 08:43:52 +08:00
Update vendor containers/psgo
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
4
vendor/github.com/containers/psgo/psgo.go
generated
vendored
4
vendor/github.com/containers/psgo/psgo.go
generated
vendored
@ -847,7 +847,7 @@ func processHPID(p *process.Process, ctx *psContext) (string, error) {
|
||||
func processHUSER(p *process.Process, ctx *psContext) (string, error) {
|
||||
if hp := findHostProcess(p, ctx); hp != nil {
|
||||
if ctx.opts != nil && len(ctx.opts.UIDMap) > 0 {
|
||||
return findID(p.Status.Uids[1], ctx.opts.UIDMap, process.LookupUID, "/proc/sys/fs/overflowuid")
|
||||
return findID(hp.Status.Uids[1], ctx.opts.UIDMap, process.LookupUID, "/proc/sys/fs/overflowuid")
|
||||
}
|
||||
return hp.Huser, nil
|
||||
}
|
||||
@ -860,7 +860,7 @@ func processHUSER(p *process.Process, ctx *psContext) (string, error) {
|
||||
func processHGROUP(p *process.Process, ctx *psContext) (string, error) {
|
||||
if hp := findHostProcess(p, ctx); hp != nil {
|
||||
if ctx.opts != nil && len(ctx.opts.GIDMap) > 0 {
|
||||
return findID(p.Status.Gids[1], ctx.opts.GIDMap, process.LookupGID, "/proc/sys/fs/overflowgid")
|
||||
return findID(hp.Status.Gids[1], ctx.opts.GIDMap, process.LookupGID, "/proc/sys/fs/overflowgid")
|
||||
}
|
||||
return hp.Hgroup, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user