[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding new syscalls using LKM interface
On Tue, Oct 02, 2001 at 09:25:14AM -0400, Fabrice Tchakountio wrote:
> All -
>
> Can someone tell me how to add a "fresh" syscall to a running kernel
> without replacing an existing syscall based on the LKM interface?
>
> Unlike some BSD kernels (FreeBSD in particular), it appears to me
> that we can't dynamically add/remove new syscalls without touching
> some existing syscalls.
It's a policy decision to not allow loadable syscall modules.
On some architectures you can modify the sys_call_table array directly,
but that is not only unportable but also very racy.
Christoph
--
Of course it doesn't work. We've performed a software upgrade.
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.kernelnewbies.org/