Messages in this thread | | | Date | Mon, 5 Jul 1999 19:40:50 +0200 | From | Jamie Lokier <> | Subject | Re: Adding new syscalls via modules? |
| |
Alexander Maryanchick wrote: > To safely register new function, the kernel requires some sort of naming > service. > > It's still possible to use wrapper: > register_syscall("Tetris bonus game", &handler); > in the kernel and > get_syscall_number("Tetris bonus game"); > in libc. > > But this is already new mechanism - not regular syscalls!
Traditionally this is done by inventing a new character device and using ioctls. The device gives you a name, ioctls give you a call multiplexor.
Of course this is ugly so NT does it a better way ;-)
-- Jamie
- 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/
| |