pref: uid style in log

This commit is contained in:
gVisor bot 2022-04-23 17:37:50 +08:00
parent 42601721a6
commit 62dcfed9c2

View File

@ -102,7 +102,7 @@ func (m *Metadata) SourceDetail() string {
}
if m.Process != "" && m.Uid != 0 {
return fmt.Sprintf("%s(%s:%d)", m.SourceAddress(), m.Process, m.Uid)
return fmt.Sprintf("%s(%s, uid=%d)", m.SourceAddress(), m.Process, m.Uid)
} else if m.Uid != 0 {
return fmt.Sprintf("%s(%d)", m.SourceAddress(), m.Uid)
} else if m.Process != "" {