abrt/0012-kernel-modify-suspicious-string-invalid-opcode.patch
Matej Habrnal 345ed6c98e Allow rpm to be optional at build time and bug fixes
Resolves #1413637, #1413451

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
2017-01-18 10:53:54 +01:00

37 lines
988 B
Diff

From 2b12039b94b00144a8db37ee87a6e89f897cdaeb Mon Sep 17 00:00:00 2001
From: Matej Habrnal <mhabrnal@redhat.com>
Date: Mon, 16 Jan 2017 16:46:22 +0100
Subject: [PATCH] kernel: modify suspicious string "invalid opcode:"
"invalid opcode:" can be without colon.
systemd-journal output example:
traps: chrome[2979] trap invalid opcode ip:55911b28dba3 sp:7ffea558a3e0
error:0
in chrome[55911728a000+6a0b000]
Related to #1413451
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
---
src/lib/kernel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/kernel.c b/src/lib/kernel.c
index d662319..6f05619 100644
--- a/src/lib/kernel.c
+++ b/src/lib/kernel.c
@@ -139,7 +139,7 @@ static const char *const s_koops_suspicious_strings[] = {
"coprocessor segment overrun:",
"invalid TSS:",
"segment not present:",
- "invalid opcode:",
+ "invalid opcode",
"alignment check:",
"stack segment:",
"fpu exception:",
--
2.9.3