Re: [PATCH v8 8/8] livepatch: Detect offset for the ftrace location during build

From: Torsten Duwe
Date: Tue Feb 16 2016 - 05:39:14 EST


On Tue, Feb 16, 2016 at 04:00:30PM +0530, Kamalesh Babulal wrote:
> * Torsten Duwe <duwe@xxxxxx> [2016-02-16 09:23:02]:
> >
> > N.b.: if you try to livepatch/trace such a leaf function without
> > global dependencies, it will crash if that function got called with
> > a different TOC value. Hence this whole testing.
> >
>
> I am running out of ideas on how to generate this crash, any pointers
> will be helpful.

Petr discovered some modular SCSI helper function does it.

HTH,
Torsten