]> git.baikalelectronics.ru Git - kernel.git/commit
x86/msr: Make source of unrecognised MSR writes unambiguous
authorChris Down <chris@chrisdown.name>
Fri, 21 Aug 2020 12:10:35 +0000 (13:10 +0100)
committerBorislav Petkov <bp@suse.de>
Sat, 22 Aug 2020 09:40:38 +0000 (11:40 +0200)
commita1d924ee66272ae178deb76de7107764b4188afd
tree9d2deeba379baf108560d110eb344fffed42922f
parentc5e28c61a07fe8780298e2853735868ea752e9b6
x86/msr: Make source of unrecognised MSR writes unambiguous

In many cases, task_struct.comm isn't enough to distinguish the
offender, since for interpreted languages it's likely just going to be
"python3" or whatever. Add the pid to make it unambiguous.

 [ bp: Make the printk string a single line for easier grepping. ]

Signed-off-by: Chris Down <chris@chrisdown.name>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/6f6fbd0ee6c99bc5e47910db700a6642159db01b.1598011595.git.chris@chrisdown.name
arch/x86/kernel/msr.c