| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-09-07 | [components][sal] Fix SIOCGIFCONF buffer overflow | zhangyuyang | |
| 2026-08-17 | Add AF_UNIX sockets implementation (#11681) | Bernard Xiong | |
| * 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. | |||
| 2025-10-04 | format: format sal socket code | Yuqiang Wang | |
| 2025-10-04 | feat:[sal][utest] added test cases for the sal api | Yuqiang Wang | |
| 2025-09-09 | [fix][ci]Fixed CI compilation failure in sal/src/sal_socket.c | Rbb666 | |
| 2024-10-11 | [components][sal]add netdev ifindex feature | zms123456 | |
| 2024-09-19 | optimize sal_bind | zhao maosheng | |
| 2024-09-14 | [components][sal]delay getting sal_proto_family in sal_ioctlsocket | zms123456 | |
| 2024-09-14 | [component][sal]delete netdev_lo | zms123456 | |
| netdev_lo无需单独处理,可以根据协议去找对应的网络设备 | |||
| 2024-08-04 | [net][sal]修复开启SAL_TLS编译报错 | Rbb666 | |
| 2023-12-06 | Updated issues related to uds capacity and eventfd macro redefinition (#8329) | zmq810150896 | |
| 2023-12-05 | sync update net. (#8333) | geniusgogo | |
| 2023-11-29 | 修复 #8293 问题 (#8307) | rcitachi | |
| 2023-11-28 | [SAL] Update SAL,Add socketpair sendmsg recvmsg function (#8293) | rcitachi | |
| 2023-11-16 | [fix] sal build error. | guozhanxin | |
| 2023-10-24 | fix ash ifconfig updown (#8165) | xiao-mang | |
| 2023-09-13 | fix ifconfig (#8032) | xiao-mang | |
| 2023-08-10 | [SAL] fix the IPv4&v6 compiling issue. (#7938) | Bernard Xiong | |
| 2023-08-07 | update components & lwp. (#7888) | geniusgogo | |
| 2023-04-20 | Update sal_socket.c | Man, Jianting (Meco) | |
| 2023-04-20 | [SAL][Kconfig]使用网络检测才依赖workqueue | Myself | |
| 2023-04-08 | [DFS] prepare for dfs_v2.0 (#7200) | Bernard Xiong | |
| * [DFS] prepare for dfs_v2. dfs_fd -> dfs_file; dfs_fnode -> dfs_vnode. * [BSP] fix code analysis warning * [smart] fix the pointer overflow. * code format * [smart] fix the lwp->lwp_obj checking. | |||
| 2022-12-03 | sync branch rt-smart. (#6641) | guo | |
| * 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 <[email protected]> Co-authored-by: zhkag <[email protected]> | |||
| 2022-09-07 | [kernel][version] 采用新的版本宏定义 | Meco Man | |
| 版本控制规范:https://semver.org/ 目前的版本子号不是很规范,其中RT_VERSION甚至和VS那边造成了冲突 ```c /* RT-Thread version information */ #define RT_VERSION 4L /**< major version number */ #define RT_SUBVERSION 1L /**< minor version number */ #define RT_REVISION 1L /**< revise version number */ ``` 参考ESP32: ```c /** Major version number (X.x.x) */ #define ESP_ARDUINO_VERSION_MAJOR 2 /** Minor version number (x.X.x) */ #define ESP_ARDUINO_VERSION_MINOR 0 /** Patch version number (x.x.X) */ #define ESP_ARDUINO_VERSION_PATCH 3 ``` 建议改成: ```c /* Major version number (X.x.x) */ #define RT_VERSION_MAJOR 4 /* Minor version number (x.X.x) */ #define RT_VERSION_MINOR 2 /* Patch version number (x.x.X) */ #define RT_VERSION_PATCH 0 ``` | |||
| 2022-08-02 | Fix some compilation warning (#5744) | dongly | |
| * Fix some compilation warning * 补充修正一些数据类型的使用错误 Co-authored-by: Meco Man <[email protected]> | |||
| 2022-06-08 | Fix compiler warnings (#6023) | Tangyuxin | |
| 2022-05-16 | rename sal.h as sal_low_lvl.h | Meco Man | |
| 2022-02-20 | [net] adjust folder structure (#5587) | Man, Jianting (Meco) | |
| * [net] adjust folder structure - 将lwip相关的文件夹,移入lwip文件夹 - Kconfig 分散到at netdev lwip sal文件夹中,使用menuconfig代替menu | |||
