aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2022-10-05 14:37:11 -0400
committerJake Hunsaker <jhunsake@redhat.com>2022-10-10 10:50:06 -0400
commit24e71637ac03bd4dd6a3bf48ad5cca197e8c9a86 (patch)
tree3bb971349df113ce670696c974f685e927f61b13
parent01fa75f0ebe812e0dd85ffa7f4e1b94cb54165e4 (diff)
downloadsos-24e71637ac03bd4dd6a3bf48ad5cca197e8c9a86.tar.gz
[mac_parser] Skip modinfo commands for obfuscation
Since `modinfo` is now collected for all kernel modules specified by a plugin's `kernel_mods` trigger the mac parser needs to skip those, not just the global modinfo captured by the kernel plugin, so that we don't incorrectly obfuscate a module's signature. Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/cleaner/parsers/mac_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/cleaner/parsers/mac_parser.py b/sos/cleaner/parsers/mac_parser.py
index d1c61752..6276fd97 100644
--- a/sos/cleaner/parsers/mac_parser.py
+++ b/sos/cleaner/parsers/mac_parser.py
@@ -44,7 +44,7 @@ class SoSMacParser(SoSCleanerParser):
'534f:53'
)
skip_files = [
- 'sos_commands/kernel/modinfo.*'
+ 'sos_commands/.*/modinfo.*'
]
map_file_key = 'mac_map'
compile_regexes = False