Messages in this thread | | | Date | Tue, 20 Apr 2021 09:19:04 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH 09/15] x86/alternatives: Use C int3 selftest but disable KASAN |
| |
On Mon, Apr 19, 2021 at 08:26:36AM -0700, Sami Tolvanen wrote: > On Sat, Apr 17, 2021 at 4:37 AM Peter Zijlstra <peterz@infradead.org> wrote:
> > The problem is that the call-site does not respect the regular calling > > convention, so calling a regular C function is just asking for trouble, > > which is why it ended up being asm, then we fully control the calling > > convention. > > Ack. The problem here is that we can't declare an extern static > function in C. How would you feel about making int3_magic a global > instead to match the C declaration?
Works for me.
| |