On Wed, 11 Oct 2000 [EMAIL PROTECTED] 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 Linu
Hi,
struct t{
int (*x)(int);
}fstruct;
main()
{
.
.
fstruct.x = f;
./*write fstruct to a device file*/
.
}
int f(int i)
{
printf("got %d\n",i);
return i;
}
i pass this structure to kernel module by writting to device file.
the write function of module is like
..
..
char *kbuf;
str
2 matches
Mail list logo