Thread (44 messages) 44 messages, 3 authors, 2021-03-08

Re: [PATCH v21 06/26] x86/cet: Add control-protection fault handler

From: Borislav Petkov <bp@alien8.de>
Date: 2021-02-24 16:55:51
Also in: linux-arch, linux-doc, linux-mm, lkml

On Wed, Feb 24, 2021 at 08:44:45AM -0800, Yu, Yu-cheng wrote:
quoted
quoted
+	force_sig_fault(SIGSEGV, SEGV_CPERR,
+			(void __user *)uprobe_get_trap_addr(regs));
Why is this calling an uprobes function?
I will change it to error_get_trap_addr().
"/*
  * Posix requires to provide the address of the faulting instruction for
  * SIGILL (#UD) and SIGFPE (#DE) in the si_addr member of siginfo_t.
  ..."

Is yours SIGILL or SIGFPE?

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help