Re: Bug#322309: Debian woody dpkg no longer works with recentlinux kernel.

From: Scott James Remnant
Date: Sun Oct 09 2005 - 17:34:02 EST


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?

Attachment: signature.asc
Description: This is a digitally signed message part