Calling kernel level function from user level program

Calling kernel level function from user level program

Post by Remko van der Vosse » Fri, 06 Apr 2001 19:10:06



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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Calling kernel level function from user level program

Post by Gabi Dava » Fri, 06 Apr 2001 20:00:05


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-----

> Sent: Thursday, April 05, 2001 11:59 AM

> 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

> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-kernel" in

> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. Kernel level 95/NT like registry level functions?

Has anyone done any work on developing kernel level MS registry like
functions?

The benefits would be great in that there would no longer be a need for
software developers to write config file routines but just get the
registry data.

Also this would improve performance because the data IO would be at
kernel level.  There could even be a registry partition like swap to get
rid of ext2 filesystem overhead.

The only problems would be that developers could be hesitant about
developing something that is linux proprietary but since the source
would be PD we could use that to convince SGI or SUN to use it as well.

--

--LINUX- The choice of a GNU generation!--

Kevin Burton
Network Support
General Physics Corporation
http://www.gl.umbc.edu/~kburto1/kburto1.html

"In a weak sense, it [windows NT] is a
form of Unix."  --Bill Gates, 1996

"It is error alone that needs
support of the government."
--Thomas Jefferson

2. Is there a GLOBAL Linux version.

3. How can I make the signal solution....to user level..from kernel level

4. port forwarding problem - pls help!

5. HOW CAN I USE KERNEL FUNCTION IN USER LEVEL APPLICATION!

6. ethernet card on slakware

7. sio: tty-level overflow during user-level PPP connect

8. Top 10 posters comp.unix.shell

9. VisionFS Share level vs user level Domain authentication

10. Firewalling at the domain users level instead of network level

11. User-level program crumps the Solaris 2.6 kernel?

12. application level vs kernel level coding ?

13. help programming low level i/o functions