[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix dynamic linker startup on the Hurd
From: |
Samuel Thibault |
Subject: |
Re: [PATCH] Fix dynamic linker startup on the Hurd |
Date: |
Fri, 25 Jan 2013 00:51:33 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Richard Braun, le Wed 23 Jan 2013 00:32:47 +0100, a écrit :
> The fmh function could in some cases mistakenly call vm_map with a null
> size. A recent kernel fix made that invalid and return KERN_INVALID_ARGUMENT,
> which isn't an expected code here, resulting in the linker not starting.
> Avoid calling vm_map when the computed mapping size is null to fix the
> problem.
>
> * sysdeps/mach/hurd/dl-sysdep.c (fmh): Leave loop when the computed mapping
> size fmhs becomes null.
Ok, applied to tg and the 2.17 debian package. I'll upload a fixed
package tomorrow on debian-ports.
Samuel