implementing a syscall in a module

Rob Braun (bbraun@nago.cs.colorado.edu)
Thu, 16 Apr 1998 14:59:33 -0600


Is there a way to register a system call, that is implemented as a
module, with the kernel list of system calls?

As far as I can see the modules that exist are
device/network/filesystem things that have a register_something() call
to make. Perhaps I'm just ignorant, but I have not been able to find
one of these for syscall registry. Also, arch/i386/kernel/entry.S
doesn't have reserved syscall numbers for dynamic adding of syscalls,
so if there is a method of adding a system call dynamically, how does
it work? A simple pointer to information would be great.

Implementing a system call compiled into the kernel is a piece of
cake, so that is not my problem. And writing a module is a piece of
cake, so that isn't the problem either. How to mix the two is.

Perhaps I'm just ignorant and have missed a bunch of things.

Thanks,
Rob

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu