Re: glibc developers refuse to support user land fake FS syscalls

Ulrich Drepper (drepper@cygnus.com)
01 Jul 1999 14:19:28 -0700


Hans Reiser <reiser@ceic.com> writes:

> Ulrich, this may be a problem for us, because there are some aspects of
> FS functionality that are easier/better implemented in user space.

You can do this, if you want. It would require replacing the syscalls
*in* the libc, and not replacing them from the outside. This is what
happens so far.

But this also will not work in all cases: old, statically linked
applications will not be changed, applications might make the syscalls
on their own without the help of the libc.

Therefore anything like this is error-prone.

If you want to handle something in userland then write code which is
called by the kernel in an upcall. This is the only reliable
solution. It might not be the fastest, though.

-- 
---------------.      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/