Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 581706
Collapse All | Expand All

(-)a/src/runtime/linux-os.c (+3 lines)
Lines 337-342 Link Here
337
        addr=under_2gb_free_pointer;
337
        addr=under_2gb_free_pointer;
338
    }
338
    }
339
#endif
339
#endif
340
    if (addr) {
341
    	flags |= MAP_FIXED;
342
    }
340
    actual = mmap(addr, len, OS_VM_PROT_ALL, flags, -1, 0);
343
    actual = mmap(addr, len, OS_VM_PROT_ALL, flags, -1, 0);
341
    if (actual == MAP_FAILED) {
344
    if (actual == MAP_FAILED) {
342
        perror("mmap");
345
        perror("mmap");

Return to bug 581706