<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rt-thread.git/components/net/sal/src, 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/net/sal/src?h=v5.3.0</id>
<link rel='self' href='http://cgit.235523.xyz/rt-thread.git/atom/components/net/sal/src?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>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>feat:[sal][utest] added test cases for the sal api</title>
<updated>2025-10-04T01:03:25Z</updated>
<author>
<name>Yuqiang Wang</name>
<email>yifang.wangyq@foxmail.com</email>
</author>
<published>2025-09-30T03:16:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=326e65f6ed30ffd420380f374b5692f730ad20cf'/>
<id>urn:sha1:326e65f6ed30ffd420380f374b5692f730ad20cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[fix][ci]Fixed CI compilation failure in sal/src/sal_socket.c</title>
<updated>2025-09-09T08:42:16Z</updated>
<author>
<name>Rbb666</name>
<email>zhangbingru@rt-thread.com</email>
</author>
<published>2025-09-09T07:19:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=b525d2c535470f010ea14ecb637b3da5395a6ff5'/>
<id>urn:sha1:b525d2c535470f010ea14ecb637b3da5395a6ff5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[components][sal]add netdev ifindex feature</title>
<updated>2024-10-11T04:10:21Z</updated>
<author>
<name>zms123456</name>
<email>85141075+zmshahaha@users.noreply.github.com</email>
</author>
<published>2024-10-11T04:10:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=9a010bb71b278afb3fcb4b98f28668b598f01369'/>
<id>urn:sha1:9a010bb71b278afb3fcb4b98f28668b598f01369</id>
<content type='text'>
</content>
</entry>
<entry>
<title>optimize sal_bind</title>
<updated>2024-09-19T13:15:52Z</updated>
<author>
<name>zhao maosheng</name>
<email>zmshahaha@gmail.com</email>
</author>
<published>2024-09-10T08:21:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=992e79a0f8975657bf741d95d1faf4ab5c6f3ee3'/>
<id>urn:sha1:992e79a0f8975657bf741d95d1faf4ab5c6f3ee3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[components][sal]delay getting sal_proto_family in sal_ioctlsocket</title>
<updated>2024-09-14T17:52:40Z</updated>
<author>
<name>zms123456</name>
<email>85141075+zmshahaha@users.noreply.github.com</email>
</author>
<published>2024-09-14T17:52:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=379aece6dc0ba2bc74c3e6548010df8017cf5359'/>
<id>urn:sha1:379aece6dc0ba2bc74c3e6548010df8017cf5359</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[component][sal]delete netdev_lo</title>
<updated>2024-09-14T05:49:25Z</updated>
<author>
<name>zms123456</name>
<email>85141075+zmshahaha@users.noreply.github.com</email>
</author>
<published>2024-09-14T05:49:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=accd616e17ab5cb19a7576a57640ba43785fe123'/>
<id>urn:sha1:accd616e17ab5cb19a7576a57640ba43785fe123</id>
<content type='text'>
netdev_lo无需单独处理，可以根据协议去找对应的网络设备</content>
</entry>
<entry>
<title>[net][sal]修复开启SAL_TLS编译报错</title>
<updated>2024-08-04T14:54:46Z</updated>
<author>
<name>Rbb666</name>
<email>zhangbingru@rt-thread.com</email>
</author>
<published>2024-08-01T06:05:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/rt-thread.git/commit/?id=33cb0405bc54c9f042cef02c7f3a2ba1ed872ae8'/>
<id>urn:sha1:33cb0405bc54c9f042cef02c7f3a2ba1ed872ae8</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>
</feed>
