bug-glibc
[Top][All Lists]
Advanced

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

Re: How to customize Linux rmdir system call


From: madhvesh
Subject: Re: How to customize Linux rmdir system call
Date: Thu, 09 Oct 2003 05:08:19 -0000

Hi,

> glibc-2.3.2-11.9.src.rpm in my redhat 9. I found the definition of rmdir
in
> the following files
> \usr\src\redhat\BUILD\glibc-2.3.2-20030313\sysdeps\unix\rmdir.c
> \usr\src\redhat\BUILD\glibc-2.3.2-20030313\sysdeps\generic\rmdir.c
generic and unix folders file may not be referred, i think it directly
performs
the system call operation using ABI.., i am not sure?

The same thing happens with other file system operations like open, close,
read, write also

Meanwhile how did you use your newly built glibc library?
Debugging you mean, adding printfs?

-MS


----- Original Message -----
From: "Linse Pallan" <address@hidden>
To: <address@hidden>
Sent: Thursday, October 09, 2003 1:24 AM
Subject: How to customize Linux rmdir system call


> Hi,
> I am trying to trap the rmdir system call. Instead of modifying the kernel
> call, I decided to modify this call in user level. For that I installed
> glibc-2.3.2-11.9.src.rpm in my redhat 9. I found the definition of rmdir
in
> the following files
> \usr\src\redhat\BUILD\glibc-2.3.2-20030313\sysdeps\unix\rmdir.c
> \usr\src\redhat\BUILD\glibc-2.3.2-20030313\sysdeps\generic\rmdir.c
> But what ever changes I do in the above files those are not coming into
> effect while compiling the library. During compilation glibc does not
> compile the above files at all. Either my way of compilation may be wrong
or
> I am modifying a wrong file.
> How should I compile glibc and which file I have to consider in order to
add
> some debug messages in rmdir call. So that whenever a directory is getting
> deleted in my system, I will be knowing through the debug messages logged
> into a file.
> Can anyone help me ?
> Thanking you in advance,
> Linse Pallan
>
>
>
> _______________________________________________
> Bug-glibc mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-glibc





reply via email to

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