diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-05-07 12:03:10 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-05-07 10:41:44 +0000 |
| commit | 81583f2a55d25fcba3454f60a979dfd3a8c67f5c (patch) | |
| tree | 7d84d33c7182b83f2c88654f23180c714181a200 /tools | |
| parent | 0955da9e52431ca2d6b2d55a41b72018726799d5 (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 'tools')
| -rw-r--r-- | tools/syz-query-subsystems/generator.go | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/tools/syz-query-subsystems/generator.go b/tools/syz-query-subsystems/generator.go index d738be0f0..f2a38ff82 100644 --- a/tools/syz-query-subsystems/generator.go +++ b/tools/syz-query-subsystems/generator.go @@ -45,11 +45,12 @@ func generateSubsystemsFile(name string, list []*subsystem.Subsystem, commitInfo } sort.Strings(parents) subsystem := &templateSubsystem{ - VarName: varName, - Name: serializer.WriteString(entry.Name), - PathRules: serializer.WriteString(entry.PathRules), - Parents: parents, - NoReminders: entry.NoReminders, + VarName: varName, + Name: serializer.WriteString(entry.Name), + PathRules: serializer.WriteString(entry.PathRules), + Parents: parents, + NoReminders: entry.NoReminders, + NoIndirectCc: entry.NoIndirectCc, } // Some of the records are mostly empty. if len(entry.Maintainers) > 0 { @@ -112,14 +113,15 @@ func hierarchyList(list []*subsystem.Subsystem) []string { var makeVarRegexp = regexp.MustCompile(`[^\w]|^([^a-z0-9]+)`) type templateSubsystem struct { - VarName string - Name string - Syscalls string - PathRules string - Lists string - Maintainers string - Parents []string - NoReminders bool + VarName string + Name string + Syscalls string + PathRules string + Lists string + Maintainers string + Parents []string + NoReminders bool + NoIndirectCc bool } type templateVars struct { @@ -172,6 +174,9 @@ var {{range $i, $item := .List}} {{- if .NoReminders}} NoReminders: true, {{- end}} +{{- if .NoIndirectCc}} +NoIndirectCc: true, +{{- end}} } {{end}} |
