Re: install_special_mapping && vm_pgoff (Was: vvar, gup && coredump)

From: Oleg Nesterov
Date: Mon Mar 16 2015 - 15:46:53 EST


On 03/16, Andy Lutomirski wrote:
>
> Ick, you're probably right. For what it's worth, the vdso *seems* to
> be okay (on 64-bit only, and only if you don't poke at it too hard) if
> you mremap it in one piece. CRIU does that.

I need to run away till tomorrow, but looking at this code even if "one piece"
case doesn't look right if it was cow'ed. I'll verify tomorrow.

Oleg.

--
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/