Re: [RFC 18/18] proc: present VM_LOCKED memory in /proc/self/maps

2016-06-13 Thread Kees Cook
On Mon, Jun 13, 2016 at 10:44:25PM +0300, Topi Miettinen wrote: > Add a flag to /proc/self/maps to show that the memory area is locked. > > Signed-off-by: Topi Miettinen > --- > fs/proc/task_mmu.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/fs/proc/task_mmu.c b/fs

Re: [RFC 18/18] proc: present VM_LOCKED memory in /proc/self/maps

2016-06-13 Thread Topi Miettinen
On 06/13/16 20:43, Kees Cook wrote: > On Mon, Jun 13, 2016 at 10:44:25PM +0300, Topi Miettinen wrote: >> Add a flag to /proc/self/maps to show that the memory area is locked. >> >> Signed-off-by: Topi Miettinen >> --- >> fs/proc/task_mmu.c | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-

[RFC 18/18] proc: present VM_LOCKED memory in /proc/self/maps

2016-06-13 Thread Topi Miettinen
Add a flag to /proc/self/maps to show that the memory area is locked. Signed-off-by: Topi Miettinen --- fs/proc/task_mmu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c index 4648c7f..8229509 100644 --- a/fs/proc/task_mmu.c +++ b/fs