Re: Hi, About function calls.

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

 



if the solution requires looking out for kernel events and taking an
action on the event use KGEM .

netlinks socket could also be used for sending the messages to user
space as done in DBUS

- njoi
Abhishek

On 7/16/05, MHD.Tayseer <gilmour@xxxxxxxxxxx> wrote:
> Bruce Yang wrote:
> 
> > Hi:
> >  Could I call user space functions in my kernel space?
> >  If could not, how can I do it?
> >  Now$I need use my module directly access some functions
> >  in user space.
> 
> Impossible !!! but don't be frustrated there are solutions for it
> when i faced the same problem i used something calhed NETLINK sockets ..
> it just a way to transfer messages between kernel and user space ..
> google for NETLINK and see man (3) netlink, man (7) netlink
> there$is an old solution written by Alan Cox "a character special
> device" that emulates the communication between the kernel and user
> space via a character device and this solution is used by CODA file system
> i don't know if$there is more solutions :)
> MHD
> 
> 
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 
>

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