Re: [PATCH 2/3] uprobes: use vm_special_mapping to name the xol vma

From: Andy Lutomirski
Date: Thu Jul 09 2015 - 17:50:58 EST


On Thu, Jul 9, 2015 at 2:44 PM, Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
> Change xol_add_vma() to use _install_special_mapping(), this way
> we can name the vma installed by uprobes. Currently it looks like
> private anonymous mapping, this is confusing and complicates the
> debugging. With this change /proc/$pid/maps reports "[uprobes]".

I think this will cause core dumps to include it as a side effect. Is
that okay?

--Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/