aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2021-11-02 08:14:44 +0100
committerBorislav Petkov <bp@suse.de>2021-12-13 14:13:35 +0100
commit75581a203e63210aabb1336c8c9cb65a7858b596 (patch)
treebe6f9303a1ab68da1b077bea6d10f8f214dd5bcc /net/unix/af_unix.c
parentdb6c996d6ce45dfb44891f0824a65ecec216f47a (diff)
downloadlinux-75581a203e63210aabb1336c8c9cb65a7858b596.tar.gz
linux-75581a203e63210aabb1336c8c9cb65a7858b596.tar.bz2
linux-75581a203e63210aabb1336c8c9cb65a7858b596.zip
x86/mce: Move the tainting outside of the noinstr region
add_taint() is yet another external facility which the #MC handler calls. Move that tainting call into the instrumentation-allowed part of the handler. Fixes vmlinux.o: warning: objtool: do_machine_check()+0x617: call to add_taint() leaves .noinstr.text section While at it, allow instrumentation around the mce_log() call. Fixes vmlinux.o: warning: objtool: do_machine_check()+0x690: call to mce_log() leaves .noinstr.text section Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lore.kernel.org/r/20211208111343.8130-11-bp@alien8.de
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions