[grsec] grsecurity-2.1.7-2.6.13.1-200509121648

Brad Spengler spender at grsecurity.net
Tue Sep 13 18:00:14 EDT 2005


> 
>         /* Next, try allocating at TASK_UNMAPPED_BASE.  */
> -       addr = arch_get_unmapped_area_1 (PAGE_ALIGN(TASK_UNMAPPED_BASE),
> -                                        len, limit);
> +       addr = arch_get_unmapped_area_1 (PAGE_ALIGN(mm->mmap_base), len, limit);
> +
>         if (addr != (unsigned long) -ENOMEM)
>                 return addr;

Yes, it should be current->mm->mmap_base.  I've fixed it in the latest 
patch and will have the PaX team fix it as well.

-Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://grsecurity.net/pipermail/grsecurity/attachments/20050913/7f3af249/attachment.pgp


More information about the grsecurity mailing list