On Feb 15, 11:25 am, Lew Pitcher <lpitc...@teksavvy.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Ramesh wrote:
> > To pass data from kernel space to user space we can use netlink
> > sockets. Is there a better or efficient mechanism than netlink in
> > 2.6?? Please advice.
> As far as I'm concerned, the best way to pass data from kernelspace to
> userspace is through the use of the userspace read(2) syscall.
> - --
> Lew Pitcher
> Master Codewright & JOAT-in-training | Registered Linux User #112576http://pitcher.digitalfreehold.ca/ | GPG public key available by request
> - ---------- Slackware - Because I know what I'm doing. ------
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Armoured with GnuPG
> -----END PGP SIGNATURE-----
On the other hand if you want to use/access the kernel space data
without copying it to user space, you can use Mmap!