Re: [PATCH] Fix region lost in /proc/self/smaps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]