Re: vvar, gup && coredump

From: Andy Lutomirski
Date: Thu Mar 12 2015 - 14:33:58 EST

[removed people who will be bored]

On Thu, Mar 12, 2015 at 11:08 AM, Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
> On 03/12, Andy Lutomirski wrote:
>> On Thu, Mar 12, 2015 at 10:39 AM, Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
>> > Well. Speaking of vdso. I understand that unlikely we can do this, but
>> > for uprobes it would be nice to have a anon-inode file behind this mapping,
>> > so that vma_interval_tree_foreach() could work, etc. OK, this is completely
>> > off-topic, please forget.
>> Couldn't you do that directly in the uprobes code? That is, create an
>> anon_inode file and just map it the old-fashioned way?
> This won't help. Uprobes wants this file mmaped by all applications, so
> that build_map_info() can find mm's, vma's, etc to install the system-wide
> breakpoint. But again, this is off-topic and unlikely possible.

What's wrong with off-topic? :)

As vvar demonstrates, it's possible to add new per-process vmas that
show up in all processes automatically. The trickiest part is making
it work with CRIU.


> Oleg.

Andy Lutomirski
AMA Capital Management, LLC
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