diff options
Diffstat (limited to 'pkg/subsystem/linux')
| -rw-r--r-- | pkg/subsystem/linux/rules.go | 5 | ||||
| -rw-r--r-- | pkg/subsystem/linux/subsystems.go | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/pkg/subsystem/linux/rules.go b/pkg/subsystem/linux/rules.go index dd46bc1d1..ecc05e5ec 100644 --- a/pkg/subsystem/linux/rules.go +++ b/pkg/subsystem/linux/rules.go @@ -14,6 +14,8 @@ type customRules struct { extraSubsystems map[string][]string // For these subsystems we do not generate monthly reminders. noReminders map[string]struct{} + // We don't want to tag these subsystems in the reports of its sub-subsystem bugs. + noIndirectCc map[string]struct{} // Extra child->[]parent links (on top of the inferred ones). addParents map[string][]string } @@ -105,5 +107,8 @@ var ( // By MAINTAINERS, wireless is somewhat separate, but it's better to keep it as a net child. "wireless": {"net"}, }, + noIndirectCc: map[string]struct{}{ + "fs": {}, + }, } ) diff --git a/pkg/subsystem/linux/subsystems.go b/pkg/subsystem/linux/subsystems.go index e5b44a02e..9da38d321 100644 --- a/pkg/subsystem/linux/subsystems.go +++ b/pkg/subsystem/linux/subsystems.go @@ -145,6 +145,7 @@ func (ctx *linuxCtx) applyExtraRules(list []*subsystem.Subsystem) error { for _, entry := range list { entry.Syscalls = ctx.extraRules.subsystemCalls[entry.Name] _, entry.NoReminders = ctx.extraRules.noReminders[entry.Name] + _, entry.NoIndirectCc = ctx.extraRules.noIndirectCc[entry.Name] perName[entry.Name] = entry } for from, toNames := range ctx.extraRules.addParents { |
