Here are the details from the kernel changelog:  
  
http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.12  
  
commit d11cf326bd5e785cc5a3f5a3d3f4e3a5522f4fb7  
Author: Zhang Yanmin <[EMAIL PROTECTED]>  
Date:   Sun May 22 17:47:00 2005 -0700  
  
    [IA64] sys_mmap doesn't follow posix.1 when parameter len=0  
      
    In IA64 kernel, sys_mmap calls do_mmap2 and do_mmap2 returns addr if  
    len=0, which means the mmap sys call succeeds.  
      
    Posix.1 says:  
    The mmap() function shall fail if:  
    [EINVAL] The value of len is zero.   
      
    Here is a patch to fix it.  
      
    Signed-off-by: Zhang Yanmin <[EMAIL PROTECTED]>  
    Acked-by: David Mosberger <[EMAIL PROTECTED]>  
    Signed-off-by: Tony Luck <[EMAIL PROTECTED]>  
  
In other words the Quelcom code does need to be fixed. I'll see if I can  
submit a patch for this. 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to