bug-glibc
[Top][All Lists]
Advanced

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

trap getdents


From: Jerome de Vivie
Subject: trap getdents
Date: Sun, 14 Jul 2002 16:27:27 +0200

Hi,

I'm working on a library which need to trap "getdents" call made by the
glibc. In using LD_PRELOAD variable, i'm able to trap every syscall of
the libc except "getdents". I have try the following symbols but they
don't work:

symb_alias(my_getdents,getdents);
symb_alias(my_getdents,__getdents);

Here, my_getdents is global.

I have also the same problem with getdents64. I suspect versionning
symbol mechanism but i don't know how to trap "getdents". Can you help
me ?

j.

PS: I am using glibc-2.2.4 with linux.

-- 
Jérôme de Vivie



reply via email to

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