lkml.org 
[lkml]   [2016]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Fix region lost in /proc/self/smaps
From
Date
On 09/09/2016 01:19 AM, Xiao Guangrong wrote:
>
> Yes. I was talking the case as follows:
> 1: read() #1: prints vma-A(0x1000 -> 0x2000)
> 2: unmap vma-A(0x1000 -> 0x2000)
> 3: create vma-B(0x80 -> 0x3000) on other file with different permission
> (w, r, x)
> 4: read #2: prints vma-B(0x2000 -> 0x3000)
>
> Then userspace will get just a portion of vma-B. well, maybe it is not
> too bad. :)

Yeah, I think this is the way to go. Feel free to add my ack.

\
 
 \ /
  Last update: 2016-09-17 09:59    [W:0.045 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site