Fix: process rule type (#2206)

This commit is contained in:
gVisor bot 2022-07-06 13:44:04 +08:00
parent e6d496cc6e
commit 4bd5c6ef20

View file

@ -14,7 +14,11 @@ type Process struct {
}
func (ps *Process) RuleType() C.RuleType {
return C.Process
if ps.nameOnly {
return C.Process
}
return C.ProcessPath
}
func (ps *Process) Match(metadata *C.Metadata) bool {