Re: Problem of workqueue
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
I google fanotify and find it's a notification mechanism. My
understanding is that fanotify can know fd being open, close, read,
write, but transfer data between user space and kernel is out of its
ability. If I'm wrong please tell me.
The only reason I choose netlink to send data to user space is to
notify user space process there is data, and avoid user space process
do some polling job to check if there is data in kernel. Does fanotify
or other method can do such thing?
Thanks a lot!
2012/5/4 rohan puri <rohan.puri15@xxxxxxxxx>:
> To send data from kernel space and user-space see kernel's notification
> mechanism like fanotify which works on by creating an anonymous fd in the
> user-space process's context which then might perform normal read() and
> write() call to receive and send data to kernel.
> - Rohan
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
[Newbies FAQ] [Linux Kernel Development] [IETF Annouce] [Git] [Networking] [Security] [Bugtraq] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux Networking] [Linux RAID] [Linux SCSI] [Linux ACPI]