aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/subsystem/linux
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2024-05-07 12:03:10 +0200
committerAleksandr Nogikh <nogikh@google.com>2024-05-07 10:41:44 +0000
commit81583f2a55d25fcba3454f60a979dfd3a8c67f5c (patch)
tree7d84d33c7182b83f2c88654f23180c714181a200 /pkg/subsystem/linux
parent0955da9e52431ca2d6b2d55a41b72018726799d5 (diff)
pkg/subsystem: don't Cc some parent subsystems
Our fs is more generic than it was defined in MAINTAINERS. Let's not spam its mailing lists with bugs from individual filesystem implementations.
Diffstat (limited to 'pkg/subsystem/linux')
-rw-r--r--pkg/subsystem/linux/rules.go5
-rw-r--r--pkg/subsystem/linux/subsystems.go1
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 {