aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-02-09 20:51:03 +0100
committerAleksandr Nogikh <wp32pw@gmail.com>2023-02-10 14:34:44 +0100
commitcf535970cd83eb388d2519271c674906baba4920 (patch)
treeee917b622b5ea2807463271beeace3c419b37b13 /pkg
parentfa0b08147a75a79ec22d2c6ede559d4414b62917 (diff)
pkg/subsystem/linux: add more custom naming rules
linux-security-module is too long, we could use just lsm. Also, overlayfs had a different name, therefore we cannot infer it from the mailing list as is.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/subsystem/linux/names.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/subsystem/linux/names.go b/pkg/subsystem/linux/names.go
index 0f422ea05..be57a5ab3 100644
--- a/pkg/subsystem/linux/names.go
+++ b/pkg/subsystem/linux/names.go
@@ -91,6 +91,8 @@ var (
"megaraidlinux.pdl@broadcom.com": "megaraid",
"mpi3mr-linuxdrv.pdl@broadcom.com": "mpi3",
"MPT-FusionLinux.pdl@broadcom.com": "mpt-fusion",
+ "linux-security-module@vger.kernel.org": "lsm", // the original name is too long
+ "linux-unionfs@vger.kernel.org": "overlayfs", // the name has changed
}
stripPrefixes = []string{"linux-"}
stripSuffixes = []string{