Re: loadable modules

brian mitchell (brian@saturn.net)
Thu, 2 May 1996 11:29:12 -0400 (EDT)


On Thu, 2 May 1996, Alan Cox wrote:

> > Is it possible to redefine a system call using loadable modules? What I
> > would like to do is something like a DOS isr, except with syscalls
> > instead of interrupt services - that is, do xyz in the module, then call
> > the original system call.
>
> Urgh.. very bad idea because you never know what you will upset. There
> is a far better way to do this for almost all uses. Use a modified C library
> - dynamic linking is very useufl
>
>
> Alan
>

There are reasons I do not want to do this with libc - basically, a libc
approach can be bypassed with static bins, which I cant allow in this case.

------------------------------------------------------------------------
Brian Mitchell brian@janus.saturn.net
PGP Public Key http://www.saturn.net/~brian/pubkey
------------------------------------------------------------------------