> I want to write a user process that calls (send several args, get
> return value, synchronous) routines in a loadable modules as fast as
> possible. If I could dynamically add (and remove) syscalls from the
> module at load (and cleanup) time, that'd be fantastic. If not,
> what's currently the next best way? I need a mechanism as close to
> the performance characteristics of syscalls, since:
My system routinely uses a module called libafs, which implements
afs_syscall. I don't know the details (Transarc is fascist), but I
suspect the module simply modifies sys_call_table appropriately.
-- Aaron M. Ucko (amu@mit.edu) | For Geek Code, PGP public key, and other info, finger amu@monk.mit.edu. | "Kids! Bringing about Armageddon can be dangerous. Do not attempt it in your home." -- T. Pratchett & N. Gaiman, _Good Omens_