5f01c98859
Consider a kernel crash in a module, simulated the following way:
static int my_init(void)
{
char *map = (void *)0x5;
*map = 3;
return 0;
}
module_init(my_init);
When we turn off FRAME_POINTERs, the very first instruction in
that function causes a BUG. The problem is that we print IP in
the BUG report using %pB (from printk_address). And %pB
decrements the pointer by one to fix printing addresses of
functions with tail calls.
This was added in commit
|
||
---|---|---|
.. | ||
Makefile | ||
bios_uv.c | ||
tlb_uv.c | ||
uv_irq.c | ||
uv_nmi.c | ||
uv_sysfs.c | ||
uv_time.c |