lkml.org 
[lkml]   [2005]   [Oct]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Bug#322309: Debian woody dpkg no longer works with recent linux kernel.
FromScott James Remnant <>
DateSun, 09 Oct 2005 23:33:16 +0100
On Mon, 2005-10-10 at 00:16 +0900, Junichi Uekawa wrote:

> dpkg in Debian woody (3.0) is broken by recent linux kernels;
> due to the following command changing behavior (mmap of 
> zero-byte length):> >   addr=mmap(NULL, 0, PROT_READ, MAP_SHARED, fd, 0);
> 
> These bugs are caused by mmap changing behavior; 
> it used to return NULL when given a length of 0.
> However, it now returns -1, and gives back an errno=EINVAL.
> 
Indeed.  This was the sole change in the 1.13.8 release.

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-10-09 22:36    [from the cache]
©2003-2008