Re: upcall/downcalls kernel <-> user

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

 



Lukas Ruf wrote:

Dear list,

I need mechanisms to implement an upcall from kernel to user.  A user
space application should be able to register at a particular hook.
Whenever the kernel wants to signal anything to the user application,
it should do the upcall.  Both sides should be able to pass abitrary
data back and forth as pointer to byte arrays and -- if possible --
signal the result of the call as return-value.  Is this possible?

After googling, I found quite often the recommendation to read the
code of the Linux coda filesystem implementation.  Reading code
reveals particular aspects but has not helped me understanding the
full picture.

Therefore my question:

Does anybody know of any good technical documentation of up- and downcalls
that not explains the concepts but gives also easy-to-understand
examples.

Thanks in advance for any help!

wbr,
Lukas


Try to googling for documentation about netlink socket (there isn't a lot, but you should find a pdf about it)
Daniele



Gruppo Telecom Italia - Direzione e coordinamento di Telecom Italia S.p.A.

====================================================================
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please send an e_mail to
MailAdmin@xxxxxxxxxx Thank you
====================================================================

--
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