lkml.org 
[lkml]   [1998]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: STREAMS: interface versus implementation
From
Date
alan@lxorguk.ukuu.org.uk (Alan Cox) writes:

> getmsg and putmsg now are syscalls. Zach proposes user space emulation.
> If the glibc uses the user space stuff it wont be able to make the syscall
> version

No, it is possible. If you have a putmsg syscall wrapper is libfoo.so
and you link the application as

gcc -o bar bar.o -lfoo

the dynamic linker looks first in libfoo.so and then in libc.so.
Therefore a definition in glibc does not introduce any problems.

--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:44    [from the cache]
©2003-2011 Jasper Spaans