warning: following content may be highly unreliable. On 7/6/05, Shrinand Javadekar <[EMAIL PROTECTED]> wrote: > If a function is written in a kernel module (and not hooked to any > syscall) and that kernel module is loaded in memory, can user-land > programs call that function? no. There are only 2 paths into the kernel: either system calls, or interrupts (people may argue that they are infact, the same, but atleast logically, these are the 2 paths). Of this of course, the syscall interface is the only one available to userland.
> Also, does making an entry in the syscall table mean writing an > interrupt handler? As far as i know (which ain't a lot), No, it does not... atleast not literally... Adding a system call is a rather drastic measure (or rather, extremely drastic measure). Have you explored other alternatives? (daemons running in kernel mode, and userland processes communicating with them using pipes/sockets, as an example) Sagar -- Sagar Gokhale -- ______________________________________________________________________ Pune GNU/Linux Users Group Mailing List: (plug-mail@plug.org.in) List Information: http://plug.org.in/mailing-list/listinfo/plug-mail Send 'help' to [EMAIL PROTECTED] for mailing instructions.