mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-25 05:53:22 +00:00
添加socketpair (#505)
* 添加对socketpair系统调用的处理 --------- Co-authored-by: LoGin <longjin@DragonOS.org>
This commit is contained in:
@ -27,7 +27,7 @@ pub struct PipeFsPrivateData {
|
||||
|
||||
impl PipeFsPrivateData {
|
||||
pub fn new(mode: FileMode) -> Self {
|
||||
return PipeFsPrivateData { mode: mode };
|
||||
return PipeFsPrivateData { mode };
|
||||
}
|
||||
|
||||
pub fn set_mode(&mut self, mode: FileMode) {
|
||||
|
Reference in New Issue
Block a user