Skip to content

fix(poll): 修复信号掩码恢复逻辑并优化pselect6实现#1531

Merged
fslongjin merged 1 commit intoDragonOS-Community:masterfrom
fslongjin:fix-sys-pselect
Dec 22, 2025
Merged

fix(poll): 修复信号掩码恢复逻辑并优化pselect6实现#1531
fslongjin merged 1 commit intoDragonOS-Community:masterfrom
fslongjin:fix-sys-pselect

Conversation

@fslongjin
Copy link
Member

  • 修复poll_select_finish中信号掩码恢复逻辑,避免在ERESTARTSYS时错误恢复
  • 重构pselect6系统调用,正确处理sigmask参数和timeout验证
  • 移除poll_select_finish中零超时提前返回的逻辑
  • 为PosixTimeSpec添加as_millis方法
  • 将select相关测试加入白名单

- 修复poll_select_finish中信号掩码恢复逻辑,避免在ERESTARTSYS时错误恢复
- 重构pselect6系统调用,正确处理sigmask参数和timeout验证
- 移除poll_select_finish中零超时提前返回的逻辑
- 为PosixTimeSpec添加as_millis方法
- 将select相关测试加入白名单

Signed-off-by: longjin <longjin@DragonOS.org>
@github-actions github-actions bot added the Bug fix A bug is fixed in this pull request label Dec 22, 2025
@fslongjin fslongjin merged commit b6e9086 into DragonOS-Community:master Dec 22, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug fix A bug is fixed in this pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant