aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/subsystem/linux/subsystems.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-04-11 11:05:18 +0200
committerAleksandr Nogikh <wp32pw@gmail.com>2023-04-13 13:39:53 +0200
commit3cfcaa1bed770dce1e4d55a41c168a9a56f931a5 (patch)
treed62e3c6e4a94fb8b8a69ad76b574f6777099c894 /pkg/subsystem/linux/subsystems.go
parent82d5e53ec0af57823952183e2e2603ce2462fb66 (diff)
pkg/subsystem: optionally disable monthly reports
For some subsystems (e.g. `kernel`) such reports just don't make much sense, since there are too many incorrectly classified bugs in there. Make it possible to exclude such subsystems from periodic reminders.
Diffstat (limited to 'pkg/subsystem/linux/subsystems.go')
-rw-r--r--pkg/subsystem/linux/subsystems.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/subsystem/linux/subsystems.go b/pkg/subsystem/linux/subsystems.go
index 880b1fcaf..1d1d84ed2 100644
--- a/pkg/subsystem/linux/subsystems.go
+++ b/pkg/subsystem/linux/subsystems.go
@@ -130,6 +130,7 @@ func (ctx *linuxCtx) applyExtraRules(list []*subsystem.Subsystem) {
}
for _, entry := range list {
entry.Syscalls = ctx.extraRules.subsystemCalls[entry.Name]
+ _, entry.NoReminders = ctx.extraRules.noReminders[entry.Name]
}
}