(Updated question after marking it as duplicate)
Operating System: Fedora 26 Alpha
Linux Kernel : 4.13.0-rc5 #1 SMP Tue Aug 15 19:53:44 IST 2017 x86_64 x86_64 x86_64 GNU/Linux
Is it possible to share data between two kernel modules , like via Netink socket we are able to communicate kernel module from user-space program?(Please, I request everyone to read question carefully before mark it as duplicate question.)
I also searched on google, but i got results like about using symbols EXPORT_SYMBOL()
and extern
in kernel modules.But, I don't want to use them.
I simply, want to share data between two kernel modules just like a client and server chat application in c in user-space.
For this, Lets take a scenario:
There are two kernel modules, A and B. Now, after insertion of module , suppose A module increment i from
i=1
toi++
then pass or transfer this value to module B, then module B calculate multiplication table of that incremented value(i)
from module A.