[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: loading a module
On Thu, Oct 04, 2001 at 11:13:50AM +0530, C.Mohanasundaram wrote:
> Hi all,
>
> I wrote a system call and loaded the module using insmod from my user land C
> program and called the system call.
There is no such concept as loadable syscalls in Linux.
On some architectures you can overwrite sys_call_table entries,
but that's racy, unportable and will cause you problems in the future.
Yust don't do it!
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/