This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Stubs and what they can do
- From: george anzinger <george at mvista dot com>
- To: "glibc-linux at ricardo dot ecn dot wfu dot edu" <glibc-linux at ricardo dot ecn dot wfu dot edu>
- Date: Sun, 17 Feb 2002 11:45:10 -0800
- Subject: Stubs and what they can do
- Organization: Monta Vista Software
- Reply-to: glibc-linux at ricardo dot ecn dot wfu dot edu
Hi,
I am looking thru the glibc code and trying to understand how to do
this:
I have a set of new system calls that are currently handled by functions
in glibc (the POSIX timers calls, i.e. timer_xxx and clock_xxx). These
calls will be available on a particular linux platform as the patch is
accepted by the various controlling groups. I would like to modify
glibc so that it, by checking unistd.h in the kernel tree for the
existence of the given system call, will build either the system call
stub or the existing library routine.
Is this sort of thing already in place? If not, how might it be added?
Should it be done at ./configure time or at make time?
Comments?
--
George george@mvista.com
High-res-timers: http://sourceforge.net/projects/high-res-timers/
Real time sched: http://sourceforge.net/projects/rtsched/