[lkml]   [2000]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: executing a user space function in kernel module
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

 \ /
  Last update: 2005-03-22 12:39    [W:0.029 / U:0.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site