Skip to content

feat(filesystem): 新增preadv2系统调用支持#1451

Merged
fslongjin merged 2 commits intoDragonOS-Community:masterfrom
fslongjin:feat-sys-preadv2
Dec 9, 2025
Merged

feat(filesystem): 新增preadv2系统调用支持#1451
fslongjin merged 2 commits intoDragonOS-Community:masterfrom
fslongjin:feat-sys-preadv2

Conversation

@fslongjin
Copy link
Member

  • 实现preadv2系统调用,支持带偏移量和标志位的向量化读取
  • 处理offset为-1时使用当前文件偏移量,其他情况复用preadv逻辑
  • 添加RWF标志位验证,遵循Linux兼容性要求

- 实现preadv2系统调用,支持带偏移量和标志位的向量化读取
- 处理offset为-1时使用当前文件偏移量,其他情况复用preadv逻辑
- 添加RWF标志位验证,遵循Linux兼容性要求

Signed-off-by: longjin <longjin@DragonOS.org>
…related functions

- Simplified the do_sys_open and do_open functions by removing the follow_symlink parameter.
- Updated all calls to these functions to reflect the change, ensuring that symlink following behavior is determined by the O_NOFOLLOW flag in the file flags.
- Enhanced code readability and maintainability by streamlining function signatures.

Signed-off-by: longjin <longjin@DragonOS.org>
@github-actions github-actions bot added the enhancement New feature or request label Dec 9, 2025
@fslongjin fslongjin merged commit d044801 into DragonOS-Community:master Dec 9, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant