Messages in this thread | | | Date | Wed, 11 Oct 2000 13:16:52 +0100 (BST) | From | Tigran Aivazian <> | Subject | Re: executing function in kernel whose name is known |
| |
On Wed, 11 Oct 2000 aprasad@in.ibm.com wrote:
> hi, > i know the name of a function which is stored in some string in a kernel > module, is there any way to execute that function. > That function is implemented in a module and has been exported. > thanks, > anil
you mean execute from userspace? No. You mean execute from kernel space? Yes, but you would need to ensure the module cannot be unloaded (by incrementing its module reference counter) while the function is invoked.
Regards, Tigran
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
| |