<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: FUSE / CUSE kernel driver dissection notes</title>
	<atom:link href="http://billauer.se/blog/2020/02/fuse-cuse-kernel-driver-details/feed/" rel="self" type="application/rss+xml" />
	<link>https://billauer.se/blog/2020/02/fuse-cuse-kernel-driver-details/</link>
	<description>Anything I found worthy to write down.</description>
	<lastBuildDate>Thu, 26 Mar 2026 13:15:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: eli</title>
		<link>https://billauer.se/blog/2020/02/fuse-cuse-kernel-driver-details/comment-page-1/#comment-1859</link>
		<dc:creator>eli</dc:creator>
		<pubDate>Wed, 03 Sep 2025 09:29:06 +0000</pubDate>
		<guid isPermaLink="false">https://billauer.se/blog/?p=5979#comment-1859</guid>
		<description>As the title implies, these are dissection notes: Things I wrote down as I made my way through the kernel code. And indeed, it takes more than a glance...</description>
		<content:encoded><![CDATA[<p>As the title implies, these are dissection notes: Things I wrote down as I made my way through the kernel code. And indeed, it takes more than a glance&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sachin Hosamani</title>
		<link>https://billauer.se/blog/2020/02/fuse-cuse-kernel-driver-details/comment-page-1/#comment-1858</link>
		<dc:creator>Sachin Hosamani</dc:creator>
		<pubDate>Wed, 03 Sep 2025 09:23:02 +0000</pubDate>
		<guid isPermaLink="false">https://billauer.se/blog/?p=5979#comment-1858</guid>
		<description>Thank you very much, it just felt like you holding my hand and showing the internals.
Just out of curiosity, where all did you get this step-by-step help information from? It is not self informative by looking at source code at a glance.</description>
		<content:encoded><![CDATA[<p>Thank you very much, it just felt like you holding my hand and showing the internals.<br />
Just out of curiosity, where all did you get this step-by-step help information from? It is not self informative by looking at source code at a glance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Filip</title>
		<link>https://billauer.se/blog/2020/02/fuse-cuse-kernel-driver-details/comment-page-1/#comment-1734</link>
		<dc:creator>Filip</dc:creator>
		<pubDate>Thu, 16 Nov 2023 01:02:30 +0000</pubDate>
		<guid isPermaLink="false">https://billauer.se/blog/?p=5979#comment-1734</guid>
		<description>Thank you for writing this article! Without it, I don&#039;t know how I&#039;d even get started with CUSE.

One thing I&#039;ve noticed is that max_write + fuse_in_header doesn&#039;t seem to be enough for the read() call buffer any more; While it does work for reading the initial CUSE_INIT request, it fails for FUSE_OPEN afterwards, even though a FUSE_OPEN request isn&#039;t anywhere close to max_write + fuse_in_header bytes long.. I found that I have to add 40 bytes extra to the buffer for the read() for the FUSE_OPEN request to actually succeed. Also, 4096 doesn&#039;t seem to be enough for max_write (read()ing the CUSE_INIT request fails), but going up to 8192 has been enough. It&#039;s probably quite likely that these things have all changed after this article has been written.. Which would have been fine, if any of it was actually documented anywhere else.</description>
		<content:encoded><![CDATA[<p>Thank you for writing this article! Without it, I don&#8217;t know how I&#8217;d even get started with CUSE.</p>
<p>One thing I&#8217;ve noticed is that max_write + fuse_in_header doesn&#8217;t seem to be enough for the read() call buffer any more; While it does work for reading the initial CUSE_INIT request, it fails for FUSE_OPEN afterwards, even though a FUSE_OPEN request isn&#8217;t anywhere close to max_write + fuse_in_header bytes long.. I found that I have to add 40 bytes extra to the buffer for the read() for the FUSE_OPEN request to actually succeed. Also, 4096 doesn&#8217;t seem to be enough for max_write (read()ing the CUSE_INIT request fails), but going up to 8192 has been enough. It&#8217;s probably quite likely that these things have all changed after this article has been written.. Which would have been fine, if any of it was actually documented anywhere else.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eli</title>
		<link>https://billauer.se/blog/2020/02/fuse-cuse-kernel-driver-details/comment-page-1/#comment-1567</link>
		<dc:creator>eli</dc:creator>
		<pubDate>Wed, 16 Feb 2022 03:16:10 +0000</pubDate>
		<guid isPermaLink="false">https://billauer.se/blog/?p=5979#comment-1567</guid>
		<description>Yes, it appears in the request header (see &quot;I/O requests&quot; above).</description>
		<content:encoded><![CDATA[<p>Yes, it appears in the request header (see &#8220;I/O requests&#8221; above).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcos Moraes</title>
		<link>https://billauer.se/blog/2020/02/fuse-cuse-kernel-driver-details/comment-page-1/#comment-1566</link>
		<dc:creator>Marcos Moraes</dc:creator>
		<pubDate>Tue, 15 Feb 2022 22:34:39 +0000</pubDate>
		<guid isPermaLink="false">https://billauer.se/blog/?p=5979#comment-1566</guid>
		<description>Thanks for posting!

Is there a way to get the reader/writer process id ( pid ) from the read/write handlers? 
I mean:  when running a kernel mode device driver I can get the user space caller process id by :

#include 
...
task_pid_nr(current)

I want to known a similar way to that when running a &#039;CUSE&#039; device handler.</description>
		<content:encoded><![CDATA[<p>Thanks for posting!</p>
<p>Is there a way to get the reader/writer process id ( pid ) from the read/write handlers?<br />
I mean:  when running a kernel mode device driver I can get the user space caller process id by :</p>
<p>#include<br />
&#8230;<br />
task_pid_nr(current)</p>
<p>I want to known a similar way to that when running a &#8216;CUSE&#8217; device handler.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
