[grsec] grsecurity-2.1.7-2.6.13.1-200509121648

Dinko Korunic kreator at srce.hr
Tue Sep 13 17:53:29 EDT 2005


Hi. Shouldn't mm->mmap_base in arch/alpha/kernel/osf_sys.c be
current->mm->mmap_base? This is the fragment from recent patch:

@@ -1275,8 +1279,8 @@ arch_get_unmapped_area(struct file *filp
        }

        /* 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;

TIA.

-- 
NAME:Dinko.kreator.Korunic    NOTE:Standard.disclaimer.applies
URL:http://dkorunic.net  IRC:kre  ICQ:16965294  PGP:0xea160d0b


More information about the grsecurity mailing list