int syscall_module( char *module_name, int request, void *data, int size);
MODULE_NAME - Name of the kernel module ( in user space area ).
REQUEST - A request number.
DATA - Address of parameters ( in user space area )
SIZE - Size of parameters
The user system call would have the same prototype ( and name - call_module ).
Every time user task make that system call it redirect to module
SYSCALL_MODULE() routine or
returns -ENOSYS if such module has not that entry point.
Sergey
-
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/