bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trap getdents bug.


From: Jerome de Vivie
Subject: Re: Trap getdents bug.
Date: Wed, 17 Jul 2002 21:15:19 +0200

Ulrich Drepper wrote:
> 
> On Wed, 2002-07-17 at 10:30, Jerome de Vivie wrote:
> 
> > Can you made "__getdents" and "__getdents64" function global for the
> > next release of glibc ?
> 
> No.  You are not allowed to use anything but the documented interfaces.

There are many undocumented globals symbols inside the glibc and
actually, it's impossible to trap all "getdents" call made by libc. I
think that the glibc should not impose it's own implementation and hide
internal call to "LD_PRELOAD" facilities between "documented interface".
Why not call directly "getdents" and "getdents64" symbols and made them
global+weak instead of local "__xxx" ?

kind regards,

j.

-- 
Jérôme de Vivie



reply via email to

[Prev in Thread] Current Thread [Next in Thread]