aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2022-01-24 15:14:01 -0500
committerJake Hunsaker <jhunsake@redhat.com>2022-01-25 11:16:15 -0500
commit72c86d6d7dc40368a576ce855b4aa81b60fc1988 (patch)
treeaeac2d80a4bcd3de8e4359f1c8af6dfa1facb734
parent0677444e35f4f31fcb444df7c0cd290f74cab367 (diff)
downloadsos-72c86d6d7dc40368a576ce855b4aa81b60fc1988.tar.gz
[mac_parser] Skip parsing of modinfo output
Skip parsing of modinfo output by the mac parser, as this can lead to numerous false positive matches and unhelpfully obfuscate the signature of modules. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/cleaner/parsers/mac_parser.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sos/cleaner/parsers/mac_parser.py b/sos/cleaner/parsers/mac_parser.py
index 7817340c..763df034 100644
--- a/sos/cleaner/parsers/mac_parser.py
+++ b/sos/cleaner/parsers/mac_parser.py
@@ -29,6 +29,9 @@ class SoSMacParser(SoSCleanerParser):
'53:4f:53',
'534f:53'
)
+ skip_files = [
+ 'sos_commands/kernel/modinfo.*'
+ ]
map_file_key = 'mac_map'
def __init__(self, config):