<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/net/sal/include/sal_socket.h, 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/net/sal/include/sal_socket.h?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/net/sal/include/sal_socket.h?h=master'/>
<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>format: format sal socket code</title>
<updated>2025-10-04T01:03:25Z</updated>
<author>
<name>Yuqiang Wang</name>
<email>yifang.wangyq@foxmail.com</email>
</author>
<published>2025-09-30T03:18:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=2e45b9b340d99f9c8348e6b6df62fae5845ebc8c'/>
<id>urn:sha1:2e45b9b340d99f9c8348e6b6df62fae5845ebc8c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Updated issues related to uds capacity and eventfd macro redefinition (#8329)</title>
<updated>2023-12-06T05:51:13Z</updated>
<author>
<name>zmq810150896</name>
<email>50894086+zmq810150896@users.noreply.github.com</email>
</author>
<published>2023-12-06T05:51:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=2790ce5357bb52dcade2ee0add38e90b392a0a03'/>
<id>urn:sha1:2790ce5357bb52dcade2ee0add38e90b392a0a03</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sync update net. (#8333)</title>
<updated>2023-12-05T15:09:19Z</updated>
<author>
<name>geniusgogo</name>
<email>2041245+geniusgogo@users.noreply.github.com</email>
</author>
<published>2023-12-05T15:09:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=3bc29c76735487c1bfadedd409901fe0091164a9'/>
<id>urn:sha1:3bc29c76735487c1bfadedd409901fe0091164a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[AF_UNIX] Update AF_UNIX bind, connect entry (#8314)</title>
<updated>2023-12-02T04:11:01Z</updated>
<author>
<name>rcitachi</name>
<email>68690849+rcitachi@users.noreply.github.com</email>
</author>
<published>2023-12-02T04:11:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=58665c7f50e34d83dc99baa0f3506e616478d8df'/>
<id>urn:sha1:58665c7f50e34d83dc99baa0f3506e616478d8df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>修复 #8293 问题 (#8307)</title>
<updated>2023-11-29T06:08:47Z</updated>
<author>
<name>rcitachi</name>
<email>68690849+rcitachi@users.noreply.github.com</email>
</author>
<published>2023-11-29T06:08:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=1e6b2a81d026e737dcaa7ab5de591afe04ac3ff1'/>
<id>urn:sha1:1e6b2a81d026e737dcaa7ab5de591afe04ac3ff1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[SAL] Update SAL，Add socketpair sendmsg recvmsg function (#8293)</title>
<updated>2023-11-28T05:56:06Z</updated>
<author>
<name>rcitachi</name>
<email>68690849+rcitachi@users.noreply.github.com</email>
</author>
<published>2023-11-28T05:56:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=c06f4e98fce6c86ef412aa70c1f31c971a9d61a9'/>
<id>urn:sha1:c06f4e98fce6c86ef412aa70c1f31c971a9d61a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sync branch rt-smart. (#6641)</title>
<updated>2022-12-03T04:07:44Z</updated>
<author>
<name>guo</name>
<email>guozhanxin@rt-thread.com</email>
</author>
<published>2022-12-03T04:07:44Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=ecf2d8215961ca7c539132b62a72df6072cc3e14'/>
<id>urn:sha1:ecf2d8215961ca7c539132b62a72df6072cc3e14</id>
<content type='text'>
* Synchronize the code of the rt mart branch to the master branch.
  * TTY device
  * Add lwP code from rt-smart
  * Add vnode in DFS, but DFS will be re-write for rt-smart
  * There are three libcpu for rt-smart:
    * arm/cortex-a, arm/aarch64
    * riscv64

Co-authored-by: Rbb666 &lt;zhangbingru@rt-thread.com&gt;
Co-authored-by: zhkag &lt;zhkag@foxmail.com&gt;</content>
</entry>
<entry>
<title>[net] adjust folder structure (#5587)</title>
<updated>2022-02-19T16:07:45Z</updated>
<author>
<name>Man, Jianting (Meco)</name>
<email>920369182@qq.com</email>
</author>
<published>2022-02-19T16:07:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=6895da53071358cdd4da8f15f32c977dfedfbe89'/>
<id>urn:sha1:6895da53071358cdd4da8f15f32c977dfedfbe89</id>
<content type='text'>
* [net] adjust folder structure
- 将lwip相关的文件夹，移入lwip文件夹
- Kconfig 分散到at netdev lwip sal文件夹中，使用menuconfig代替menu</content>
</entry>
</feed>
