NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/47806 ("Abort trap" when running Linux lddconfig)
The following reply was made to PR kern/47806; it has been noted by GNATS.
From: Sergio Lopez <slp%sinrega.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/47806 ("Abort trap" when running Linux lddconfig)
Date: Wed, 4 Sep 2013 20:59:27 +0000
On Tue, Sep 03, 2013 at 03:35:01AM +0000, David Holland wrote:
> It might be a good idea to insert the type in both places, in case
> some older version of glibc does it the other way or the behavior
> depends on what glibc thinks the kernel version is.
I've been digging into glibc's repo, and since its inclusion into the
32 bit version of dirent (circa 2004), d_type is expected to be at the
end of each record.
I suppose this has passed unnoticed all this time due to the fact that
its implementation into our compat layer is relatively recent (2010)
and its not widely used by applications (most still rely on fstat).
Sergio.
Home |
Main Index |
Thread Index |
Old Index