Re: executing a user space function in kernel module

From: Tigran Aivazian (
Date: Wed Oct 11 2000 - 07:15:25 EST

On Wed, 11 Oct 2000 wrote:
> In Linux, is it possible to execute a function in kernel which is a part of
> user application
> and hence a part of user address space??

the canonical way of doing it is to compile that function into an
executable ELF file and then use standard Linux kernel API
exec_usermodehelper() (see kernel/kmod.c) in a separate kernel thread like
request_module() does.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:17 EST