Re: [PATCH 1/6] events, perf: Pass protection and flags bits through mmap2 interface

From: Peter Zijlstra
Date: Fri May 16 2014 - 08:22:31 EST


On Tue, May 13, 2014 at 12:48:12PM -0400, Don Zickus wrote:
> From: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
>
> The mmap2 interface was missing the protection and flags bits needed to
> accurately determine if a mmap memory area was shared or private and
> if it was readable or not.
>
> [tweaked patch to compile and wrote changelog]
> Signed-off-by: Don Zickus <dzickus@xxxxxxxxxx>
>
> --
> Peter you mentioned writing up a changelog for this patch, but you
> seemed busy, so I jumped the gun a little bit. Let me know how you
> want to do this patch if this approach is wrong.

Oh, right, totally forgot about that. yeah I think the blub you have is
adequate.

Attachment: pgpLcLqxjxy64.pgp
Description: PGP signature