Messages in this thread |  | | | Date | Thu, 24 Mar 2005 20:45:20 +0100 (MET) | | From | Jan Engelhardt <> | | Subject | Re: read() on relayfs channel returns premature 0 |
| |
>BTW, I just want to point out that there aren't any problems with >read() in the version of relayfs included in the -mm tree (i.e. the >'redux' version), since of course it doesn't support read().
Hm? Relayfs does not support a `cat /dev/relay/AChannelName` anymore?
>I'll continue maintaining the old relayfs for existing users (so >thanks for the patch and the test code) so if the new version doesn't >fit your needs, you'll still have the old version to fall back on.
Do you have the "new relayfs" as a "normal" file (outside any revision control system), e.g. a diff patch?
>Hopefully the new version will still be useful for what you're trying to do >- your old version used 'packet' mode with read(). The new relayfs >only supports 'bulk' mode with mmap() >- your old version used a single buffer, while the new relayfs only >supports per-cpu buffers >(BTW, the new relayfs doesn't have an option any longer to do automatic >timestamping either).
I wanted to port the kernel side of my keylogger over to relayfs, but given that API and functionality have now changed I am somewhat reluctant to do it.
Jan Engelhardt -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |