mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Remove extra space after "Groups:" in /proc/pid/status.
Linux does not include this space, and the Go 1.20 runtime tests check for the string equality exactly. PiperOrigin-RevId: 523159824
This commit is contained in:
committed by
gVisor bot
parent
d860782ada
commit
5073588bb1
@@ -854,7 +854,7 @@ func (s *statusFD) Generate(ctx context.Context, buf *bytes.Buffer) error {
|
||||
fmt.Fprintf(buf, "Uid:\t%d\t%d\t%d\t%d\n", ruid, euid, suid, euid)
|
||||
fmt.Fprintf(buf, "Gid:\t%d\t%d\t%d\t%d\n", rgid, egid, sgid, egid)
|
||||
fmt.Fprintf(buf, "FDSize:\t%d\n", fds)
|
||||
buf.WriteString("Groups:\t ")
|
||||
buf.WriteString("Groups:\t")
|
||||
// There is a space between each pair of supplemental GIDs, as well as an
|
||||
// unconditional trailing space that some applications actually depend on.
|
||||
var sep string
|
||||
|
||||
Reference in New Issue
Block a user