Re: [PATCH 2/3 -v2] mmap: round mmap hint address above mmap_min_addr

2007-11-26 Thread James Morris
On Mon, 26 Nov 2007, Eric Paris wrote: > If mmap_min_addr is set and a process attempts to mmap (not fixed) with > a non-null hint address less than mmap_min_addr the mapping will fail > the security checks. Since this is just a hint address this patch will > round such a hint address above

[PATCH 2/3 -v2] mmap: round mmap hint address above mmap_min_addr

2007-11-26 Thread Eric Paris
If mmap_min_addr is set and a process attempts to mmap (not fixed) with a non-null hint address less than mmap_min_addr the mapping will fail the security checks. Since this is just a hint address this patch will round such a hint address above mmap_min_addr. gcj was found to try to be very

[PATCH 2/3 -v2] mmap: round mmap hint address above mmap_min_addr

2007-11-26 Thread Eric Paris
If mmap_min_addr is set and a process attempts to mmap (not fixed) with a non-null hint address less than mmap_min_addr the mapping will fail the security checks. Since this is just a hint address this patch will round such a hint address above mmap_min_addr. gcj was found to try to be very

Re: [PATCH 2/3 -v2] mmap: round mmap hint address above mmap_min_addr

2007-11-26 Thread James Morris
On Mon, 26 Nov 2007, Eric Paris wrote: If mmap_min_addr is set and a process attempts to mmap (not fixed) with a non-null hint address less than mmap_min_addr the mapping will fail the security checks. Since this is just a hint address this patch will round such a hint address above