Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(net): 实现unix抽象地址空间 #1017

Merged

Conversation

smallcjy
Copy link
Contributor

unix抽象地址空间

原理:unix抽象地址表示为5位十六进制数,使用id分配器进行管理,负责分配、查找、删除。将分配的id抽象为AbsHandle作为unix inode的索引。用户使用抽象地址空间绑定时,分配抽象地址并与传进来的path建立映射,将抽象地址与inode建立映射,供connect等调用进行inode查找。

  • 实现unix抽象地址空间
  • 适配unix stream sock 和 unix seqpacket sock
  • abs资源释放
  • 更新unix stream sock的测试程序,测试抽象地址的使用及资源释放

@dragonosbot
Copy link

@smallcjy: no appropriate reviewer found, use r? to override

@dragonosbot

This comment has been minimized.

@dragonosbot dragonosbot added the S-等待审查 Status: 等待assignee以及相关方的审查。 label Oct 28, 2024
@github-actions github-actions bot added the enhancement New feature or request label Oct 28, 2024
@smallcjy
Copy link
Contributor Author

@Samuka007 review

@fslongjin
Copy link
Member

@Samuka007 review

哈哈,机器人的话可以这样调用,就会自动分配给对应的人

@dragonosbot r? @Samuka007

@Samuka007 Samuka007 added Done A-network Area: 网络子系统 and removed S-等待审查 Status: 等待assignee以及相关方的审查。 labels Oct 28, 2024
@Samuka007 Samuka007 merged commit fad1c09 into DragonOS-Community:feat-network-rebuild Oct 28, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-network Area: 网络子系统 Done enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants