2018/03/28

Linux Kernal Module Exported Symbol

How LKM A can call functions exported by LKM B? 

When LKM B is loaded, Exported symbols are registered to system symbol table in Linux kernel.
When LKM A is loaded,  system do binary search in system symbol table and other modules' symbol table to resolve symbols referenced by LKM A.







Reference
https://www.slideshare.net/shimosawa/nlkb20150221

No comments:

Post a Comment

Post Code on Blogger

Simplest way to post code to blogger for me: <pre style="background: #f0f0f0; border: 1px dashed #CCCCCC; color: black;overflow-x:...