diff options
Diffstat (limited to 'pkg/subsystem')
| -rw-r--r-- | pkg/subsystem/linux/rules.go | 8 | ||||
| -rw-r--r-- | pkg/subsystem/linux/subsystems.go | 7 |
2 files changed, 15 insertions, 0 deletions
diff --git a/pkg/subsystem/linux/rules.go b/pkg/subsystem/linux/rules.go index 946191263..2dabf48fb 100644 --- a/pkg/subsystem/linux/rules.go +++ b/pkg/subsystem/linux/rules.go @@ -6,6 +6,9 @@ package linux type customRules struct { // The mapping between a Linux subsystem name and its system calls. subsystemCalls map[string][]string + // These emails do not represent separate subsystems, even though they seem to + // per all criteria we have. + notSubsystemEmails map[string]struct{} } var ( @@ -50,5 +53,10 @@ var ( "xfs": {"syz_mount_image$xfs"}, "zonefs": {"syz_mount_image$zonefs"}, }, + notSubsystemEmails: map[string]struct{}{ + "linaro-mm-sig@lists.linaro.org": {}, + "samba-technical@lists.samba.org": {}, + "storagedev@microchip.com": {}, + }, } ) diff --git a/pkg/subsystem/linux/subsystems.go b/pkg/subsystem/linux/subsystems.go index 49266a4a5..5653028ca 100644 --- a/pkg/subsystem/linux/subsystems.go +++ b/pkg/subsystem/linux/subsystems.go @@ -83,8 +83,15 @@ func (ctx *linuxCtx) groupByList() []*subsystemCandidate { perList[list] = append(perList[list], record) } } + var exclude map[string]struct{} + if ctx.extraRules != nil { + exclude = ctx.extraRules.notSubsystemEmails + } ret := []*subsystemCandidate{} for email, list := range perList { + if _, skip := exclude[email]; skip { + continue + } ret = append(ret, &subsystemCandidate{ commonEmail: email, records: list, |
