glibc memory mapping questions

From: Jedidiah R. Crandall (crandall_at_pc11.cs.ucdavis.edu)
Date: 09/27/03


Date: Sat, 27 Sep 2003 03:33:46 +0000 (UTC)

I need to capture the function pointers when library functions are put in user
space so that I can make them "high integrity" for a project I'm working
on. I tried using the return values of the mmap() system call but
they're all 4K aligned. I'm assuming, then, that the dynamic loader
does some further calculation/placement to give you the final address to
call, for example, a printf(). Does anyone know of any good glibc
documentation that is about how glibc works (nuts and bolts) and not what the
library functions do?

By the way, would all you Windows users stop getting viruses that send
themselves to everyone in your newsgroups cache. Getting a Windows
virus in my INBOX is no big deal but 1400 in a day is kind of annoying.
I'm filtering them out now, but I should charge Microsoft for the extra
bandwidth usage.

Jed



Relevant Pages

  • Re: rpm static link [was Re: ESR: Goodbye Fedora]
    ... (NPTL ... things glibc does have rendered static linking absolutely impossible. ... For instance, build an app that uses any of the getpw*library functions, ...
    (Fedora)
  • glibc memory mapping questions
    ... I need to capture the function pointers when library functions are put in user ... space so that I can make them "high integrity" for a project I'm working ... Does anyone know of any good glibc ... would all you Windows users stop getting viruses that send ...
    (comp.os.linux.development.system)
  • Re: glibc memory mapping questions
    ... > documentation that is about how glibc works and not what the ... > library functions do? ... You'll have to use the source for dynamic loader (which is part of ... In order to understand recursion you must first understand recursion. ...
    (comp.os.linux.development.system)