c - Share data between two Kernel modules same as Netlink (not via Netlink, but somewhat same mechanism as Netlink) but kernel to kernel -
(updated question after marking 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 possible share data between 2 kernel modules , via netink socket able communicate kernel module user-space program?(please, request read question before mark duplicate question.)
i searched on google, got results using symbols export_symbol()
, extern
in kernel modules.but, don't want use them.
i simply, want share data between 2 kernel modules client , server chat application in c in user-space.
for this, lets take scenario:
there 2 kernel modules, , b. now, after insertion of module , suppose module increment
i=1
i++
pass or transfer value module b, module b calculate multiplication table of incremented value(i)
module a.
wiki
Comments
Post a Comment