2001-04-05 09:58:44

by Remko van der Vossen

[permalink] [raw]
Subject: Calling kernel level function from user level program

Hi Guys,

I'd like to know how I call a kernel level function which i made myself (in
a module) from a user level program, i tried a header file with extern but
that didn't work.

Bye,

Remko van der Vossen
CMG Eindhoven
[email protected]


2001-04-05 10:44:04

by Gabi Davar

[permalink] [raw]
Subject: RE: Calling kernel level function from user level program

You can't just call it, you need to either create a system call, or use
IOCTLs.

Read the FAQ at http://www.tux.org/lkml/ for general info and sources of
information.

-gabi

> -----Original Message-----
> From: Remko van der Vossen [mailto:[email protected]]
> Sent: Thursday, April 05, 2001 11:59 AM
> To: '[email protected]'
> Subject: Calling kernel level function from user level program
>
>
> Hi Guys,
>
> I'd like to know how I call a kernel level function which i
> made myself (in
> a module) from a user level program, i tried a header file
> with extern but
> that didn't work.
>
> Bye,
>
> Remko van der Vossen
> CMG Eindhoven
> [email protected]
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>