-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Patch socketpair #572
Patch socketpair #572
Conversation
- 添加File端点 - 添加SocketPair trait并将Socket trait中的pair相关方法移动 - 添加对SockAddrUn的处理
- 将File端点换成Inode端点 - 尝试使用SocketInode进行socketpair(未成功)
目前会在 |
这个问题跟之前那个socketpair的pr的可能类似,我当时好像是 |
现在还需要修改SeqPacket的buffer类型,可以先把现在的修改review一遍 |
@@ -612,7 +612,7 @@ impl FileDescriptorVec { | |||
if !FileDescriptorVec::validate_fd(fd) { | |||
return None; | |||
} | |||
return self.fds[fd as usize].clone(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
对于长函数,请保留return 关键字,不要删掉。
不要总是把代码在文件之间移动。这会导致git历史管理混乱。 请把他改回来。 |
No description provided.