<feed xmlns='http://www.w3.org/2005/Atom'>
<title>netbsd/lib/libpuffs, branch trunk</title>
<subtitle>NetBSD fork for lockdoc analysis</subtitle>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/'/>
<entry>
<title>libpuffs: ignore lint warning about nested extern for now</title>
<updated>2023-03-31T04:51:32+00:00</updated>
<author>
<name>rillig</name>
<email>rillig@NetBSD.org</email>
</author>
<published>2023-03-31T04:51:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=3248674aa472b0944d59c502c451eca74cf9214b'/>
<id>3248674aa472b0944d59c502c451eca74cf9214b</id>
<content type='text'>
This should be properly fixed by someone familiar with puffs.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should be properly fixed by someone familiar with puffs.</pre>
</div>
</content>
</entry>
<entry>
<title>lint: warn about extern declarations outside headers</title>
<updated>2023-03-28T14:44:34+00:00</updated>
<author>
<name>rillig</name>
<email>rillig@NetBSD.org</email>
</author>
<published>2023-03-28T14:44:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=ea64962370dcb8ab0cef70a139b7d17a37ec97cd'/>
<id>ea64962370dcb8ab0cef70a139b7d17a37ec97cd</id>
<content type='text'>
https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://mail-index.netbsd.org/tech-userlevel/2023/03/15/msg013727.html</pre>
</div>
</content>
</entry>
<entry>
<title>lib: remove CONSTCOND comment</title>
<updated>2022-04-19T20:32:14+00:00</updated>
<author>
<name>rillig</name>
<email>rillig@NetBSD.org</email>
</author>
<published>2022-04-19T20:32:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=abd1934eaea492770a5b629c883b59771cbf0491'/>
<id>abd1934eaea492770a5b629c883b59771cbf0491</id>
<content type='text'>
Since 2021-01-31, lint doesn't need it anymore for the common pattern of
'do ... while (0)'.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since 2021-01-31, lint doesn't need it anymore for the common pattern of
'do ... while (0)'.</pre>
</div>
</content>
</entry>
<entry>
<title>Allow calling puffs_mount(3) before puffs_daemon(3)</title>
<updated>2022-01-22T07:35:26+00:00</updated>
<author>
<name>pho</name>
<email>pho@NetBSD.org</email>
</author>
<published>2022-01-22T07:35:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=a024bae409c7627dbe3d83229a62289db8dc1ee6'/>
<id>a024bae409c7627dbe3d83229a62289db8dc1ee6</id>
<content type='text'>
puffs_daemon(3) creates a pipe before forking, and the parent process
waits for the child to either complete puffs_mount(3) or fail. If a
user calls puffs_daemon(3) after puffs_mount(3), the function
deadlocks. While this error-reporting functionality is really a nice
thing to have, deadlocking is not great. If the filesystem has already
been mounted, puffs_mount(3) should just daemonize the process and
return.

This became an issue because fuse_daemonize(3) in FUSE API had no such
requirement and some FUSE filesystems in the wild suffered deadlocks.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
puffs_daemon(3) creates a pipe before forking, and the parent process
waits for the child to either complete puffs_mount(3) or fail. If a
user calls puffs_daemon(3) after puffs_mount(3), the function
deadlocks. While this error-reporting functionality is really a nice
thing to have, deadlocking is not great. If the filesystem has already
been mounted, puffs_mount(3) should just daemonize the process and
return.

This became an issue because fuse_daemonize(3) in FUSE API had no such
requirement and some FUSE filesystems in the wild suffered deadlocks.</pre>
</div>
</content>
</entry>
<entry>
<title>Use size_t in place of voff_t in puffs_setrootinfo(3)</title>
<updated>2021-12-03T17:12:17+00:00</updated>
<author>
<name>pho</name>
<email>pho@NetBSD.org</email>
</author>
<published>2021-12-03T17:12:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=396ccf64bdae2e068fe387509c523e1ee2492205'/>
<id>396ccf64bdae2e068fe387509c523e1ee2492205</id>
<content type='text'>
Chuck Silvers pointed out that voff_t was also supposed to be
kernel-only. The correct type to use in userland would be off_t, but
since changing vsize_t to either voff_t or off_t is an ABI change on
32-bit platforms, we use size_t knowing that it is technically
incorrect.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Chuck Silvers pointed out that voff_t was also supposed to be
kernel-only. The correct type to use in userland would be off_t, but
since changing vsize_t to either voff_t or off_t is an ABI change on
32-bit platforms, we use size_t knowing that it is technically
incorrect.</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid using register_t or vsize_t in &lt;puffs.h&gt;</title>
<updated>2021-12-03T14:00:59+00:00</updated>
<author>
<name>pho</name>
<email>pho@NetBSD.org</email>
</author>
<published>2021-12-03T14:00:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=a0073b78917a6835b17c95c452a013a2e7a4717a'/>
<id>a0073b78917a6835b17c95c452a013a2e7a4717a</id>
<content type='text'>
&lt;puffs.h&gt; is a user-space header, and should not use any of
kernel-only types. It's not reasonable to require user-land
filesystems to #define _KERNTYPES.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
&lt;puffs.h&gt; is a user-space header, and should not use any of
kernel-only types. It's not reasonable to require user-land
filesystems to #define _KERNTYPES.</pre>
</div>
</content>
</entry>
<entry>
<title>puffs(3): Replace realloc(x * y) with reallocarr</title>
<updated>2021-10-30T10:34:18+00:00</updated>
<author>
<name>nia</name>
<email>nia@NetBSD.org</email>
</author>
<published>2021-10-30T10:34:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=b22e765bffe0dc4b7118d677aa8bb2d7daf85d43'/>
<id>b22e765bffe0dc4b7118d677aa8bb2d7daf85d43</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing double p and d for stopped and overriden accordingly.</title>
<updated>2021-09-11T20:28:03+00:00</updated>
<author>
<name>andvar</name>
<email>andvar@NetBSD.org</email>
</author>
<published>2021-09-11T20:28:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=93477c577b983d9a63c65095511cb8d7192b4f85'/>
<id>93477c577b983d9a63c65095511cb8d7192b4f85</id>
<content type='text'>
Fix few more typos along the way, mainly in copy-pasted comments.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix few more typos along the way, mainly in copy-pasted comments.</pre>
</div>
</content>
</entry>
<entry>
<title>fix typos in puffs man pages.</title>
<updated>2021-08-04T09:31:25+00:00</updated>
<author>
<name>andvar</name>
<email>andvar@NetBSD.org</email>
</author>
<published>2021-08-04T09:31:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=02ad6e82a1aa873b22c3f6790b2761909441996f'/>
<id>02ad6e82a1aa873b22c3f6790b2761909441996f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cast to the proper enums for lint</title>
<updated>2021-03-08T17:34:10+00:00</updated>
<author>
<name>christos</name>
<email>christos@NetBSD.org</email>
</author>
<published>2021-03-08T17:34:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=81099f705a4b7d0dd4a1366552fb0de092a8686b'/>
<id>81099f705a4b7d0dd4a1366552fb0de092a8686b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
