linux-mips-fnet
[Top] [All Lists]

Re: [patch] 2.4.4: mmap() fails for certain legal requests

To: Michael Shmulevich <michaels@jungo.com>
Subject: Re: [patch] 2.4.4: mmap() fails for certain legal requests
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Wed, 9 May 2001 14:41:10 +0200 (MET DST)
Cc: linux-mips@fnet.fr, linux-mips@oss.sgi.com
In-reply-to: <3AF93224.6080304@jungo.com>
Organization: Technical University of Gdansk
On Wed, 9 May 2001, Michael Shmulevich wrote:

> As a side question: does this patch apply to 2.2.x kernel too?

 Feel free to backport it. ;-)  One hunk fails for 2.2.19, but it can be
applied by hand (note the vma variable is named vmm in 2.2). 

> While working on ld.so.1-9 port on MIPS I seen there's a try to mmap() 
> some address > 0x80000000 which fails due to the same 
> if(...TASK_SIZE...) mentioned in the patch.

 Yep, that's the exact problem, assuming MAP_FIXED is not set in flags
(something is screwed if it is). 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

<Prev in Thread] Current Thread [Next in Thread>