mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-27 07:07:49 +00:00
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
|
||
|---|---|---|
| .. | ||
| bios_uv.c | ||
| Makefile | ||
| tlb_uv.c | ||
| uv_irq.c | ||
| uv_nmi.c | ||
| uv_sysfs.c | ||
| uv_time.c | ||