Re: User context/Kernel context interaction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



MHD.Tayseer Alqouatli wrote:

MHD.Tayseer Alqouatli wrote:

Hi everyone
Since any user level code can't be called from kernel level code i need to provide a way to let my fs LKM asks my user level FS engine for underlying fs services and the FS engine responde to the LKM that respondes in it's turn to the client after some googling i found that such a solution is done by CODA fs by means of a dummy character device .. what are the things should i know (besides the VFS) to implement such a dummy character device any pointers will be helpful second .. is there any other way rather than the mentioned above solves the user level/kernel level interaction problem ? (i just need a memory space and synchronisaion object that both can be used by the user and the kernel code)
Thanks in advance
MHD.


Sorry .. i've just found something called netlink and i think this is what am looking for right ? .. i'll read it's manuals now
sorry for inconvenience
MHD


IIUC (maybe I dont),
inotify uses netlink.
netlink callbacks must be registered from userspace.
ie a userspace daemon that would act upon the netlink msg from kernel.

connector in -mmX, (not yet in base kernel), eases use of netlink,
it would be instructive to look at, and perhaps prototype with.


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux