freebsd-ports/security/logcheck/files/patch-rulefiles_linux_violations.d_kernel
Steve Wills 06de00d986 security/logcheck: Fix runtime error with bsdgrep
PR:		251778
Submitted by:	Yasuhiro Kimura <yasu@utahime.org> (maintainer)
2021-01-17 18:56:45 +00:00

6 lines
629 B
Text

--- rulefiles/linux/violations.d/kernel.orig 2015-12-10 18:14:10 UTC
+++ rulefiles/linux/violations.d/kernel
@@ -1,2 +1,2 @@
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? [[:alnum:]]+: media error \(bad sector\): status=0x[[:xdigit:]]+ { DriveReady SeekComplete Error }$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? [[:alnum:]]+: media error \(bad sector\): status=0x[[:xdigit:]]+ \{ DriveReady SeekComplete Error \}$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? end_request: I/O error, dev [[:alnum:]]+, sector [[:digit:]]+