Re: [PATCH] VM/Security: add security hook to do_brk

2007-12-05 Thread James Morris
On Tue, 4 Dec 2007, Alan Cox wrote: > On Tue, Dec 04, 2007 at 11:06:55AM -0500, Eric Paris wrote: > > Given a specifically crafted binary do_brk() can be used to get low > > pages available in userspace virtually memory and can thus be used to > > circumvent the mmap_min_addr low memory

Re: [PATCH] VM/Security: add security hook to do_brk

2007-12-05 Thread James Morris
On Tue, 4 Dec 2007, Alan Cox wrote: On Tue, Dec 04, 2007 at 11:06:55AM -0500, Eric Paris wrote: Given a specifically crafted binary do_brk() can be used to get low pages available in userspace virtually memory and can thus be used to circumvent the mmap_min_addr low memory protection. Add

Re: [PATCH] VM/Security: add security hook to do_brk

2007-12-04 Thread Alan Cox
On Tue, Dec 04, 2007 at 11:06:55AM -0500, Eric Paris wrote: > Given a specifically crafted binary do_brk() can be used to get low > pages available in userspace virtually memory and can thus be used to > circumvent the mmap_min_addr low memory protection. Add security checks > in do_brk(). > >

[PATCH] VM/Security: add security hook to do_brk

2007-12-04 Thread Eric Paris
Given a specifically crafted binary do_brk() can be used to get low pages available in userspace virtually memory and can thus be used to circumvent the mmap_min_addr low memory protection. Add security checks in do_brk(). Signed-off-by: Eric Paris <[EMAIL PROTECTED]> --- mm/mmap.c |4

[PATCH] VM/Security: add security hook to do_brk

2007-12-04 Thread Eric Paris
Given a specifically crafted binary do_brk() can be used to get low pages available in userspace virtually memory and can thus be used to circumvent the mmap_min_addr low memory protection. Add security checks in do_brk(). Signed-off-by: Eric Paris [EMAIL PROTECTED] --- mm/mmap.c |4

Re: [PATCH] VM/Security: add security hook to do_brk

2007-12-04 Thread Alan Cox
On Tue, Dec 04, 2007 at 11:06:55AM -0500, Eric Paris wrote: Given a specifically crafted binary do_brk() can be used to get low pages available in userspace virtually memory and can thus be used to circumvent the mmap_min_addr low memory protection. Add security checks in do_brk().