Re: [patch 2/3] vdso: improve print_fatal_signals support by addingmemory maps

From: Zachary Amsden
Date: Tue May 23 2006 - 18:25:34 EST

Ingo Molnar wrote:
static void print_fatal_signal(struct pt_regs *regs, int signr)
@@ -781,9 +870,13 @@ static void print_fatal_signal(struct pt
printk("%02x ", insn);
+ if (current->mm)
+ printk("vDSO at %p\n", current->mm->context.vdso);
+ printk("\n");
+ print_vmas();
static int __init setup_print_fatal_signals(char *str

Perhaps I should have read your first patch more carefully - it did have register info. This looks even better (although you may now want to allow it to be #ifdef'd out under CONFIG_EMBEDDED).

You probably should use PATH_MAX+1 instead of SIZE or check IS_ERR() on the string from d_path.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at