<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/dfs/dfs_v2/filesystems, branch v5.3.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/rt-thread.git/atom/components/dfs/dfs_v2/filesystems?h=v5.3.0</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/dfs/dfs_v2/filesystems?h=v5.3.0'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-08-17T09:15:34Z</updated>
<entry>
<title>Add AF_UNIX sockets implementation (#11681)</title>
<updated>2026-08-17T09:15:34Z</updated>
<author>
<name>Bernard Xiong</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2026-08-17T09:15:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=991f0ffca6ca475adcffc7833876bb8151f16e9c'/>
<id>urn:sha1:991f0ffca6ca475adcffc7833876bb8151f16e9c</id>
<content type='text'>
* components/dfs: support unix socket nodes

AF_UNIX pathname binding and descriptor passing require DFSv2 socket
nodes and retained open file descriptions across fd tables.

Add socket-node creation for tmpfs and devtmpfs, fd reference helpers,
and socket F_SETFL forwarding.

Impact: DFSv2 socket nodes and descriptor reference handling.
Validation: git diff --cached --check.

* components/net/sal: support local protocol providers

Local IPC protocol families do not have a backing network device.
Store the selected provider in each SAL socket and add a local provider
registry while preserving netdev checks for Internet sockets.

Handle DFSv2 close semantics, socketpair flags, and MSG_CTRUNC for
AF_UNIX integration.

Impact: SAL protocol dispatch for all socket families.
Validation: git diff --cached --check.

* components/lwp: support unix socket messages

Musl AF_UNIX addresses and ancillary data require explicit ABI and
user-memory conversion at the LWP syscall boundary.

Add the musl msghdr layout, bounded address and message copying,
control-message level conversion, and MSG_CTRUNC translation. Correct
receive buffer allocation and copy lengths while handling messages.

Impact: LWP socket syscalls when SAL is enabled.
Validation: git diff --cached --check.

* components/net/af_unix: add local sockets

Add an opt-in AF_UNIX provider for pathname-based local IPC without
a synthetic network device.

Support datagram and stream sockets, blocking and nonblocking I/O,
timeouts, poll, socketpair, and SCM_RIGHTS descriptor passing. Include
bounded Kconfig settings, component documentation, and utest coverage.

Impact: enabled only by RT_USING_AF_UNIX and requires SAL POSIX with
DFSv2.
Validation: git diff --cached --check.

* Fix AF_UNIX CI checks

Apply the repository clang-format rules to the affected source lines.
Suppress the cppcheck false positive for the devtmpfs list iterator.

No functional behavior is changed.

* components/lwp: preserve NULL optional msghdr buffers

When msg_name or msg_control is NULL, keep the kernel pointer NULL
instead of substituting an uninitialized buffer. Reject a NULL control
buffer with a nonzero length as EFAULT.

Impact: LWP sendmsg/recvmsg conversion on MMU targets.
Validation: git diff --cached --check.

* components/net/af_unix: fix poll UAF, namespace leak, and SCM_RIGHTS cycles

Poll only the local wait queue and wake writers from the receiver.
Free namespace entries on detach, and reject AF_UNIX descriptors in
SCM_RIGHTS until cycle collection exists.

Impact: AF_UNIX poll, bind lifetime, and descriptor passing.
Validation: git diff --cached --check.

* components/dfs: add DFSv2 AF_UNIX utest suite

Add opt-in tests under dfs/utest/v2/af_unix for socket nodes, IPC,
poll peer-close, namespace cleanup, and SCM_RIGHTS rejection.

Sources are built only when RT_UTEST_TC_USING_DFS_V2_AF_UNIX and the
selected test groups are enabled.

Impact: DFS utest menu and build; no production AF_UNIX behavior change.
Validation: git diff --cached --check.</content>
</entry>
<entry>
<title>[fix][dfs] 增加文件系统操作的类型检查，防止类型不匹配导致数据结构不一致引发的异常</title>
<updated>2026-08-06T03:18:51Z</updated>
<author>
<name>angryproton</name>
<email>angryproton@outlook.com</email>
</author>
<published>2026-08-04T15:12:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=2f7a2299f61b59d5cf00426dac0d248dce9beb4c'/>
<id>urn:sha1:2f7a2299f61b59d5cf00426dac0d248dce9beb4c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>components/dfs: unify vnode lock names</title>
<updated>2026-07-31T07:13:53Z</updated>
<author>
<name>Bernard Xiong</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2026-07-31T07:13:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=2b01936f113fe050d8eca5d9e5e8c4fc724889b7'/>
<id>urn:sha1:2b01936f113fe050d8eca5d9e5e8c4fc724889b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[fix][dfs] 修正 elmfat mkfs 中 f_mount 的错误传参</title>
<updated>2026-07-23T03:57:10Z</updated>
<author>
<name>angryproton</name>
<email>angryproton@outlook.com</email>
</author>
<published>2026-07-21T14:57:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f19da943aa905d9be49451e8cbad1a3fae0248b8'/>
<id>urn:sha1:f19da943aa905d9be49451e8cbad1a3fae0248b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[fix][tmpfs]修正 getdents 中文件类型错误的判断变量</title>
<updated>2026-07-20T02:18:14Z</updated>
<author>
<name>angryproton</name>
<email>angryproton@outlook.com</email>
</author>
<published>2026-07-15T16:11:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=560fa880ff7996a0aa4d377c3ac211176089fca8'/>
<id>urn:sha1:560fa880ff7996a0aa4d377c3ac211176089fca8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[fix][dfs] elmfat磁盘操作设备指针判空</title>
<updated>2026-07-15T08:42:15Z</updated>
<author>
<name>angryproton</name>
<email>angryproton@outlook.com</email>
</author>
<published>2026-07-13T14:36:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=997de9433af42aacb1988489ccb08b6688f440cc'/>
<id>urn:sha1:997de9433af42aacb1988489ccb08b6688f440cc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[chg][dfs]Clean up comments in dfs_elm_free_vnode</title>
<updated>2026-07-13T02:54:07Z</updated>
<author>
<name>与非熊</name>
<email>38059101+Unbear-Hz@users.noreply.github.com</email>
</author>
<published>2026-07-12T09:19:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=63b4a7fcc2971b2f3001853da9fe33207dd80906'/>
<id>urn:sha1:63b4a7fcc2971b2f3001853da9fe33207dd80906</id>
<content type='text'>
Removed unnecessary comments from dfs_elm_free_vnode function.</content>
</entry>
<entry>
<title>[fix][dfs_elm] 修复关闭目录和释放vnode时的资源泄露</title>
<updated>2026-07-13T02:54:07Z</updated>
<author>
<name>angryproton</name>
<email>angryproton@outlook.com</email>
</author>
<published>2026-07-12T08:49:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=cf1c12ee06f816e12defed94d8450f14e876a31e'/>
<id>urn:sha1:cf1c12ee06f816e12defed94d8450f14e876a31e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[fix][dfs] 修复elmfat挂载失败时的内存泄漏</title>
<updated>2026-07-13T01:01:43Z</updated>
<author>
<name>angryproton</name>
<email>angryproton@outlook.com</email>
</author>
<published>2026-07-12T07:40:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=5af8b0af64160d3d0b90d7af84e2fe333fc1d836'/>
<id>urn:sha1:5af8b0af64160d3d0b90d7af84e2fe333fc1d836</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[fix][elm]解决块设备扇区大小校验失败时存在的disk泄漏问题</title>
<updated>2026-06-22T08:41:29Z</updated>
<author>
<name>与非熊</name>
<email>38059101+AngryProton@users.noreply.github.com</email>
</author>
<published>2026-06-22T05:53:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=eac6bff07ab818d74123542188f68d853b7b73f4'/>
<id>urn:sha1:eac6bff07ab818d74123542188f68d853b7b73f4</id>
<content type='text'>
</content>
</entry>
</feed>
