LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 04-14-2008, 06:47 AM   #1
frostecheg
LQ Newbie
 
Registered: Apr 2008
Posts: 8

Rep: Reputation: 0
How do i run exported function from another LKM?


Heya.
I am writing 2 LKMs (there should be 2,dont ask . One of them should be able to call another's function. I know that the LKM exports its function to symbol table, but I have no idea how to call it (besides parsing /proc/kallsyms ).
The kernel is 2.6 , so there is no publicly exported table.
Thank you.

Simple version:
LKM1 - has function yohoho();

LKM1 loads
LKM2 loads
How to make LKM2 call exported function yohoho()?

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LKM talking to another LKM? Ljunge Programming 4 11-13-2007 01:29 PM
run c function in the background schneidz Programming 4 09-07-2007 07:29 AM
problem with inet_ntoa function in LKM anandkj Linux - General 1 07-05-2007 09:20 AM
Run restore on boot & LKM rootkits mazinoz Linux - Security 6 07-26-2006 06:24 PM
How do I run a function within a function arguement? C/C++ RHLinuxGUY Programming 12 05-19-2006 02:29 PM


All times are GMT -5. The time now is 11:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration