<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/dfs/dfs_v2/src/dfs_file.c, branch master</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/src/dfs_file.c?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/dfs/dfs_v2/src/dfs_file.c?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/'/>
<updated>2026-08-30T12:49:24Z</updated>
<entry>
<title>[dfs][posix] Add record locks, fchmod, and tmpfs metadata</title>
<updated>2026-08-30T12:49:24Z</updated>
<author>
<name>bernard</name>
<email>bernard.xiong@gmail.com</email>
</author>
<published>2026-08-22T23:43:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=f02a869318c9df28ec2eab41f1a58795dc8a3f1b'/>
<id>urn:sha1:f02a869318c9df28ec2eab41f1a58795dc8a3f1b</id>
<content type='text'>
为 DFS v2 增加 POSIX 记录锁、fchmod，以及 tmpfs 的权限和时间元数据。
进程退出时通过 dfs_fdtable_drop_fd 释放文件描述符和记录锁。
</content>
</entry>
<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>fix:[dfs]ls在文件名太长时打印出来的文件名与大小连接在一起,无法区分</title>
<updated>2025-11-07T08:59:23Z</updated>
<author>
<name>wdfk-prog</name>
<email>1425075683@qq.com</email>
</author>
<published>2025-11-07T02:49:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=95f728731317b5e84bac30ae23871870a6b63c96'/>
<id>urn:sha1:95f728731317b5e84bac30ae23871870a6b63c96</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[components/dfs]add doxygen comments for dfs_file.c in dfs_v2.</title>
<updated>2025-08-04T01:49:45Z</updated>
<author>
<name>ligr</name>
<email>liguorui1213@163.com</email>
</author>
<published>2025-07-29T03:38:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=6015e149e7e92288348198cf468ef33af43e6065'/>
<id>urn:sha1:6015e149e7e92288348198cf468ef33af43e6065</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[bugfix][component/dfs] fix bugs for function _get_parent_path(). (#10539)</title>
<updated>2025-07-31T09:36:28Z</updated>
<author>
<name>Guorui Li</name>
<email>liguorui1213@163.com</email>
</author>
<published>2025-07-31T09:36:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=d82dd71aefd6a4ec4d3e43698a396dd235bfdb0f'/>
<id>urn:sha1:d82dd71aefd6a4ec4d3e43698a396dd235bfdb0f</id>
<content type='text'>
* [bugfix][component/dfs]1.Skip the trailing slash character failed. 2. Scenario that parent path is root is not considered.

* replace strdup() by rt_strdup().

* free memory after strdup().

* fix issue of not appending '\0' at end when parent path is root.</content>
</entry>
<entry>
<title>【修复】修复link系统调用返回值问题</title>
<updated>2024-08-25T14:57:38Z</updated>
<author>
<name>zhuzhuzhu</name>
<email>945386260@qq.com</email>
</author>
<published>2024-08-25T14:57:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=1be24fc7daa732da3a2f6b4eede71ae7c3c7ef6d'/>
<id>urn:sha1:1be24fc7daa732da3a2f6b4eede71ae7c3c7ef6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>【修复】修复symlink系统调用返回值不是预期问题</title>
<updated>2024-08-25T14:56:03Z</updated>
<author>
<name>zhuzhuzhu</name>
<email>945386260@qq.com</email>
</author>
<published>2024-08-25T14:56:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=c4c227e36762edd16d58439816e21c2eabd84da7'/>
<id>urn:sha1:c4c227e36762edd16d58439816e21c2eabd84da7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix symlink (#8755)</title>
<updated>2024-04-10T15:55:29Z</updated>
<author>
<name>geniusgogo</name>
<email>2041245+geniusgogo@users.noreply.github.com</email>
</author>
<published>2024-04-10T15:55:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=bdfa1ea20a4cc653e91ab82a1fc20dfb799d1997'/>
<id>urn:sha1:bdfa1ea20a4cc653e91ab82a1fc20dfb799d1997</id>
<content type='text'>
Signed-off-by: geniusgogo &lt;xpxyr@sina.com&gt;</content>
</entry>
<entry>
<title>[dfsv2] add dfs pwrite pread</title>
<updated>2024-04-10T02:26:58Z</updated>
<author>
<name>geniusgogo</name>
<email>2041245+geniusgogo@users.noreply.github.com</email>
</author>
<published>2024-04-10T02:26:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=651f23a604ab09a3ec6e93096e9038b4441fd9d8'/>
<id>urn:sha1:651f23a604ab09a3ec6e93096e9038b4441fd9d8</id>
<content type='text'>
</content>
</entry>
</feed>
