This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: fopen() calls __open()
- From: Derrell dot Lipman at UnwiredUniverse dot com
- To: John Reiser <jreiser at BitWagon dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Sun, 30 Apr 2006 17:17:01 -0400
- Subject: Re: fopen() calls __open()
- References: <44538759.4040103@BitWagon.com>
- Reply-to: Derrell dot Lipman at UnwiredUniverse dot com
John Reiser <jreiser@BitWagon.com> writes:
> Derrell.Lipman@UnwiredUniverse.com wrote:
>
>> If you have any other suggestions for me, I'd certainly like to hear them!
>
> For many particular cases, it is feasible to rewrite (patch) glibc
> at runtime. Disassemble to find the calls of interest, then change them.
> Of course this is architecture dependent, and some modes of SELinux aim to
> inhibit such modifications. But on x86, x86_64, and PowerPC it is not
> hard to do.
This is an interesting option to consider. Can you point me to any
open-source applications that actually do this?
Thanks!
Derrell